axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Sosnoski (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-2549) Sample quickstartjibx cannot be compiled with Ant1.6.5. Throws NPE
Date Sun, 08 Jul 2007 01:33:04 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Sosnoski closed AXIS2-2549.
----------------------------------


> Sample quickstartjibx cannot be compiled with Ant1.6.5. Throws NPE
> ------------------------------------------------------------------
>
>                 Key: AXIS2-2549
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2549
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>            Reporter: Swati Sinha
>            Assignee: Dennis Sosnoski
>            Priority: Critical
>             Fix For: nightly
>
>
> Null Pointer Exception when compiling quickstartjibx. (ant 1.6.5)
> Stack trace is as follows:
> C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx>\apache-ant-1.6.5\bin\ant -v generate.service
> Apache Ant version 1.6.5 compiled on June 2 2005
> Buildfile: build.xml
> Detected Java version: 1.5 in: c:\jdk1.5.0_09\jre
> Detected OS: Windows XP
> parsing buildfile C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx\build.xml with URI
= file:///C:/axis2/axis2-1.2-SNAPSHOT/samples/quickstartjibx/build.xml
> Project base dir set to: C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx
>  [property] Loading Environment env.
> Build sequence for target(s) `generate.service' is [init, generate.service]
> Complete build sequence is [init, generate.service, generate.client, run.client, clean,
generate.all, ]
> init:
>    [delete] Deleting directory C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx\build
>    [delete] Deleting directory C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx\build\service
>    [delete] Deleting directory C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx\build
>     [mkdir] Created dir: C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx\build
> generate.service:
> BUILD FAILED
> C:\axis2\axis2-1.2-SNAPSHOT\samples\quickstartjibx\build.xml:41: org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.NullPointerException
>         at org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:327)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>         at org.apache.tools.ant.Main.runBuild(Main.java:668)
>         at org.apache.tools.ant.Main.startAnt(Main.java:187)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:255)
>         at org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:325)
>         ... 12 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.jibx.CodeGenerationUtility.engage(CodeGenerationUtility.java:580)
>         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:585)
>         at org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtension.java:74)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:208)
>         ... 13 more
> --- Nested Exception ---
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.NullPointerException
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:255)
>         at org.apache.axis2.tool.ant.AntCodegenTask.execute(AntCodegenTask.java:325)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>         at org.apache.tools.ant.Main.runBuild(Main.java:668)
>         at org.apache.tools.ant.Main.startAnt(Main.java:187)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.jibx.CodeGenerationUtility.engage(CodeGenerationUtility.java:580)
>         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:585)
>         at org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtension.java:74)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:208)
>         ... 13 more
> Total time: 2 seconds

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message