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 31671 - NPE when switching to or from a project containing a Web Centric Web Service
Summary: NPE when switching to or from a project containing a Web Centric Web Service
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: -S1S-
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-05 01:36 UTC by John Baker
Modified: 2003-03-08 02:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Create new fs containing package, yodocamera_ws; Web Module yodocamera_wm can be mounted on its own. (4.79 MB, application/octet-stream)
2003-03-05 02:11 UTC, John Baker
Details
exc stack trace (799 bytes, text/plain)
2003-03-05 16:29 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2003-03-05 01:36:59 UTC
Using kit 030302 JDK 1.4.0_03 , Windows 2000

I've seen related bugs entered, but I think the
exception
is different.

First I created a new project and mounted some Web
Module filesystems.
Next, created another new project. Project opens,
but exception occurs:

java.lang.NullPointerException 	at
org.openide.nodes.FilterNode$FilterLookup.checkNode(FilterNode.java:1291)
	at
org.openide.nodes.FilterNode.changeOriginal(FilterNode.java:330)
	at
org.netbeans.modules.projects.CurrentProjectNode.access$101(CurrentProjectNode.java:52)
[catch] at
org.netbeans.modules.projects.CurrentProjectNode$1.run(CurrentProjectNode.java:102)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Comment 1 John Baker 2003-03-05 01:53:33 UTC
Actually, I couldn't reproduce using qbuild and a normal Web Module.

However, using Studio, if the Web Module contains Web Services jsps,
sources, xms files then the exception occurs.
Comment 2 John Baker 2003-03-05 02:11:18 UTC
Created attachment 9265 [details]
Create new fs containing package, yodocamera_ws;  Web Module yodocamera_wm can be mounted on its own.
Comment 3 Milan Kubec 2003-03-05 16:28:23 UTC
I tried to reproduce it with no success. I started Nevada 030304 with
clean userdir. Then I mounted unzipped yodocamera_ws folder, created
another project, opened it and nothing happened after opening the
first project again nothing happened. BUT after mounting yodocamera_wm
folder I got exception (different) right away, see attachment. Please
provide exact steps how to reproduce. Thanks.
Comment 4 Milan Kubec 2003-03-05 16:29:23 UTC
Created attachment 9281 [details]
exc stack trace
Comment 5 Vitezslav Stejskal 2003-03-05 16:56:39 UTC
Milane, the exception you got should be fixed now (it was reported in
another issue today).
Comment 6 John Baker 2003-03-06 04:32:03 UTC
Using Studio kit 030304_1, I don't see that exception from kit
030302  - I see the same exception as what Milan found.
I'll try again in the next kit to see if this goes away.


nnotation: Exception occurred in Request Processor

java.lang.NoClassDefFoundError:
org/netbeans/modules/projects/CurrentProjectNode

	at
org.netbeans.modules.web.context.WebContextObject.projectFolder(WebContextObject.java:151)

	at
org.netbeans.modules.web.context.WebContextObject.projectView(WebContextObject.java:314)

	at
org.netbeans.modules.web.context.WebContextObject.access$400(WebContextObject.java:91)

	at
org.netbeans.modules.web.context.WebContextObject$2.run(WebContextObject.java:266)

	at org.openide.util.Task.run(Task.java:136)

	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)

[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:668)
Comment 7 Vitezslav Stejskal 2003-03-07 11:08:08 UTC
I've tried this again with Nevada build 20030307-0112 and the
exception is gone.
Comment 8 Milan Kubec 2003-03-07 13:02:30 UTC
John, could you verify this issue. Thanks.
Comment 9 John Baker 2003-03-08 02:33:37 UTC
Yes, this has been fixed, marking as verified.
Used kit 030306
Comment 10 John Baker 2003-03-08 02:33:59 UTC
Closing - fixed.