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.
*** IMPORTANT NOTE: The tests noted in this issue are marked as development and will not be run as part of regular driver runs. PLEASE DO NOT CLOSE THE ISSUE BEFORE ENABLING THESE TESTS AGAIN ** 5 tests for onEvent driver tests are consistently failing. The exception thrown is shown below. I debugged and found that from the BPEL side correct output is produced - i.e the messages sent out contain correct data. Somewhere downstream the message might be getting corrupted. The exception is coming while comparing the outputs in netbeans driver test module. I checked the Tonga reports and could go as far back as Jan 29, 08 report and found same tests failing with same error, so this cannot be due to any of the recent changes. Also tested one of the test (basic_onEvent_ElseIfScope) with SOAP UI and found that correct output is being produced. Since the correct output is produced by SOAP UI, there is not issue with bpelse or httpbc. This indicates issue in netbeans driver test framework. For the test basic_onEvent_ElseIfScope, three inputs are fed and three outputs are produced. Please note the copied log is coming from netbeans, there is no error in the server log. The failing tests are as follows. Note these are checked in tests and can be found at https://open-jbi-components.dev.java.net/source/browse/open-jbi-components/driver-tests/bpelse/eventHandlers/onEventJBI/ basic_onEvent_ElseIfScope basic_onEvent_ElseScope basic_onEvent_EmptySequence basic_onEvent_IfScope basic_onEvent_ThrowFaults The screenshot of the output from the soap ui for this test attached. Also, pasting below the output as copied from the soap ui. Exception from log Replace '${HttpDefaultPort}' in WSDL soap location by '9080' defined in sun-http-binding. java.io.IOException: Invalid token '?' found in document: Please use the text editor to resolve the issues... at org.netbeans.modules.xml.xdm.nodes.XMLSyntaxParser.parse(XMLSyntaxParser.java:264) at org.netbeans.modules.xml.xdm.XDMModel.prepareSync(XDMModel.java:167) at org.netbeans.modules.xml.xdm.XDMModel.sync(XDMModel.java:156) at org.netbeans.modules.xml.xdm.diff.XDMUtil.compareXML(XDMUtil.java:169) at org.netbeans.modules.xml.xdm.diff.XDMUtil.compareXML(XDMUtil.java:145) at org.netbeans.modules.compapp.catd.ConfiguredTest.testCompareXMLIdentical(ConfiguredTest.java:2726) at org.netbeans.modules.compapp.catd.ConfiguredTest.testCompareXMLIdentical(ConfiguredTest.java:2719) at org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2229) at org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2122) at org.netbeans.modules.compapp.catd.ConfiguredTest.testCorrelationSOAPRequest(ConfiguredTest.java:919) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766) Failed.
Created attachment 61515 [details] SOAP UI Screenshot - Request 1
Created attachment 61516 [details] SOAP UI Screenshot - Request 2
Created attachment 61517 [details] SOAP UI Screenshot - Request 3
Created attachment 61518 [details] SOAP UI Project
Attached SOAP UI Project also - test-soapui-project.xml
Marking this issue as P2, as this has resulted in 5 Driver tests for onEvent (which represent around half of total test) not to be run. Hence, need to be addressed with higher priority.
Need evaluation from Venkat
All the test cases passed with the latest NetBeans 6.5.1 C/B and the runtime from GlassFishESB20090310 build.
I spoke with Malkit and the most recent test results on the 5 tests listed in this ticket (run on 5/4/09) show that 3 tests are passing and 2 (basic_onEvent_IfScope, basic_onEvent_ThrowFaults) are failing. Re-opening this ticket pending a decision for what action to take regarding these test results.