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 113930 - InvocationTargetException occurs when select to test a client operation
Summary: InvocationTargetException occurs when select to test a client operation
Status: RESOLVED DUPLICATE of bug 87181
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-RPC (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 00:53 UTC by davisn
Modified: 2007-08-28 09:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (43.01 KB, application/octet-stream)
2007-08-28 00:53 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2007-08-28 00:53:11 UTC
-InvocationTargetException occurs when click to Test Operation of an IDE Generated Static stub client IEPort service

STEPS TO REPRODUCE:
1. Install Netbean nightly 08/27/2008 build with Glassfish V2 server
2. Create a J2EE 1.4 Web Module Project
3. Create a Web Service to the recently created 1.4 Web Module Project
4. Add an operation
5. Deploy the Web Module project
6. Add a Web Service client by selecting the Project Web Service (client type: IDE-generated static stub)
7. Extend the Web Service References node up to the operation method > right-click at the operation and select Test
Operation menu > click Submit
BUG:
     -Exception  message appears as described in the following message 
     -If the operation can execute with non JSR109 compliance application, the exception should be handled gracefully
------------------

InvocationTargetException
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:518)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:444)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:70)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:387)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) 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:597)
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:512)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:444)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:70)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:387)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) Next Exception Layer
com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl cannot be cast to
com.sun.xml.messaging.saaj.soap.MessageImpl com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231)
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324)
webservice.TestWebServiceSEI_Stub.displayMessage(TestWebServiceSEI_Stub.java:69)
webservice.TestWebServiceClient.testwebserviceseiportDisplayMessage(TestWebServiceClient.java:22)
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:597)
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:512)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:444)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:70)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:387)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 davisn 2007-08-28 00:53:31 UTC
Created attachment 47546 [details]
messages.log
Comment 2 Lukas Jungmann 2007-08-28 09:01:12 UTC

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