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 107039 - NPE when Call ws op in EJB module
Summary: NPE when Call ws op in EJB module
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on: 101395
Blocks:
  Show dependency tree
 
Reported: 2007-06-18 16:12 UTC by Jaroslav Pospisil
Modified: 2007-07-11 14:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (115.45 KB, text/plain)
2007-06-18 16:14 UTC, Jaroslav Pospisil
Details
screenshot (113.75 KB, image/png)
2007-06-18 16:15 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2007-06-18 16:12:30 UTC
Build 200706180000 - full,JDK1.6.0_02,Windows Vista

When you invoke Call web service operation in session bean in EJB module,
NPE will appear and added code in session bean has errors.
Attaching messages.log and screenshot of sb in editor.
Comment 1 Jaroslav Pospisil 2007-06-18 16:14:43 UTC
Created attachment 43895 [details]
messages.log
Comment 2 Jaroslav Pospisil 2007-06-18 16:15:15 UTC
Created attachment 43896 [details]
screenshot
Comment 3 Jaroslav Pospisil 2007-06-18 16:19:22 UTC
Clarification: 
NPE appears after you finish Call Web service Operation dialog (so this EJB module must contain web service client, of
course. Mentioned issue is the last one in messages.log .
Comment 4 Milan Kuchtiak 2007-06-19 10:32:31 UTC
Looks like a problem in Retouche.
Comment 5 Milan Kuchtiak 2007-06-20 10:40:08 UTC
The issue depends on issue 101395.
Seems that the workaround suggested in the mentioned issue didn't help.
Comment 6 Milan Kuchtiak 2007-06-22 16:55:19 UTC
The 101391 fix helped.
Please test this also in Windows Vista.

When using Drag&Drop I still have an exception:

java.lang.NullPointerException
	at sun.awt.X11.XSelection.checkChange(XSelection.java:749)
	at sun.awt.X11.XSelection.access$200(XSelection.java:30)
	at sun.awt.X11.XSelection$SelectionEventHandler.dispatchEvent(XSelection.java:758)
	at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:482)
	at sun.awt.X11.XToolkit.run(XToolkit.java:626)
	at sun.awt.X11.XToolkit.run(XToolkit.java:560)
[catch] at java.lang.Thread.run(Thread.java:619)

Anyway, this must be reported as another bug.
Comment 7 Lukas Jungmann 2007-06-22 16:58:56 UTC
java.lang.NullPointerException
	at sun.awt.X11.XSelection.checkChange(XSelection.java:749)
	at sun.awt.X11.XSelection.access$200(XSelection.java:30)
...

is a bug in JDK 6 (already fixed in JDK 6 u1), already reported somewhere in issuezilla (sorry, I don't have issue
number by hand)
Comment 8 Milan Kuchtiak 2007-06-22 17:06:00 UTC
Yes, I found it - see issue 82142. 
(already fixed in JDK 7 & JDK 6 u2)
Comment 9 Jaroslav Pospisil 2007-07-11 14:29:21 UTC
VERIFIED