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 198403 - NullPointerException at com.sun.tools.javadoc.ProgramElementDocImpl.containingPackage
Summary: NullPointerException at com.sun.tools.javadoc.ProgramElementDocImpl.containin...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 17:07 UTC by armandojaga
Modified: 2011-05-11 19:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 58354


Attachments
stacktrace (1.50 KB, text/plain)
2011-05-06 17:07 UTC, armandojaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description armandojaga 2011-05-06 17:07:10 UTC
Build: NetBeans Platform 7.0 (Build 201104211303)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javadoc.ProgramElementDocImpl.containingPackage(ProgramElementDocImpl.java:118)
   at org.netbeans.api.java.source.ui.ElementJavadoc.getContainingClassOrPackageHeader(ElementJavadoc.java:678)
   at org.netbeans.api.java.source.ui.ElementJavadoc.prepareContent(ElementJavadoc.java:406)
   at org.netbeans.api.java.source.ui.ElementJavadoc.<init>(ElementJavadoc.java:310)
   at org.netbeans.api.java.source.ui.ElementJavadoc.create(ElementJavadoc.java:149)
   at org.netbeans.api.java.source.ui.ElementJavadoc.create(ElementJavadoc.java:135)
Comment 1 armandojaga 2011-05-06 17:07:14 UTC
Created attachment 108155 [details]
stacktrace
Comment 2 Dusan Balek 2011-05-06 18:03:38 UTC
Do you have a reproducible test case?
Comment 3 Dusan Balek 2011-05-10 15:31:52 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/3b54df25383b
Comment 4 Quality Engineering 2011-05-11 19:40:22 UTC
Integrated into 'main-golden', will be available in build *201105111436* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3b54df25383b
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #198403: NullPointerException at com.sun.tools.javadoc.ProgramElementDocImpl.containingPackage - fixed.