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.
[build 200504131930] - open attached projects - build all parts of them - register websvc from Math-EJB module - invoke test operation on it (in runtime tab) - expand ComplexNumber node in Test Operation dialog, write some number (int) to one of the opened fields and press enter => ClassNotFoundException
Created attachment 21654 [details] projects
Created attachment 21655 [details] messages.log
Code was never written to properly handle native types (e.g. int, float, etc.).
Same problem occurs for arrays of simple types. I'm crafting a solution now.
Fixed & Integrated. Both primitive types and arrays of primitive types inside complex types should work now.
Created attachment 21665 [details] diffs for this fix.
Created attachment 21666 [details] Test service with complex type containing each primitive type supported by JAXRPC plus some arrays.
Diff is ok.
Fix is ok for my sample, but for Peter's one i'm getting exception again in cont. build 20050415-0914
Created attachment 21670 [details] messages.log
I'm getting this exception in sendBasket operation, showBasket operation works fine. My steps: -download & open project -build & run project -register websvc -test its operations If i'm doing something wrong with your sample, consider this as verified.
I wrote sendBasket as a way to check for issues in the results windows. But I guess I didn't test it after fixing the problems in enter window. This is a related bug, in a different area. The results view does not handle arrays of native types.
Ok, I have a simple fix that safely eliminates the exception. It does not, however, allow expansion and browsing of the native array -- I'm still working on this part, it's not as easy as it sounds :( But at the minimum, what I've done so far should go into 4.1, otherwise, viewing any portion of the result of the web service operation is totally blocked.
The original bug in this report is fixed. I filed bug #57953 to represent the ClassCastException that the test case I attached exposed. I'm closing this as fixed. It is already integrated into both the trunk and 4.1 branch.
v. in release41
Ok, changing target milestone to 4.1.
I was reproduced the issue in Netbeans 4.1 FCS with web service http://localhost:8080/jaxrpc-HelloWorld/hello. This WS is part of JWSDP 1.5. Exception and screenshot are attached.
Created attachment 22278 [details] test operation panel
Created attachment 22279 [details] stack trace
i'm unable to reproduce this in latest builds, marking fixed.
well, it is still reproducible when you have websvc with valuetype which contain other value type with byte array. But because this is not 100% reproducible, i'm decreasing priority to P3.
Created attachment 23459 [details] thrown exception
Please use project attached to issue #61761 (TestOperationDialogTest.zip) for reproducing this issue.
similar exception is also thrown when using java.util.Calendar as an argument and return type in websvc opration
Created attachment 23481 [details] thrown exception
Fixed. Diff: http://websvc.netbeans.org/source/browse/websvc/registry/extsrc/org/netbeans/modules/websvc/registry/ui/ReflectionHelper.java?r1=1.5&r2=1.6
v.