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 9376 - Invoking "Tools->Generate Javadoc" causes NullPointerException
Summary: Invoking "Tools->Generate Javadoc" causes NullPointerException
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-02 22:21 UTC by twolf
Modified: 2003-10-29 13:07 UTC (History)
1 user (show)

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 twolf 2001-02-02 22:21:38 UTC
I have a project in the IDE.  When I do the above, I get a NullPointerException
and the attached Stack trace.  Similarly, if I try to do a "Tools->Show
Javadoc", I get a dialog box "Exception during initialization of HTML browser
module" followed with another dialog giving me a similar stack trace as the
one attached.

I admit to not having read anything about how javadocs are to be generated
and some of my source files have only minimal javadoc comments (some of them
none), but I shouldn't see a NullPointerException.

I'm running the developer build 116, but I think the same happened in the
previous build I was running - 113.

Fri Feb 02 17:11:05 CST 2001java.lang.NullPointerException: null
Annotation: Exception occurred in Request Processor
org.openide.util.RequestProcessor$Holder(task
org.netbeans.core.ModuleActions$1@4d8e77 [-2724, 1])
        at
org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:275)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:99)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:72)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:65)
        at org.openide.awt.Actions$ButtonBridge.actionPerformed(Actions.java:298)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
[catch] at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:886)
        at java.awt.Component.processMouseEvent(Component.java:3717)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

Fri Feb 02 17:11:05 CST 2001java.lang.NullPointerException: null
java.lang.NullPointerException
        at
org.netbeans.modules.javadoc.GenerateDocAction.performAction(GenerateDocAction.java:69)
        at org.openide.util.actions.NodeAction.performAction(NodeAction.java:92)
        at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:83)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:67)
        at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)
Comment 1 Petr Suchomel 2001-02-03 14:36:59 UTC
Bug resolved, problem could occure if old project was copied into netbeans. Now
it can not happen.
Comment 2 dmladek 2001-02-06 21:01:59 UTC
*** Bug 9392 has been marked as a duplicate of this bug. ***
Comment 3 dmladek 2001-02-06 21:08:59 UTC
verified on [Build-010203CE]
Comment 4 Quality Engineering 2003-07-01 13:35:40 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.