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 271245 - NullPointerException at org.netbeans.api.java.source.ElementHandle.resolve
Summary: NullPointerException at org.netbeans.api.java.source.ElementHandle.resolve
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-07 21:23 UTC by java1cprog
Modified: 2017-11-22 20:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229528


Attachments
stacktrace (2.54 KB, text/plain)
2017-08-07 21:23 UTC, java1cprog
Details
stacktrace (2.54 KB, text/plain)
2017-09-21 19:23 UTC, alied
Details
stacktrace (2.54 KB, text/plain)
2017-11-14 18:19 UTC, alied
Details
stacktrace (2.54 KB, text/plain)
2017-11-22 10:05 UTC, Alexander Simon
Details
stacktrace (2.44 KB, text/plain)
2017-11-22 13:59 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description java1cprog 2017-08-07 21:23:14 UTC
Build: NetBeans IDE Dev (Build 201708010001)
VM: Java HotSpot(TM) 64-Bit Server VM, 9+181, Java(TM) SE Runtime Environment, 9+181
OS: Windows 7

User Comments:
java1cprog: \

java1cprog: Observing rt.jar source code.

java1cprog: Exploring a librarary classes by Navigator

GUEST: ??jar?

java1cprog: Observing a rt.jar source code

lhochet: viewing a decompiled class?

GUEST: Working with Java-Code




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.ElementHandle.resolve(ElementHandle.java:141)
   at org.netbeans.modules.java.navigation.ClassMemberPanelUI$JavaDocCalculator.run(ClassMemberPanelUI.java:617)
   at org.netbeans.modules.java.navigation.ClassMemberPanelUI$JavaDocCalculator.run(ClassMemberPanelUI.java:599)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:523)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
Comment 1 java1cprog 2017-08-07 21:23:16 UTC
Created attachment 164912 [details]
stacktrace
Comment 2 alied 2017-09-21 19:23:34 UTC
Created attachment 165157 [details]
stacktrace

opened a .class file from the dependency node of a project
Comment 3 alied 2017-11-14 18:19:25 UTC
Created attachment 165446 [details]
stacktrace

inspecting a class from a dependency in the navigator panel
Comment 4 Exceptions Reporter 2017-11-14 18:19:29 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229528
Comment 5 Alexander Simon 2017-11-22 10:05:16 UTC
Created attachment 165483 [details]
stacktrace

vew library class
Comment 6 alied 2017-11-22 13:59:18 UTC
Created attachment 165486 [details]
stacktrace

showing the javadoc tooltip for a read-only class in the Navigation pane