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.
Summary: | [60cat] Code generated for mobile WS client can't correctly handle Wrappers in CustomObject | ||
---|---|---|---|
Product: | javame | Reporter: | ieising <ieising> |
Component: | Web Services | Assignee: | Michal Skvor <misk> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mmirilovic, mryzl, psuchomel |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
web project with all the types for testing
Stacktrace during hang |
Description
ieising
2007-11-16 10:06:51 UTC
thanks for the report, Iwan. Misk, all the wrappers seems to be wrong... private static Object myObjectWithAllTypes_toObject( myObjectWithAllTypes obj ) { if(obj == null) return null; Object result[] = new Object[ 14 ]; result[0] = new Boolean(obj.getMyBoolean()); result[1] = new Byte(obj.getMyByte()); result[2] = new Double(obj.getMyDouble()); result[3] = new Float(obj.getMyFloat()); result[4] = new Integer(obj.getMyInt()); result[5] = new Long(obj.getMyLong()); result[6] = new Short(obj.getMyShort()); ! result[7] = new Boolean(obj.getMyBooleanWrapper()); ! result[8] = new Byte(obj.getMyByteWrapper()); ! result[9] = new Double(obj.getMyDoubleWrapper()); ! result[10] = new Float(obj.getMyFloatWrapper()); ! result[11] = new Integer(obj.getMyIntegerWrapper()); ! result[12] = new Long(obj.getMyLongWrapper()); ! result[13] = new Short(obj.getMyShortWrapper()); return result; } Created attachment 53105 [details]
web project with all the types for testing
this is candidate to be fixed into RC2. The fix has to be able till Saturday night because it has to be in the branch before Sundays midnight. According to the http://wiki.netbeans.org/wiki/view/NB6HighResistance, there *must be* 24 hours delay for review. I'm available to verify it on Saturday or early Sunday. I'm adding Suchys on CC for review. Michale, provide the fix, ask someone(Suchys?) for code review, commit it to trunk, add the diff here(or link to the commit on deadock), ask for review at reviewers@netbeans, wait for QE verification, then if you have all ready you can commit to release60 branch (24 hours after the email to reviewers@netbeans). I reviewed and put into trunk. From scenarios I tested the fix looks OK. Checking in src/org/netbeans/modules/e2e/wsdl/wsdl2java/WSDL2JavaImpl.java; /cvs/mobility/end2end/jsr172/src/org/netbeans/modules/e2e/wsdl/wsdl2java/WSDL2JavaImpl.java,v <-- WSDL2JavaImpl.java new revision: 1.24; previous revision: 1.23 done Created attachment 53167 [details]
Stacktrace during hang
I tested with All build (Product Version: NetBeans IDE Dev (Build 20071118095622)). The fix works fine. Where can I get that latest build, so I can start using it? Iwan Iwan, the daily build of trunk are at http://deadlock.netbeans.org/hudson/job/trunk/ Use any build from #4486. Committed to branch release60: Checking in WSDL2JavaImpl.java; /cvs/mobility/end2end/jsr172/src/org/netbeans/modules/e2e/wsdl/wsdl2java/WSDL2JavaImpl.java,v <-- WSDL2JavaImpl.java new revision: 1.23.2.1; previous revision: 1.23 verified in release60 build Product Version: NetBeans IDE 6.0 RC2 (Build 200711201000) verified in 60-patch1 |