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 100555 - Regression: Values erroneously included for ‘paramOrder’ causes runtime exception
Summary: Regression: Values erroneously included for ‘paramOrder’ causes runtime excep...
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Binding Components (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Narayana Pedapudi
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-04-11 01:28 UTC by rpoon
Modified: 2007-04-25 00:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project containing bad wsdl file (100.20 KB, application/octet-stream)
2007-04-11 01:29 UTC, rpoon
Details
server log (6.24 KB, text/plain)
2007-04-11 01:29 UTC, rpoon
Details
Bad WSDL Jpeg (built by current Hula 8a JDBC wizard) (2.60 MB, image/jpeg)
2007-04-11 01:30 UTC, rpoon
Details
WSDL (working) buit with previous builds (2.60 MB, image/jpeg)
2007-04-11 01:31 UTC, rpoon
Details
server log file 2 (6.23 KB, text/xml)
2007-04-12 23:01 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpoon 2007-04-11 01:28:34 UTC
Build: Hula 8a System Test

Enterprise Pack - Build 8a
   http://ivory.russia/entpack-6.0-m8a/take3/
    nb-ide_nb-soa_glassfish_openesb_sjsam_windows.exe

==============================================================

With currently Hula 8a build, once the WSDL file is built via JDBC Wizard, 
under Binding, in the ‘delete’ operation, the ‘paramOrder’ contains default 
unwanted values where it should be blank.

Since the SQL statement in the sql field does not uses any input param, 
the ‘paramOrder’ field should be blank.  Erroneously putting values in this 
field causes runtime Exception.

(refer to the attached runtime server log, the JPEG files, and the project 
which was built from scratch with Hula 8a build)
Comment 1 rpoon 2007-04-11 01:29:19 UTC
Created attachment 40716 [details]
Project containing bad wsdl file
Comment 2 rpoon 2007-04-11 01:29:42 UTC
Created attachment 40717 [details]
server log
Comment 3 rpoon 2007-04-11 01:30:30 UTC
Created attachment 40718 [details]
Bad WSDL Jpeg (built by current Hula 8a JDBC wizard)
Comment 4 rpoon 2007-04-11 01:31:16 UTC
Created attachment 40719 [details]
WSDL (working) buit with previous builds
Comment 5 rpoon 2007-04-12 22:57:50 UTC
Due to this problem, currently user is NOT able to create a project and built, 
deploy and run the project successfully.

Once the JDBC WSDL is built (via wizard): 

  1) If keep the 'paramOrder' as is and w/o changing (i.e. delete the all 
values in the 'paramOrder' field), it would fail during runtime (see attached 
server log) with:
   'input ParamOrder attribute does not have same number of columns as needed 
in the given sql prepared statement.'

  2) If clean up the 'paramOrder' field, then it won't pass the validator and 
will fail to build.

Due to the seriousness of the problem, I am changing the priority of this 
ticket back to P1.
Comment 6 rpoon 2007-04-12 23:01:45 UTC
Created attachment 40863 [details]
server log file 2
Comment 7 Venkat Srinivasan 2007-04-16 05:59:34 UTC
Please look into this.
Comment 8 Narayana Pedapudi 2007-04-16 10:58:41 UTC
It was having two problems..
1. Generating paramOrder for delete operation through Wizard
 <This is fixed now.>
2. WSDL validator is throwing the validation error for required "paramOrder"
attribute. 
 <I have changed this. Now it will not throw any error.>

Fix is available with the latest build.
Comment 9 rpoon 2007-04-25 00:26:24 UTC
Verified fix with the following Build combination:
   
   Hula System Build

       http://bits.nbextras.org/netbeans/6.0/nightly/200704230000/installers/
           netbeans-6.0-nightly-200704230000-full-windows.exe

   Runtime SDK b13

       
http://javaweb.sfbay/java/re/javaeesdk/5.0_03/promoted/preview2/b13/bundles/
           java_app_platform_sdk-5_03-preview2-bin-b13-windows-21_apr_2007.exe