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 137404

Summary: NPE from org.openoffice.extensions.util.ProjectTypeHelper
Product: updatecenters Reporter: Milan Kubec <mkubec>
Component: BetaAssignee: srg <srg>
Status: CLOSED FIXED    
Severity: blocker CC: ckutler
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Milan Kubec 2008-06-17 10:08:41 UTC
NullPointerException is thrown during opening a project. This issue has many duplicates.

For more details see issues:
http://www.netbeans.org/issues/show_bug.cgi?id=135550
http://www.netbeans.org/issues/show_bug.cgi?id=103644

(Stack trace is taken from UI Gesture collector XML file) 

<exception>
    <message>java.lang.NullPointerException</message>
    <frame>
        <class>org.openoffice.extensions.util.ProjectTypeHelper</class>
        <method>getObjectFromUnoProperties</method>
        <line>77</line>
        <file/>
    </frame>
    <frame>
        <class>org.openoffice.extensions.util.ProjectTypeHelper</class>
        <method>isExtensionProject</method>
        <line>58</line>
        <file/>
    </frame>
    <frame>
	<class>org.openoffice.extensions.projecttemplates.actions.OOoProjectHook</class>
        <method>projectOpened</method>
        <line>63</line>
        <file/>
    </frame>
    <frame>
        <class>org.netbeans.spi.project.ui.ProjectOpenedHook$1</class>
        <method>projectOpened</method>
        <line>81</line>
        <file/>
    </frame>
    <frame>
	<class>org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl</class>
        <method>projectOpened</method>
        <line>198</line>
        <file/>
    </frame>
</exception>
Comment 1 Jiri Kovalsky 2008-06-17 14:21:49 UTC
Juergen, can you please look at this issue? Thanks a lot!
Comment 2 juergenschmidt 2008-06-17 15:06:10 UTC
Steffen already knows this issue and will take of it.
Comment 3 rnovak 2009-01-09 16:23:03 UTC
Seems like it was fixed for the newer version of NB. Could you, close the issue ?
Comment 4 srg 2009-01-12 06:51:06 UTC
Fixed with version 1.1.4 of the plugin.
Comment 5 srg 2009-01-12 06:51:29 UTC
Close issue.