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.
Sol10, Build 20070830000 can not deploy Asynchronous sample pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init: init-deploy: deps-jar: pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init-taskdefs: init: pre-dist: /export/home/tester/NetBeansProjects/AsynchronousSample1/AsynchronousSample1Application/nbproject/build-impl.xml:122: The following error occurred while executing this line: /export/home/tester/NetBeansProjects/AsynchronousSample1/AsynchronousSample1/nbproject/build-impl.xml:154: java.lang.AssertionError: it can be null for local components only. BUILD FAILED (total time: 1 second)
The problem was caused by the latest changes in validation system for bpel. Steps to reproduce: 1. Create AsynchronousSample 2. Open AsynchronousSampleClient.bpel and do validation. AssertionError during validation of AsynchronousSampleClient.bpel: java.lang.AssertionError: it can be null for local components only. at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.xpath.PathValidatorVisitor.visit(PathValidatorVisitor.java:261) at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.xpath.PathValidatorVisitor.visit(PathValidatorVisitor.java:132) at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.xpath.BPELExtensionXpathVisitor.visit(BPELExtensionXpathVisitor.java:167) at org.netbeans.modules.xml.wsdl.model.extensions.bpel.impl.PropertyAliasImpl.accept(PropertyAliasImpl.java:103) at org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.AbstractValidator.validate(AbstractValidator.java:82) at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:78) at org.netbeans.modules.bpel.model.validation.imports.BPELImportsVisitor.validateImportedModels(BPELImportsVisitor.java:86) at org.netbeans.modules.bpel.model.validation.imports.BPELImportsValidator.validate(BPELImportsValidator.java:90) at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:78) at org.netbeans.modules.xml.validation.ValidationOutputWindowController.validate(ValidationOutputWindowController.java:64) at org.netbeans.modules.xml.validation.ValidateAction$RunAction.run(ValidateAction.java:90) at org.netbeans.modules.bpel.editors.multiview.DesignerMultiViewElement$BPELValidateAction$1.run(DesignerMultiViewElement.java:796) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) Nikita, please fix it and DO validation for ALL bpel samples BEFORE cvs commit. Thanks.
I fixed the validation. There was a problem with a property alias query in a WSDL file. In the Asynchronous example it contains an absolute location path. The first elemen of the path was without prefix and it came to exception. I eliminated the exception and now a warning is shown in such case: The global element "xxx" has to have a namespace prefix. I also corrected the Asynchronous example to prevent this warning. Unfortunately now I haven't time to "DO validation for ALL bpel samples BEFORE cvs commit". I have tested some of them and hope everythin will be Ok.
Product Version: NetBeans IDE Dev (Build 200709021200) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06