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 111543 - Got NPE while run test case of BPEL's Asynchronous Sample
Summary: Got NPE while run test case of BPEL's Asynchronous Sample
Status: VERIFIED WORKSFORME
Alias: None
Product: usersguide
Classification: Unclassified
Component: SOA (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 20:17 UTC by Jeff Lin
Modified: 2007-08-01 11:29 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 Jeff Lin 2007-07-31 20:17:15 UTC
While I run the test case of BPEL's AsynchronousSampleApplication and I got the following NPE in the server.log
Netbeans nightly build 200707310000.

Pattern for exchange Id 88513181304759-19182-134052016685260193 is http://www.w3.org/2004/08/wsdl/in-out
System exception occured while executing a business process instance.      
java.lang.NullPointerException
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CorrelationManagerImpl.evaluatePropertyAlias
(CorrelationManagerImpl.java:227)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CorrelationManagerImpl.evaluateVals
(CorrelationManagerImpl.java:200)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CorrelationManagerImpl.getCorrIds
(CorrelationManagerImpl.java:290)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CorrelationManagerImpl.calculateCorrValues
(CorrelationManagerImpl.java:329)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReceiveUnitImpl.consumeMesg(ReceiveUnitImpl.java:277)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.ReceiveUnitImpl.doAction(ReceiveUnitImpl.java:248)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities
(CodeReUseHelper.java:66)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities
(StructuredActivityUnitImpl.java:157)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.doAction
(StructuredActivityUnitImpl.java:90)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SequenceUnitImpl.doAction(SequenceUnitImpl.java:82)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.CodeReUseHelper.executeChildActivities
(CodeReUseHelper.java:66)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.StructuredActivityUnitImpl.executeChildActivities
(StructuredActivityUnitImpl.java:157)
        at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.BPELProcessInstanceImpl.doAction
(BPELProcessInstanceImpl.java:662)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
        at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute
(BusinessProcessInstanceThread.java:77)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process
(BPELProcessManagerImpl.java:826)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:202)
        at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:786)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:401)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:240)
        at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
com.sun.bpel.model.meta.impl.RReceiveImpl@265f7f={<?xml version="1.0" encoding="utf-8" ?>
<receive name="start"
         partnerLink="partnerLinkA"
         portType="wsdlNS:MyPortTypeClient"
         operation="operationA"
         variable="inputVar"
         createInstance="yes">
    <correlations>
        <correlation set="correlator"
                     initiate="yes"/>
    </correlations>
</receive>}
Comment 1 Murali Pottlapelli 2007-08-01 03:39:26 UTC
Input and output generated for test case are not correct for schema. Please correct them as printed bellow

Input

<soapenv:Envelope
  xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:asy="http://enterprise.netbeans.org/bpel/AsynchronousSampleSchemaNamespace">
  <soapenv:Body>
    <asy:typeA>
      <asy:paramA>Hello Asynchronous World</asy:paramA>
      <asy:id>18</asy:id>
    </asy:typeA>
  </soapenv:Body>
</soapenv:Envelope>


Output:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header/>
  <SOAP-ENV:Body>
    <typeA xmlns="http://enterprise.netbeans.org/bpel/AsynchronousSampleSchemaNamespace">
      <paramA>Hello Asynchronous World</paramA>
      <id>18</id>
    </typeA>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Comment 2 Sergey Lunegov 2007-08-01 10:55:08 UTC
Not reproducible
Comment 3 Ivan Sidorkin 2007-08-01 11:29:50 UTC
verified in Build 200707311200