[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Created: (JIBX-422) NullPointerExceptions and
From:       "Johann Burkard (JIRA)" <jira () codehaus ! org>
Date:       2011-02-21 19:42:22
Message-ID: 21451198.16852.1298317342202.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]

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.3, JiBX 1.2.2
         Environment: Ubuntu Linux, Maven 3 something
            Reporter: Johann Burkard


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

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic