This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 148249 - NullPointerException at org.openoffice.extensions.config.office.WinLocator.locateOfficePaths
Summary: NullPointerException at org.openoffice.extensions.config.office.WinLocator.lo...
Status: RESOLVED WORKSFORME
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Beta (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: srg
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 15:30 UTC by global667
Modified: 2009-03-25 13:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 111043


Attachments
stacktrace (1.78 KB, text/plain)
2008-09-24 15:30 UTC, global667
Details
OpenOffice.org settings (32.20 KB, image/png)
2008-10-11 07:30 UTC, piper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description global667 2008-09-24 15:30:53 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.openoffice.extensions.config.office.WinLocator.locateOfficePaths(WinLocator.java:123)
        at org.openoffice.extensions.config.office.PlatformLocator.<init>(PlatformLocator.java:85)
        at org.openoffice.extensions.config.office.WinLocator.<init>(WinLocator.java:54)
        at org.openoffice.extensions.config.office.OpenOfficeLocation.createPlatformLocator(OpenOfficeLocation.java:78)
        at org.openoffice.extensions.config.office.OpenOfficeLocation.<init>(OpenOfficeLocation.java:95)
        at org.openoffice.extensions.config.office.OpenOfficeLocation.getOpenOfficeLocation(OpenOfficeLocation.java:64)
Comment 1 global667 2008-09-24 15:30:59 UTC
Created attachment 70485 [details]
stacktrace
Comment 2 global667 2008-09-24 16:11:54 UTC
Thought was fixed while reading plugin comments for openoffice extension. Used OO 3.0 and OOSDK 3.0 with NB 6.5. 6.1
brings same result...
Comment 3 piper 2008-09-27 08:32:49 UTC
Where's the fix, please?

Using SDK 2.4 with OpenOffice 3.0 and Netbeans 6.1 is not working.
Comment 4 Tomas Danek 2008-09-29 16:34:11 UTC
please reassign further..
Comment 5 Jiri Kovalsky 2008-10-01 22:04:50 UTC
Juergen, can you please take a look at this problem? Thanks a lot!
Comment 6 juergenschmidt 2008-10-01 22:14:14 UTC
Steffen can you take a look on it
Comment 7 srg 2008-10-02 09:25:03 UTC
Acceprted. May take some time to reproduce, though.
Comment 8 piper 2008-10-11 07:30:37 UTC
Created attachment 71596 [details]
OpenOffice.org settings
Comment 9 srg 2008-10-15 10:18:39 UTC
@piper: your problem has nothing to do with the original bug. Your SDK is too old for an OpenOffice.org 3.0.
Please download the correct SDK (3.0.0 RC4) from one of the mirrors:

http://distribution.openoffice.org/mirrors/

Look in section contrib/rc/3.0.0rc4/

HTH, Steffen
Comment 10 srg 2008-10-15 10:27:21 UTC
@global667: I have difficulties to reproduce this behavior. I have fixed the np (by catching it, always a good idea :-),
but I would guess from your description that your office installation is corrupt. Can you use the Office otherwise
without problems? If yes, can you look in "Help - About OpenOffice.org" for the exact build number?
Comment 11 srg 2009-03-25 13:17:11 UTC
Cannot reproduce and did not get an answer.