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 70273 - NPE after Call EJB in websvc
Summary: NPE after Call EJB in websvc
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-12-12 15:14 UTC by Lukas Jungmann
Modified: 2006-01-24 13:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (15.33 KB, text/plain)
2005-12-12 15:15 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2005-12-12 15:14:13 UTC
[from build 200512010944]

-have enterprise app with ejb and web module
-call local session bean from websvc in web module

=> NPE
Comment 1 Lukas Jungmann 2005-12-12 15:15:04 UTC
Created attachment 27748 [details]
ide log
Comment 2 Martin Adamek 2005-12-13 17:07:40 UTC
Fixed. Just checking if null is passed to JMIUtils.openInEditor(). Other problem
is, why it is happening. Anyway, only problem will be not selected element in
editor.
/cvs/j2ee/utilities/src/org/netbeans/modules/j2ee/common/JMIUtils.java,v  <-- 
JMIUtils.java; new revision: 1.29; previous revision: 1.28
Comment 3 Lukas Jungmann 2005-12-15 15:11:48 UTC
The exception is still there, the only change in stacktrace is the line number
in JMIUtils:

...
at org.netbeans.modules.j2ee.common.JMIUtils$1.run(JMIUtils.java:327)
...
Comment 4 Martin Adamek 2005-12-16 09:54:19 UTC
Line number in JMIUtils is still the same - 327. It is not possible to have NPE
on line 327 in current implementation. Maybe you used old build somehow?
Comment 5 Lukas Jungmann 2005-12-16 11:31:11 UTC
yes, old build - i updated sources but forgot to rebuild the IDE :(. Turning
back to fixed...
Comment 6 Lukas Jungmann 2005-12-16 11:32:40 UTC
and also verified in trunk
Comment 7 Martin Adamek 2005-12-19 17:12:30 UTC
Fixed in release50 branch.
/cvs/j2ee/utilities/src/org/netbeans/modules/j2ee/common/JMIUtils.java,v  <-- 
JMIUtils.java; new revision: 1.28.2.1; previous revision: 1.28
Comment 8 Lukas Jungmann 2005-12-21 14:47:17 UTC
v.