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.
This is from a user we got this project. Attached project. The problem is that build fails without giving a meaningful error messages.
Created attachment 33430 [details] project with build problem
Assertion error is thrown by WSDL Validator Error is - java.lang.AssertionError: the text content under schema couldnt be found in the wsdl document at org.netbeans.modules.xml.wsdl.validator.WSDLInlineSchemaValidator.validate(WSDLInlineSchemaValidator.java:97) at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:78) at org.netbeans.modules.bpel.model.validation.imports.BPELImportsVisitor.visit(BPELImportsVisitor.java:69) at org.netbeans.modules.bpel.model.impl.ImportImpl.accept(ImportImpl.java:94) at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:205) at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:339) at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:206) at org.netbeans.modules.bpel.model.validation.imports.BPELImportsValidator.validate(BPELImportsValidator.java:78) at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:78) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.validateBPEL(ValidateBPELProject.java:341) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.loadAndValidateExistingBusinessProcess(ValidateBPELProject.java:408) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processBpelFile(ValidateBPELProject.java:311) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processBpelFiles(ValidateBPELProject.java:302) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processFolder(ValidateBPELProject.java:280) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processFileObject(ValidateBPELProject.java:272) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processSourceDir(ValidateBPELProject.java:267) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processSourceDirs(ValidateBPELProject.java:261) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.execute(ValidateBPELProject.java:225) 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:585) at org.netbeans.modules.bpel.project.anttasks.ValidateBPELProjectTask.execute(ValidateBPELProjectTask.java:189) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131) Aug 30, 2006 12:39:43 PM org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject loadAndValidateExistingBusinessProcess Bpel Validation task ( bpel project) when it calls the validator it expects the errors in Validation result collection and doesnt expect the validator to throw Error...
Bpel project when it calls validate it expects the errors to be set in the Validation resultset collection. Instead the WSDL validation is throwing Assertion Error.. This is a bug in WSDL validation. I will add code in bpel project to catch the java.lang.Throwable and display it to the user...
For the assertion error problem there is already another issue filed http://www.netbeans.org/issues/show_bug.cgi?id=83659
Error messages problem is fixed.
Verified in the build 060923 and found that bug is fixed