[ 
http://jira.codehaus.org/browse/JIBX-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258137#action_258137
 ] 

Don Corley commented on JIBX-422:
---------------------------------

Johann,
I really need an example of this failure before I can apply your patch.
I don't need your employer's code, just make a small sample project that only 
contains this failure.
To give you an example, here are two bug reports that I filed with another 
contributor on JiBX:
http://jira.codehaus.org/browse/JIBX-419
http://jira.codehaus.org/browse/JIBX-420
You will notice that the examples that I included in these bug reports are tiny 
projects with instructions on creating the failure. The actual project that 
failed is way too complicated to submit as a example.
I know it takes more time, but I need to be able to replicate the problem 
before I can fix it.
Thanks,
Don

> 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

        

------------------------------------------------------------------------------
Free Software Download: 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. 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