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 51013 - Web service test gives InvocationTargetException
Summary: Web service test gives InvocationTargetException
Status: VERIFIED DUPLICATE of bug 51037
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: issues@webservices
URL: http://www.netbeans.org/kb/articles/q...
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 06:36 UTC by johnzoet
Modified: 2006-06-03 17:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (169.42 KB, text/plain)
2004-11-01 06:37 UTC, johnzoet
Details
ConverterWS.wsdl generated for web service (1.41 KB, text/plain)
2004-11-01 06:51 UTC, johnzoet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnzoet 2004-11-01 06:36:09 UTC
When I test the web service at 
http://www.netbeans.org/kb/articles/quickstart-j2ee-41.html#web_service 
I get this error: 
==> 
InvocationTargetException 
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:437) 
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:420) 
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$50 
(TestWebServiceMethodDlg.java:60) 
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:363) 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) 
java.awt.EventQueue.dispatchEvent(EventQueue.java:461) 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) 
java.awt.EventDispatchThread.run(EventDispatchThread.java:110) 
Next 
Exception Layer null 
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native 
Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
java.lang.reflect.Method.invoke(Method.java:585) 
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:431) 
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:420) 
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$50 
(TestWebServiceMethodDlg.java:60) 
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$4.run(TestWebServiceMethodDlg.java:363) 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) 
java.awt.EventQueue.dispatchEvent(EventQueue.java:461) 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) 
java.awt.EventDispatchThread.run(EventDispatchThread.java:110) 
Next 
Exception Layer null 
sun.reflect.NativeConstructorAccessorImpl.newInstance 
(Native Method) 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 
java.lang.reflect.Constructor.newInstance(Constructor.java:494) 
java.lang.Class.newInstance0(Class.java:350) 
java.lang.Class.newInstance(Class.java:303) 
javax.xml.soap.FactoryFinder.newInstance(Unknown 
Source) 
javax.xml.soap.FactoryFinder.find(Unknown 
Source) 
javax.xml.soap.MessageFactory.newInstance(Unknown 
Source) 
com.sun.xml.rpc.soap.message.SOAPMessageContext.getMessageFactory(SOAPMessageContext.java:182) 
com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessageContext.java:121) 
com.sun.xml.rpc.client.StreamingSenderState. 
(StreamingSenderState.java:28 
==> 
 
Getting WSDL from 
http://localhost:8080/ConverterWS/ConverterWS?wsdl 
fails as well: XML parsing error 
 
Probably these issues are related.
Comment 1 johnzoet 2004-11-01 06:37:40 UTC
Created attachment 18627 [details]
messages.log
Comment 2 johnzoet 2004-11-01 06:51:20 UTC
Created attachment 18628 [details]
ConverterWS.wsdl generated for web service
Comment 3 johnzoet 2004-11-01 10:12:23 UTC
Petr Blaha wrote: 
 
> Hi, 
> please, send full stack trace. I looked through this trace and 
seems 
> like error which was reported by other user with Linux mandrake. 
>  
> For him helped this: 
> netbeans --cp 
> ${APPS_HOME}/lib/saaj-apis.jar:${APPS_HOME}/lib/saaj-impl.jar 
>  
> Can you tell me anything more 
> about your installation?  In particular: 
> Which apserver build, OS 
>  
> Petr 
 
Bingo ! 
This solved the problem. 
I have: 
Mandrake 10.0. 
CPU: AMD64 3400+ 
JDK1.5.0 
 
Can you explain why this is working ? 
 
--  
John Zoetebier 
Web site: http://www.transparent.co.nz 
 
Comment 4 Jaromir Uhrik 2004-11-01 16:37:23 UTC
Reassign to websvc module.
Comment 5 Petr Blaha 2004-11-01 17:26:50 UTC

*** This issue has been marked as a duplicate of 51037 ***
Comment 6 _ pcw 2004-11-02 04:03:21 UTC
John, this issue has not been investigated yet so while we have a
work-around for you, we don't know why it failed on Mandrake.  If
you're interested, any followups will be posted to 51037
Comment 7 Lukas Jungmann 2005-02-16 17:05:25 UTC
v. 200502151900