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 156028 - BPEL documentation element causes error
Summary: BPEL documentation element causes error
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 00:02 UTC by chrisgr
Modified: 2008-12-26 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chrisgr 2008-12-24 00:02:09 UTC
Adding a documentation to a for-each loop in BPEL causes error.

name=PortingApp2
...nbproject\build-impl.xml:213: Start failure.
BUILD FAILED (total time: 3 seconds)
 

<forEach name="ForEachCustomer" parallel="no" counterName="ForEach1Counter">
                   <documentation>Initialize customer notified list with false values</documentation>
                   <startCounterValue>1</startCounterValue>
                   <finalCounterValue>5</finalCounterValue>
                 <scope name="Scope2">
                    <empty name="Empty3"/>
                 </scope>
              </forEach>



[#|2008-12-24T00:45:41.937+0100|SEVERE|sun-
appserver9.1|com.sun.jbi.engine.bpel.BPELSEDeployer|_ThreadID=111;_ThreadName=PortingApp2-
PortingApp2BPEL;_RequestID=c9a0921a-8431-4fd5-bb03-b8796368ac8c;|BPJBI-7004:Service unit PortingApp2-PortingApp2BPEL 
failed to load deployment C:\Program Files\glassfish-v2ur2\domains\domain1\jbi\service-assemblies\PortingApp2
\PortingApp2-PortingApp2BPEL\sun-bpel-engine : BPJBI-6024:Error while loading BPEL file C:\Program Files\glassfish-
v2ur2\domains\domain1\jbi\service-assemblies\PortingApp2\PortingApp2-PortingApp2BPEL\sun-bpel-
engine\portingProcess.bpel, Exception details are Cannot parse BPEL
com.sun.jbi.engine.bpel.impl.BPELSEException: BPJBI-6024:Error while loading BPEL file C:\Program Files\glassfish-v2ur2
\domains\domain1\jbi\service-assemblies\PortingApp2\PortingApp2-PortingApp2BPEL\sun-bpel-engine\portingProcess.bpel, 
Exception details are Cannot parse BPEL
	at com.sun.jbi.engine.bpel.EngineHelper.loadDefinitions(EngineHelper.java:158)
	at com.sun.jbi.engine.bpel.EngineHelper.deploy(EngineHelper.java:220)
	at com.sun.jbi.engine.bpel.BPELSEDeployer.init(BPELSEDeployer.java:233)
	at com.sun.jbi.framework.ServiceUnitOperation.process(ServiceUnitOperation.java:181)
	at com.sun.jbi.framework.Operation.run(Operation.java:104)
	at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.bpel.model.common.visitor.XMLParseVisitorException: Cannot parse BPEL: 
java.lang.NullPointerException
	at com.sun.bpel.model.visitor.SAXParseVisitor.visit(SAXParseVisitor.java:440)
	at com.sun.bpel.model.impl.BPELDocumentImpl.accept(BPELDocumentImpl.java:308)
	at com.sun.bpel.model.impl.BPELDocumentParseFactoryImpl.traverse(BPELDocumentParseFactoryImpl.java:109)
	at com.sun.bpel.model.impl.BPELDocumentParseFactoryImpl.load(BPELDocumentParseFactoryImpl.java:94)
	at com.sun.bpel.model.impl.BPELDocumentParseFactoryImpl.load(BPELDocumentParseFactoryImpl.java:65)
	at com.sun.jbi.engine.bpel.EngineHelper.loadDefinitions(EngineHelper.java:145)
	... 5 more
Caused by: java.lang.NullPointerException
	at com.sun.bpel.model.parser.impl.RXmlParserFactoryImpl$RForEachParser.endElement
(RXmlParserFactoryImpl.java:764)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement
(XMLDocumentFragmentScannerImpl.java:1774)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next
(XMLDocumentFragmentScannerImpl.java:2930)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:510)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
	at com.sun.bpel.model.visitor.SAXParseVisitor.visit(SAXParseVisitor.java:434)
	... 10 more