Data Integrator and Bpel build error

4 messages Options
Embed this post
Permalink
Santiago De Bernardez

Data Integrator and Bpel build error

Reply Threaded More More options
Print post
Permalink
Hi, all

I tried to build a Bpel project wich contains a reference to an ETL project, so, this would be the flow:

SchedulerBC --receive-->BpelSE--invoke-->EtlSe

But, in all cases I try to build the project (ie, Linux, Windows, several jdk versions, etc), I get the same exception:

java.lang.NullPointerException
        at org.netbeans.modules.soa.ui.resource.ResourceUtil$1.travel(ResourceUtil.java:91)
        at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:177)
        at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:188)
        at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:166)
        at org.netbeans.modules.soa.ui.resource.ResourceUtil.getFilesRecursively(ResourceUtil.java:105)
        at org.netbeans.modules.soa.ui.resource.ResourceUtil.getXSDFilesRecursively(ResourceUtil.java:80)
        at org.netbeans.modules.bpel.model.api.support.BpelExternalModelResolver.getVisibleModels(BpelExternalModelResolver.java:97)
        at org.netbeans.modules.bpel.model.api.support.BpelExternalModelResolver.isSchemaVisible(BpelExternalModelResolver.java:157)
        at org.netbeans.modules.xml.xpath.ext.impl.XPathModelImpl.warnResourceAbsence(XPathModelImpl.java:993)
        at org.netbeans.modules.xml.xpath.ext.impl.XPathModelImpl.resolveExtReferences(XPathModelImpl.java:1038)
        at org.netbeans.modules.bpel.model.api.support.Utils.checkSingleExpr(Utils.java:275)
        at org.netbeans.modules.bpel.model.api.support.Utils.checkExpression(Utils.java:266)
        at org.netbeans.modules.bpel.model.api.support.Utils.doXPathExpression(Utils.java:233)
        at org.netbeans.modules.bpel.model.api.support.Utils.getXPathExpressionType(Utils.java:214)
        at org.netbeans.modules.bpel.validation.xpath.Validator$1.getXPathType(Validator.java:429)
        at org.netbeans.modules.bpel.validation.xpath.Validator$1.getType(Validator.java:302)
        at org.netbeans.modules.bpel.validation.xpath.Validator$1.visit(Validator.java:111)
        at org.netbeans.modules.bpel.model.impl.CopyImpl.accept(CopyImpl.java:77)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:228)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
        at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
        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:198)
        at org.netbeans.modules.soa.validation.core.Controller.validate(Controller.java:160)
        at org.netbeans.modules.soa.validation.core.Controller.ideValidate(Controller.java:154)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.validateFile(IdeValidateBpelProjectTask.java:252)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFile(IdeValidateBpelProjectTask.java:225)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFiles(IdeValidateBpelProjectTask.java:188)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFolder(IdeValidateBpelProjectTask.java:182)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFileObject(IdeValidateBpelProjectTask.java:176)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDir(IdeValidateBpelProjectTask.java:171)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDirs(IdeValidateBpelProjectTask.java:166)
        at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.execute(IdeValidateBpelProjectTask.java:139)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
        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: 0 seconds)

Someone knows how to avoid this issue?

Thanks in advance.

Santiago.
ESTE MENSAJE ES CONFIDENCIAL. Puede contener información amparada por el secreto profesional. Si usted ha recibido este e-mail por error, por favor comuníquenoslo inmediatamente vía e-mail y tenga la amabilidad de eliminarlo de su sistema; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona. Muchas gracias.

THIS MESSAGE IS CONFIDENTIAL. It may also contain information that is privileged or otherwise legally exempt from disclosure. If you have received it by mistake please let us know by e-mail immediately and delete it from your system; should also not copy the message nor disclose its contents to anyone. Many thanks.

	
		


	
Nilesh Apte

Re: Data Integrator and Bpel build error

Reply Threaded More More options
Print post
Permalink
Hi Santiago:

I am able to build and deploy successfully the same scenario you are  
trying. I am using GF ESB 2.1 (on Mac OS), with JDK 1.6.0.
The ETL collaboration extracts data from a derby table and loads it  
into another Derby table (table schema attached).
I am attaching the the zip archive containing all the projects (BPEL  
with Scheduler, ETL and Composite App).

Let me know if this helps.

Thanks,
Nilesh.



 



On 29-Jun-09, at 9:39 PM, Santiago De Bernardez wrote:

> Hi, all
>
> I tried to build a Bpel project wich contains a reference to an ETL  
> project, so, this would be the flow:
>
> SchedulerBC --receive-->BpelSE--invoke-->EtlSe
>
> But, in all cases I try to build the project (ie, Linux, Windows,  
> several jdk versions, etc), I get the same exception:
>
> java.lang.NullPointerException
>         at org.netbeans.modules.soa.ui.resource.ResourceUtil
> $1.travel(ResourceUtil.java:91)
>         at  
> org
> .netbeans
> .modules
> .soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:177)
>         at  
> org
> .netbeans
> .modules
> .soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:188)
>         at  
> org
> .netbeans
> .modules
> .soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:166)
>         at  
> org
> .netbeans
> .modules
> .soa.ui.resource.ResourceUtil.getFilesRecursively(ResourceUtil.java:
> 105)
>         at  
> org
> .netbeans
> .modules
> .soa
> .ui.resource.ResourceUtil.getXSDFilesRecursively(ResourceUtil.java:80)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .model
> .api
> .support
> .BpelExternalModelResolver
> .getVisibleModels(BpelExternalModelResolver.java:97)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .model
> .api
> .support
> .BpelExternalModelResolver
> .isSchemaVisible(BpelExternalModelResolver.java:157)
>         at  
> org
> .netbeans
> .modules
> .xml
> .xpath
> .ext.impl.XPathModelImpl.warnResourceAbsence(XPathModelImpl.java:993)
>         at  
> org
> .netbeans
> .modules
> .xml
> .xpath
> .ext.impl.XPathModelImpl.resolveExtReferences(XPathModelImpl.java:
> 1038)
>         at  
> org
> .netbeans
> .modules.bpel.model.api.support.Utils.checkSingleExpr(Utils.java:275)
>         at  
> org
> .netbeans
> .modules.bpel.model.api.support.Utils.checkExpression(Utils.java:266)
>         at  
> org
> .netbeans
> .modules.bpel.model.api.support.Utils.doXPathExpression(Utils.java:
> 233)
>         at  
> org
> .netbeans
> .modules
> .bpel.model.api.support.Utils.getXPathExpressionType(Utils.java:214)
>         at org.netbeans.modules.bpel.validation.xpath.Validator
> $1.getXPathType(Validator.java:429)
>         at org.netbeans.modules.bpel.validation.xpath.Validator
> $1.getType(Validator.java:302)
>         at org.netbeans.modules.bpel.validation.xpath.Validator
> $1.visit(Validator.java:111)
>         at  
> org.netbeans.modules.bpel.model.impl.CopyImpl.accept(CopyImpl.java:77)
>         at  
> org
> .netbeans
> .modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:
> 228)
>         at  
> org
> .netbeans
> .modules
> .bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:
> 353)
>         at  
> org
> .netbeans
> .modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:
> 229)
>         at  
> org
> .netbeans
> .modules
> .bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:
> 353)
>         at  
> org
> .netbeans
> .modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:
> 229)
>         at  
> org
> .netbeans
> .modules
> .bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:
> 353)
>         at  
> org
> .netbeans
> .modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:
> 229)
>         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:198)
>         at  
> org
> .netbeans
> .modules.soa.validation.core.Controller.validate(Controller.java:160)
>         at  
> org
> .netbeans
> .modules.soa.validation.core.Controller.ideValidate(Controller.java:
> 154)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask
> .validateFile(IdeValidateBpelProjectTask.java:252)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask
> .processFile(IdeValidateBpelProjectTask.java:225)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask
> .processFiles(IdeValidateBpelProjectTask.java:188)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask
> .processFolder(IdeValidateBpelProjectTask.java:182)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask
> .processFileObject(IdeValidateBpelProjectTask.java:176)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask
> .processSourceDir(IdeValidateBpelProjectTask.java:171)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask
> .processSourceDirs(IdeValidateBpelProjectTask.java:166)
>         at  
> org
> .netbeans
> .modules
> .bpel
> .project
> .anttasks
> .ide
> .IdeValidateBpelProjectTask.execute(IdeValidateBpelProjectTask.java:
> 139)
>         at  
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown  
> Source)
>         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: 0 seconds)
>
> Someone knows how to avoid this issue?
>
> Thanks in advance.
>
> Santiago.
> ESTE MENSAJE ES CONFIDENCIAL. Puede contener información amparada  
> por el secreto profesional. Si usted ha recibido este e-mail por  
> error, por favor comuníquenoslo inmediatamente vía e-mail y tenga la  
> amabilidad de eliminarlo de su sistema; no deberá copiar el mensaje  
> ni divulgar su contenido a ninguna persona. Muchas gracias.
>
> THIS MESSAGE IS CONFIDENTIAL. It may also contain information that  
> is privileged or otherwise legally exempt from disclosure. If you  
> have received it by mistake please let us know by e-mail immediately  
> and delete it from your system; should also not copy the message nor  
> disclose its contents to anyone. Many thanks.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Archive.zip (100K) Download Attachment
EMPLOYEE.grab (2K) Download Attachment
Santiago De Bernardez

Re: Data Integrator and Bpel build error

Reply Threaded More More options
Print post
Permalink
Hi, Nilesh:

Thanks for your reply.
I was watching the projects attached, and finally got to build the Bpel. Apparently, the error was due to some missing references.
Now I can continue working.

Thanks a lot!

Santiago.

On Mon, Jun 29, 2009 at 3:37 PM, Nilesh Apte <[hidden email]> wrote:
Hi Santiago:

I am able to build and deploy successfully the same scenario you are trying. I am using GF ESB 2.1 (on Mac OS), with JDK 1.6.0.
The ETL collaboration extracts data from a derby table and loads it into another Derby table (table schema attached).
I am attaching the the zip archive containing all the projects (BPEL with Scheduler, ETL and Composite App).

Let me know if this helps.

Thanks,
Nilesh.


 


On 29-Jun-09, at 9:39 PM, Santiago De Bernardez wrote:

Hi, all

I tried to build a Bpel project wich contains a reference to an ETL project, so, this would be the flow:

SchedulerBC --receive-->BpelSE--invoke-->EtlSe

But, in all cases I try to build the project (ie, Linux, Windows, several jdk versions, etc), I get the same exception:

java.lang.NullPointerException
       at org.netbeans.modules.soa.ui.resource.ResourceUtil$1.travel(ResourceUtil.java:91)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:177)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:188)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:166)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.getFilesRecursively(ResourceUtil.java:105)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.getXSDFilesRecursively(ResourceUtil.java:80)
       at org.netbeans.modules.bpel.model.api.support.BpelExternalModelResolver.getVisibleModels(BpelExternalModelResolver.java:97)
       at org.netbeans.modules.bpel.model.api.support.BpelExternalModelResolver.isSchemaVisible(BpelExternalModelResolver.java:157)
       at org.netbeans.modules.xml.xpath.ext.impl.XPathModelImpl.warnResourceAbsence(XPathModelImpl.java:993)
       at org.netbeans.modules.xml.xpath.ext.impl.XPathModelImpl.resolveExtReferences(XPathModelImpl.java:1038)
       at org.netbeans.modules.bpel.model.api.support.Utils.checkSingleExpr(Utils.java:275)
       at org.netbeans.modules.bpel.model.api.support.Utils.checkExpression(Utils.java:266)
       at org.netbeans.modules.bpel.model.api.support.Utils.doXPathExpression(Utils.java:233)
       at org.netbeans.modules.bpel.model.api.support.Utils.getXPathExpressionType(Utils.java:214)
       at org.netbeans.modules.bpel.validation.xpath.Validator$1.getXPathType(Validator.java:429)
       at org.netbeans.modules.bpel.validation.xpath.Validator$1.getType(Validator.java:302)
       at org.netbeans.modules.bpel.validation.xpath.Validator$1.visit(Validator.java:111)
       at org.netbeans.modules.bpel.model.impl.CopyImpl.accept(CopyImpl.java:77)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:228)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
       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:198)
       at org.netbeans.modules.soa.validation.core.Controller.validate(Controller.java:160)
       at org.netbeans.modules.soa.validation.core.Controller.ideValidate(Controller.java:154)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.validateFile(IdeValidateBpelProjectTask.java:252)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFile(IdeValidateBpelProjectTask.java:225)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFiles(IdeValidateBpelProjectTask.java:188)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFolder(IdeValidateBpelProjectTask.java:182)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFileObject(IdeValidateBpelProjectTask.java:176)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDir(IdeValidateBpelProjectTask.java:171)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDirs(IdeValidateBpelProjectTask.java:166)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.execute(IdeValidateBpelProjectTask.java:139)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
       at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       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: 0 seconds)

Someone knows how to avoid this issue?

Thanks in advance.

Santiago.
ESTE MENSAJE ES CONFIDENCIAL. Puede contener información amparada por el secreto profesional. Si usted ha recibido este e-mail por error, por favor comuníquenoslo inmediatamente vía e-mail y tenga la amabilidad de eliminarlo de su sistema; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona. Muchas gracias.

THIS MESSAGE IS CONFIDENTIAL. It may also contain information that is privileged or otherwise legally exempt from disclosure. If you have received it by mistake please let us know by e-mail immediately and delete it from your system; should also not copy the message nor disclose its contents to anyone. Many thanks.




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

ESTE MENSAJE ES CONFIDENCIAL. Puede contener información amparada por el secreto profesional. Si usted ha recibido este e-mail por error, por favor comuníquenoslo inmediatamente vía e-mail y tenga la amabilidad de eliminarlo de su sistema; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona. Muchas gracias.

THIS MESSAGE IS CONFIDENTIAL. It may also contain information that is privileged or otherwise legally exempt from disclosure. If you have received it by mistake please let us know by e-mail immediately and delete it from your system; should also not copy the message nor disclose its contents to anyone. Many thanks.

	
Nilesh Apte

Fwd: Data Integrator and Bpel build error

Reply Threaded More More options
Print post
Permalink
In reply to this post by Nilesh Apte
Some javascript/style in this post has been disabled (why?)
Hi Gabriel:

See the mail below from another user who was also facing the same NPE. Please refer to the attached zip file containing the scenario explained below. Santiago was having some "Bad Reference" issue, which was causing the NullPointerException.

HTH.

Thanks,
Nilesh.

Begin forwarded message:

From: Nilesh Apte <[hidden email]>
Date: 30 June 2009 12:07:36 AM GMT+05:30
Subject: Re: Data Integrator and Bpel build error
Reply-To: [hidden email]

Hi Santiago:

I am able to build and deploy successfully the same scenario you are trying. I am using GF ESB 2.1 (on Mac OS), with JDK 1.6.0.
The ETL collaboration extracts data from a derby table and loads it into another Derby table (table schema attached).
I am attaching the the zip archive containing all the projects (BPEL with Scheduler, ETL and Composite App).

Let me know if this helps.

Thanks,
Nilesh.







On 29-Jun-09, at 9:39 PM, Santiago De Bernardez wrote:

Hi, all

I tried to build a Bpel project wich contains a reference to an ETL project, so, this would be the flow:

SchedulerBC --receive-->BpelSE--invoke-->EtlSe

But, in all cases I try to build the project (ie, Linux, Windows, several jdk versions, etc), I get the same exception:

java.lang.NullPointerException
       at org.netbeans.modules.soa.ui.resource.ResourceUtil$1.travel(ResourceUtil.java:91)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:177)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:188)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.travelRecursively(ResourceUtil.java:166)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.getFilesRecursively(ResourceUtil.java:105)
       at org.netbeans.modules.soa.ui.resource.ResourceUtil.getXSDFilesRecursively(ResourceUtil.java:80)
       at org.netbeans.modules.bpel.model.api.support.BpelExternalModelResolver.getVisibleModels(BpelExternalModelResolver.java:97)
       at org.netbeans.modules.bpel.model.api.support.BpelExternalModelResolver.isSchemaVisible(BpelExternalModelResolver.java:157)
       at org.netbeans.modules.xml.xpath.ext.impl.XPathModelImpl.warnResourceAbsence(XPathModelImpl.java:993)
       at org.netbeans.modules.xml.xpath.ext.impl.XPathModelImpl.resolveExtReferences(XPathModelImpl.java:1038)
       at org.netbeans.modules.bpel.model.api.support.Utils.checkSingleExpr(Utils.java:275)
       at org.netbeans.modules.bpel.model.api.support.Utils.checkExpression(Utils.java:266)
       at org.netbeans.modules.bpel.model.api.support.Utils.doXPathExpression(Utils.java:233)
       at org.netbeans.modules.bpel.model.api.support.Utils.getXPathExpressionType(Utils.java:214)
       at org.netbeans.modules.bpel.validation.xpath.Validator$1.getXPathType(Validator.java:429)
       at org.netbeans.modules.bpel.validation.xpath.Validator$1.getType(Validator.java:302)
       at org.netbeans.modules.bpel.validation.xpath.Validator$1.visit(Validator.java:111)
       at org.netbeans.modules.bpel.model.impl.CopyImpl.accept(CopyImpl.java:77)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:228)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:353)
       at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:229)
       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:198)
       at org.netbeans.modules.soa.validation.core.Controller.validate(Controller.java:160)
       at org.netbeans.modules.soa.validation.core.Controller.ideValidate(Controller.java:154)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.validateFile(IdeValidateBpelProjectTask.java:252)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFile(IdeValidateBpelProjectTask.java:225)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFiles(IdeValidateBpelProjectTask.java:188)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFolder(IdeValidateBpelProjectTask.java:182)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processFileObject(IdeValidateBpelProjectTask.java:176)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDir(IdeValidateBpelProjectTask.java:171)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.processSourceDirs(IdeValidateBpelProjectTask.java:166)
       at org.netbeans.modules.bpel.project.anttasks.ide.IdeValidateBpelProjectTask.execute(IdeValidateBpelProjectTask.java:139)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
       at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       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: 0 seconds)

Someone knows how to avoid this issue?

Thanks in advance.

Santiago.
ESTE MENSAJE ES CONFIDENCIAL. Puede contener información amparada por el secreto profesional. Si usted ha recibido este e-mail por error, por favor comuníquenoslo inmediatamente vía e-mail y tenga la amabilidad de eliminarlo de su sistema; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona. Muchas gracias.

THIS MESSAGE IS CONFIDENTIAL. It may also contain information that is privileged or otherwise legally exempt from disclosure. If you have received it by mistake please let us know by e-mail immediately and delete it from your system; should also not copy the message nor disclose its contents to anyone. Many thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Archive.zip (100K) Download Attachment
EMPLOYEE.grab (2K) Download Attachment