My Oracle Support Banner

NullPointerException While Redeploying A Project Using An ANT Task Within BPM 10g (Doc ID 1533106.1)

Last updated on FEBRUARY 28, 2013

Applies to:

Oracle Business Process Management Suite - Version 10.3 and later
Information in this document applies to any platform.

Symptoms

While trying to deploy a new revision of a project via ANT task, e.g.

<project name="PublishExample" xmlns:fuego="antlib:fuego.tools.ant.enterprise" xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee" default="republish">
       <property file="deploy_process.properties" />
       <fuego:passport id="fuego.passport" directoryid="default" preset="engine" participant="admin" password="*****" />

       <target name="republish" description="Publish and deploy processes">
           <fuego:session passportref="fuego.passport" verbose="true" haltonerror="true">

               <fuego:publish fpr="${fuego.project}" deploy="true" importcustomviews="true"
                    engine="${fuego.engine}" importdata="true" automaproles="true" automapvars="true" automapbuspars="true">
               </fuego:publish>

           </fuego:session>
       </target>
</project>

 the following error occurs:

[fuego:publish] Publishing process ...
[fuego:publish] Checking processes...
[fuego:publish] fuego.compiler.InternalException: Internal error found. This should be reported to Oracle Support.
                 Include the following information. Error: 'java.lang.NullPointerException'.
                 Node: '.[JAVA(Service.Com.MyCode.Xcm.Model.Memo).Service.Com.MyCode.Xcm.Model.Memo:creationDate]='.
[fuego:publish] at fuego.compiler.Block.checkType(Block.java:191)
[fuego:publish] at fuego.compiler.DoBlock.checkBody(DoBlock.java:183)
[fuego:publish] at fuego.compiler.DoBlock.checkType(DoBlock.java:424)
[fuego:publish] at fuego.compiler.Block.checkType(Block.java:175)
[fuego:publish] at fuego.compiler.DoBlock.checkBody(DoBlock.java:183)
[fuego:publish] at fuego.compiler.DoBlock.checkType(DoBlock.java:424)
[fuego:publish] at fuego.compiler.Method.checkType(Method.java:770)
[fuego:publish] at fuego.compiler.ObjectClass.checkType(ObjectClass.java:334)
[fuego:publish] at fuego.compiler.Node.compile(Node.java:1834)
[fuego:publish] at fuego.compiler.ObjectClass.compile(ObjectClass.java:356)
[fuego:publish] at fuego.compiler.FuegoCompiler.compile(FuegoCompiler.java:219)
[fuego:publish] at fuego.project.ModelCompiler.compile(ModelCompiler.java:504)
[fuego:publish] at fuego.project.ProcessChecker.checkScripts(ProcessChecker.java:449)
[fuego:publish] at fuego.project.ProcessChecker.check(ProcessChecker.java:166)
[fuego:publish] at fuego.project.publisher.ProcessPublisher.check(ProcessPublisher.java:305)
[fuego:publish] at fuego.project.publisher.ProjectPublisher.checkProcesses(ProjectPublisher.java:1388)
[fuego:publish] at fuego.project.publisher.ProjectPublisher.publish(ProjectPublisher.java:865)
[fuego:publish] at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(Unknown Source)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[fuego:publish] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[fuego:publish] at java.lang.reflect.Method.invoke(Method.java:611)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.Utils.executeTask(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.Utils.executeTask(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.PublishProjectTask.execute(Unknown Source)
[fuego:publish] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[fuego:publish] at org.apache.tools.ant.Task.perform(Task.java:364)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.processTasks(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.executeImpl(Unknown Source)
[fuego:publish] at fuego.tools.ant.BaseFuegoTask.execute(Unknown Source)
[fuego:publish] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[fuego:publish] at org.apache.tools.ant.Task.perform(Task.java:364)
[fuego:publish] at org.apache.tools.ant.Target.execute(Target.java:341)
[fuego:publish] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[fuego:publish] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[fuego:publish] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[fuego:publish] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[fuego:publish] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[fuego:publish] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[fuego:publish] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[fuego:publish] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[fuego:publish] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[fuego:publish] Caused by: java.lang.NullPointerException
[fuego:publish] at java.lang.Class.isAssignableFrom(Native Method)
[fuego:publish] at fuego.compiler.Conversion.isAssignable(Conversion.java:381)
[fuego:publish] at fuego.compiler.Conversion$Export.create(Conversion.java:1415)
[fuego:publish] at fuego.compiler.SetMember.checkTypeCompatibility(SetMember.java:387)
[fuego:publish] at fuego.compiler.SetMember.checkType(SetMember.java:297)
[fuego:publish] at fuego.compiler.Block.checkType(Block.java:175)
[fuego:publish] ... 42 more
[fuego:publish] java.lang.NullPointerException
[fuego:publish] java.lang.NullPointerException
[fuego:publish] at java.lang.Class.isAssignableFrom(Native Method)
[fuego:publish] at fuego.compiler.Conversion.isAssignable(Conversion.java:381)
[fuego:publish] at fuego.compiler.Conversion$Export.create(Conversion.java:1415)
[fuego:publish] at fuego.compiler.SetMember.checkTypeCompatibility(SetMember.java:387)
[fuego:publish] at fuego.compiler.SetMember.checkType(SetMember.java:297)
[fuego:publish] at fuego.compiler.Block.checkType(Block.java:175)
[fuego:publish] at fuego.compiler.DoBlock.checkBody(DoBlock.java:183)
[fuego:publish] at fuego.compiler.DoBlock.checkType(DoBlock.java:424)
[fuego:publish] at fuego.compiler.Block.checkType(Block.java:175)
[fuego:publish] at fuego.compiler.DoBlock.checkBody(DoBlock.java:183)
[fuego:publish] at fuego.compiler.DoBlock.checkType(DoBlock.java:424)
[fuego:publish] at fuego.compiler.Method.checkType(Method.java:770)
[fuego:publish] at fuego.compiler.ObjectClass.checkType(ObjectClass.java:334)
[fuego:publish] at fuego.compiler.Node.compile(Node.java:1834)
[fuego:publish] at fuego.compiler.ObjectClass.compile(ObjectClass.java:356)
[fuego:publish] at fuego.compiler.FuegoCompiler.compile(FuegoCompiler.java:219)
[fuego:publish] at fuego.project.ModelCompiler.compile(ModelCompiler.java:504)
[fuego:publish] at fuego.project.ProcessChecker.checkScripts(ProcessChecker.java:449)
[fuego:publish] at fuego.project.ProcessChecker.check(ProcessChecker.java:166)
[fuego:publish] at fuego.project.publisher.ProcessPublisher.check(ProcessPublisher.java:305)
[fuego:publish] at fuego.project.publisher.ProjectPublisher.checkProcesses(ProjectPublisher.java:1388)
[fuego:publish] at fuego.project.publisher.ProjectPublisher.publish(ProjectPublisher.java:865)
[fuego:publish] at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.impl.PublishProjectTaskImpl.execute(Unknown Source)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[fuego:publish] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[fuego:publish] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[fuego:publish] at java.lang.reflect.Method.invoke(Method.java:611)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.Utils.executeTask(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.Utils.executeTask(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.PublishProjectTask.execute(Unknown Source)
[fuego:publish] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[fuego:publish] at org.apache.tools.ant.Task.perform(Task.java:364)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.processTasks(Unknown Source)
[fuego:publish] at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.executeImpl(Unknown Source)
[fuego:publish] at fuego.tools.ant.BaseFuegoTask.execute(Unknown Source)
[fuego:publish] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[fuego:publish] at org.apache.tools.ant.Task.perform(Task.java:364)
[fuego:publish] at org.apache.tools.ant.Target.execute(Target.java:341)
[fuego:publish] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[fuego:publish] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[fuego:publish] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[fuego:publish] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[fuego:publish] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[fuego:publish] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[fuego:publish] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[fuego:publish] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[fuego:publish] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.