[ 
http://jira.codehaus.org/browse/JIBX-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Don Corley reassigned JIBX-422:
-------------------------------

    Assignee: Don Corley

> NullPointerExceptions and wrong paths when using the JiBX Maven plugin
> ----------------------------------------------------------------------
>
>                 Key: JIBX-422
>                 URL: http://jira.codehaus.org/browse/JIBX-422
>             Project: JiBX
>          Issue Type: Bug
>          Components: maven plugin
>    Affects Versions: JiBX 1.2.2, JiBX 1.2.3
>         Environment: Ubuntu Linux, Maven 3 something
>            Reporter: Johann Burkard
>            Assignee: Don Corley
>
> I have been trying to get the Maven-JiBX plugin to work on a project I work 
> on. The binding files are in src/main/binding
> With maven-jibx-plugin 1.2.3, jibx-run 1.2.2 and jibx-extras 1.2.2 in the 
> dependencies, I get:
> {code}
> Caused by: java.lang.NullPointerException
>       at 
> org.jibx.binding.classes.MungedClass.checkDirectory(MungedClass.java:238)
>       at org.jibx.binding.classes.BoundClass.getInstance(BoundClass.java:405)
>       at org.jibx.binding.classes.BoundClass.getInstance(BoundClass.java:443)
>       at org.jibx.binding.def.ObjectBinding.<init>(ObjectBinding.java:294)
> {code}
> With maven-jibx-plugin 1.2.2, jibx-run 1.2.2 and jibx-extras 1.2.2 in the 
> dependencies, I get:
> {code}
> Caused by: java.io.FileNotFoundException: 
> .../.hudson/jobs/<jobname>/workspace/<project>/target/classes/config/<project>/bindings/<project>/JiBX_binding_<project>_request_commonFactory.class
>  (No such file or directory)
>       at java.io.FileOutputStream.open(Native Method)
>       at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>       at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>       at org.jibx.binding.classes.ClassFile.writeFile(ClassFile.java:1999)
>       at 
> org.jibx.binding.classes.MungedClass.writeChanges(MungedClass.java:424)
> {code}
> Note that /target/classes/config? Shouldn't that be /target/classes?
> Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to