atom feed1 message in net.java.dev.open-esb.jbi-as-devProblems with parsing WSDL
FromSent OnAttachments
Marianne Kristin HansenJul 4, 2008 12:04 am 
Subject:Problems with parsing WSDL
From:Marianne Kristin Hansen (mari@hiof.no)
Date:Jul 4, 2008 12:04:31 am
List:net.java.dev.open-esb.jbi-as-dev

Hello

I've been trying out this tutorial to the XSLT Designer: http://www.netbeans.org/kb/61/soa/xslt-quick-start.html. I've successfully deployed it, but when I try to run a testcase, I get the following error message:

Test TestCase1\Concurrent.properties Replace '${HttpDefaultPort}' in WSDL soap location by '9080' defined in sun-http-binding. 04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init> WARNING: Using deprecated document construction for org.netbeans.editor.BaseDocument, see http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use -J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace. Failed. (Destination: http://localhost:${HttpDefaultPort}/HelloXSLWSDLService/HelloXSLWSDLPort) Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2,063 sec

------------- Standard Error ----------------- 04.jul.2008 08:53:39 org.netbeans.editor.BaseDocument <init> WARNING: Using deprecated document construction for org.netbeans.editor.BaseDocument, see http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use -J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace. ------------- ---------------- --------------- Testcase: TestCase1(org.netbeans.modules.compapp.catd.ConfiguredTest): Caused an ERROR null java.lang.NullPointerException at org.netbeans.editor.BaseDocument$1.preferenceChange(BaseDocument.java:340) at org.netbeans.editor.BaseDocument.init(BaseDocument.java:505) at org.netbeans.editor.BaseDocument.<init>(BaseDocument.java:470) at org.netbeans.modules.xml.xdm.diff.XDMUtil.prettyPrintXML(XDMUtil.java:89) at org.netbeans.modules.compapp.catd.ConfiguredTest.formatString(ConfiguredTest.java:2333) at org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2236) at org.netbeans.modules.compapp.catd.ConfiguredTest.checkExpectedOutput(ConfiguredTest.java:2122) at org.netbeans.modules.compapp.catd.ConfiguredTest.testConcurrentSOAPRequest(ConfiguredTest.java:748)

Test org.netbeans.modules.compapp.catd.ConfiguredTest FAILED test-report: C:\Documents and Settings\mha\My Documents\NetBeansProjects\HelloXSLCAP\nbproject\build-impl.xml:328: Some tests failed; see details above. BUILD FAILED (total time: 2 seconds)

I've been in touch with someone from Sun, I sent her my project and she was able to run the testcase successfully. She thought it had something to do with the WSDL-parsing. Can somebody help me on this?

Marianne