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 157641 - NPE - building BPEL project
Summary: NPE - building BPEL project
Status: RESOLVED INCOMPLETE
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Venkat Chellasamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 19:28 UTC by snowch
Modified: 2009-01-30 10:20 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 snowch 2009-01-29 19:28:51 UTC
BPEL Version: 1.2.1 Source: 
NetBeans IDE 6.5 (Build 200811100001)

When I build my BPEL project, I get NPE (see below).

<?xml version="1.0" encoding="UTF-8"?>
<process
    name="newProcess"
    targetNamespace="http://enterprise.netbeans.org/bpel/BpelModule2/newProcess"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" 
    xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
    xmlns:tns="http://enterprise.netbeans.org/bpel/BpelModule2/newProcess" xmlns:ns0="urn:enquiry">
   <import namespace="http://enterprise.netbeans.org/bpel/HPCEnquiryServiceWrapper"
location="HPIEnquiryClient_WSDL_20080513_035007/HPCEnquiryServiceWrapper.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
   <import namespace="urn:enquiry" location="HPIEnquiryClient_WSDL_20080513_035007/HPCEnquiryService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
   <import namespace="http://j2ee.netbeans.org/wsdl/newWSDL" location="newWSDL.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
   <partnerLinks>
      <partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/newWSDL" partnerLinkType="tns:newWSDL"
myRole="newWSDLPortTypeRole"/>
      <partnerLink name="plLogon" xmlns:tns="http://enterprise.netbeans.org/bpel/HPCEnquiryServiceWrapper"
partnerLinkType="tns:EnquiryServiceSoapLinkType" partnerRole="EnquiryServiceSoapRole"/>
   </partnerLinks>
   <variables>
      <variable name="LogonOut" xmlns:hpi="urn:enquiry" messageType="hpi:logonSoapOut"/>
      <variable name="LogonIn" xmlns:hpi="urn:enquiry" messageType="hpi:logonSoapIn"/>
   </variables>
   <sequence>
      <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="newWSDLOperation"
xmlns:tns="http://j2ee.netbeans.org/wsdl/newWSDL" portType="tns:newWSDLPortType"/>
      <assign name="Assign1">
         <copy>
            <from>'SECRET'</from>
            <to>$LogonIn.logonIn/ns0:CustomerDetails/hpi:CustomerCodeType</to>
         </copy>
         <copy>
            <from>'SECRET'</from>
            <to>$LogonIn.logonIn/ns0:CustomerDetails/hpi:InitialsType</to>
         </copy>
         <copy>
            <from>'SECRET'</from>
            <to>$LogonIn.logonIn/ns0:CustomerDetails/hpi:InitialsType</to>
         </copy>
      </assign>
      <invoke name="InvokeLogon" partnerLink="plLogon" operation="logon" xmlns:hpi="urn:enquiry"
portType="hpi:EnquiryServiceSoap" inputVariable="LogonIn" outputVariable="LogonOut"></invoke>
   </sequence>
</process>

init:
java.lang.NullPointerException
        at
org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.getSchemaComponentTypeName(ValidationUtil.java:209)
        at
org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.findBuiltInType(ValidationUtil.java:171)
        at
org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.getBuiltInSimpleType(ValidationUtil.java:109)
        at
org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil.getBasedSimpleType(ValidationUtil.java:75)
        at org.netbeans.modules.bpel.validation.xpath.Validator$1.visit(Validator.java:164)
        at org.netbeans.modules.bpel.model.impl.CopyImpl.accept(CopyImpl.java:76)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:222)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:335)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:223)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:335)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:223)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:335)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:223)
        at org.netbeans.modules.bpel.validation.core.BpelValidator$1.run(BpelValidator.java:102)
        at org.netbeans.modules.bpel.model.impl.BpelModelImpl.invoke(BpelModelImpl.java:250)
        at org.netbeans.modules.bpel.validation.core.BpelValidator.validate(BpelValidator.java:106)
        at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:95)
        at org.netbeans.modules.soa.validation.core.Controller.validate(Controller.java:188)
        at org.netbeans.modules.soa.validation.core.Controller.validate(Controller.java:167)
        at org.netbeans.modules.soa.validation.core.Controller.ideValidate(Controller.java:154)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.validateFile(IdeValidateBpelProjectTask.java:250)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFile(IdeValidateBpelProjectTask.java:223)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFiles(IdeValidateBpelProjectTask.java:186)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFolder(IdeValidateBpelProjectTask.java:180)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFileObject(IdeValidateBpelProjectTask.java:174)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDir(IdeValidateBpelProjectTask.java:169)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDirs(IdeValidateBpelProjectTask.java:164)
        at
org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.execute(IdeValidateBpelProjectTask.java:137)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        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:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
BUILD FAILED (total time: 2 seconds)
Comment 1 Sergey Lunegov 2009-01-30 10:20:08 UTC
Would you please attach the whole project.