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 9482 - NPE in RequestProcessor if there are some classfiles in mounted FS
Summary: NPE in RequestProcessor if there are some classfiles in mounted FS
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-08 08:17 UTC by _ ttran
Modified: 2003-06-30 16:44 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 _ ttran 2001-02-08 08:17:40 UTC
You need not to do anything, just run the ide with some mounted FS containing
.class files.  Please fix asap, this blocks my works.  This is the stack trace.

Thu Feb 08 09:12:59 CET 2001java.lang.NullPointerException: null
Annotation: Exception occurred in Request Processor
org.openide.util.RequestProcessor$Holder(task
org.netbeans.modules.apisupport.ShowAPIJavadocAction$1@72afad [-9, 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:83)
	at org.openide.util.RequestProcessor.postRequest(RequestProcessor.java:169)
	at
org.netbeans.modules.apisupport.ShowAPIJavadocAction.enable(ShowAPIJavadocAction.java:77)
	at org.openide.util.actions.NodeAction$NodesL.checkEnabled(NodeAction.java:248)
	at org.openide.util.actions.NodeAction$NodesL.run(NodeAction.java:203)
	at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)

Thu Feb 08 09:12:59 CET 2001java.lang.NullPointerException: null
java.lang.NullPointerException
	at org.netbeans.modules.clazz.MemberElementImpl.getCookie(MemberElementImpl.java:96)
	at org.openide.src.Element.<init>(Element.java:53)
	at org.openide.src.MemberElement.<init>(MemberElement.java:36)
	at org.openide.src.ClassElement.<init>(ClassElement.java:98)
	at org.openide.src.ClassElement.<init>(ClassElement.java:89)
	at org.netbeans.modules.clazz.ClassModule.find(ClassModule.java:37)
	at org.openide.src.ClassElement.forClass(ClassElement.java:1073)
	at
org.netbeans.modules.apisupport.ShowAPIJavadocAction.findClass(ShowAPIJavadocAction.java:157)
	at
org.netbeans.modules.apisupport.ShowAPIJavadocAction.access$200(ShowAPIJavadocAction.java:33)
	at
org.netbeans.modules.apisupport.ShowAPIJavadocAction$1.run(ShowAPIJavadocAction.java:83)
	at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)
Comment 1 Svata Dedic 2001-02-08 08:28:59 UTC
Reassigning to Clazz
Comment 2 Svata Dedic 2001-02-08 08:47:59 UTC
Fixed in org.openide.src.Element -- query for extension interfaces is not done
by calling getCookie() which may be seen as premature request for service.
Comment 3 Jan Becicka 2001-02-08 14:32:59 UTC
*** Bug 9496 has been marked as a duplicate of this bug. ***
Comment 4 Jan Becicka 2001-02-12 14:03:59 UTC
[dev-124] Verified
Comment 5 Quality Engineering 2003-06-30 16:44:07 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.