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 94888

Summary: UTE when click on any node inside web project
Product: javaee Reporter: Jan Horvath <jhorvath>
Component: CodeAssignee: Martin Adamek <madamek>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jpospisil
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 94383    
Attachments: UTE
messages.log

Description Jan Horvath 2007-02-07 20:13:32 UTC
build 200702061900

-work with web project for about 2 hours
-click on any node inside web project in the project tab
-EXCEPTION: java.lang.reflect.UndeclaredThrowableException
	at $Proxy7.resultChanged(Unknown Source)
	at org.openide.util.lookup.ProxyLookup.setLookups(ProxyLookup.java:170)
...
...
Caused by: java.lang.NullPointerException
	at org.netbeans.modules.j2ee.ejbcore.Utils.getJavaClassFromNode(Utils.java:458)
	at
org.netbeans.modules.j2ee.ejbcore.ui.logicalview.entres.UseDatabaseAction.enable(UseDatabaseAction.java:125)
	at
org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:589)
	... 60 more
Comment 1 Jan Horvath 2007-02-07 20:14:09 UTC
Created attachment 38195 [details]
UTE
Comment 2 Petr Pisl 2007-02-08 08:46:41 UTC
Reassining to Martin. The exception is going from ejbcore
Comment 3 Jaroslav Pospisil 2007-02-12 08:58:27 UTC
I just experienced something similar in WinXp. Second web project on Glassfish
v2 I created was created successfuly,but exception appeared - similar, but not
exactly the same.Attaching messages.log.
Comment 4 Jaroslav Pospisil 2007-02-12 09:00:17 UTC
Created attachment 38338 [details]
messages.log
Comment 5 Martin Adamek 2007-02-12 10:31:57 UTC
Already fixed.

*** This issue has been marked as a duplicate of 94988 ***