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 139746 - Nullpointer Exception when openoffice plugin is installed
Summary: Nullpointer Exception when openoffice plugin is installed
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 6.x
Hardware: All Windows ME/2000
: P3 blocker (vote)
Assignee: srg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-11 15:41 UTC by pkossing
Modified: 2009-11-07 11:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pkossing 2008-07-11 15:41:25 UTC
Dear all, I get the following NullPointer Exception if the openoffice plugin is installed and I try to right mouse click
on a project to show the context menu. It was working fine with netbeans 6.0. If I uninstall the plugin everything is
fine again.

Brgds,

Peter

SCHWERWIEGEND [global]
java.lang.NullPointerException
        at org.openoffice.extensions.util.ProjectTypeHelper.getObjectFromUnoProperties(ProjectTypeHelper.java:77)
        at org.openoffice.extensions.util.ProjectTypeHelper.isExtensionProject(ProjectTypeHelper.java:58)
        at org.openoffice.extensions.util.ProjectTypeHelper.isExtensionProject(ProjectTypeHelper.java:53)
        at org.openoffice.extensions.projecttemplates.actions.DebugAction.enable(DebugAction.java:80)
        at org.openoffice.extensions.projecttemplates.actions.DebugAction.access$000(DebugAction.java:66)
        at org.openoffice.extensions.projecttemplates.actions.DebugAction$ContextAction.<init>(DebugAction.java:149)
        at org.openoffice.extensions.projecttemplates.actions.DebugAction.createContextAwareInstance(DebugAction.java:74)
        at org.openide.util.Utilities.actionsToPopup(Utilities.java:2662)
        at org.openide.util.Utilities.actionsToPopup(Utilities.java:2754)
        at org.openide.explorer.view.TreeView.createPopup(TreeView.java:918)
        at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1376)
        at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:182)
        at org.openide.awt.MouseUtils$PopupMouseAdapter.mouseReleased(MouseUtils.java:177)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6038)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 juergenschmidt 2008-07-12 09:58:58 UTC
it's a known problem and i think it's already fixed in version 1.1.3. I expect that version next week. I will check it. 
Comment 2 srg 2008-07-14 08:09:50 UTC
Fixed with plugin version 1.1.3.