You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2005/06/09 09:21:09 UTC

[jira] Created: (MPJXR-26) package-info.java files cause a NullPointerException

package-info.java files cause a NullPointerException
----------------------------------------------------

         Key: MPJXR-26
         URL: http://jira.codehaus.org/browse/MPJXR-26
     Project: maven-jxr-plugin
        Type: Bug
    Versions: 1.4.3    
    Reporter: Carlos Sanchez
 Assigned to: Carlos Sanchez 
     Fix For: 1.4.3


If any package-info.java file is present in the source folder a NullPointerException is thrown.


The issue is in CodeTransform.getHeader()

FileManager.getInstance().getFile(this.getCurrentFilename()).getClassType().getName())

getClassType() returns null

-- 
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


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


[jira] Updated: (MPJXR-26) package-info.java files cause a NullPointerException

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJXR-26?page=all ]

Carlos Sanchez updated MPJXR-26:
--------------------------------

    Version: 1.4.2

> package-info.java files cause a NullPointerException
> ----------------------------------------------------
>
>          Key: MPJXR-26
>          URL: http://jira.codehaus.org/browse/MPJXR-26
>      Project: maven-jxr-plugin
>         Type: Bug
>     Versions: 1.4.2, 1.4.3
>     Reporter: Carlos Sanchez
>     Assignee: Carlos Sanchez
>      Fix For: 1.4.3

>
>
> If any package-info.java file is present in the source folder a NullPointerException is thrown.
> The issue is in CodeTransform.getHeader()
> FileManager.getInstance().getFile(this.getCurrentFilename()).getClassType().getName())
> getClassType() returns null

-- 
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


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


[jira] Closed: (MPJXR-26) package-info.java files cause a NullPointerException

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJXR-26?page=all ]
     
Carlos Sanchez closed MPJXR-26:
-------------------------------

    Resolution: Fixed

> package-info.java files cause a NullPointerException
> ----------------------------------------------------
>
>          Key: MPJXR-26
>          URL: http://jira.codehaus.org/browse/MPJXR-26
>      Project: maven-jxr-plugin
>         Type: Bug
>     Versions: 1.4.2, 1.4.3
>     Reporter: Carlos Sanchez
>     Assignee: Carlos Sanchez
>      Fix For: 1.4.3

>
>
> If any package-info.java file is present in the source folder a NullPointerException is thrown.
> The issue is in CodeTransform.getHeader()
> FileManager.getInstance().getFile(this.getCurrentFilename()).getClassType().getName())
> getClassType() returns null

-- 
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


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


[jira] Reopened: (MPJXR-26) package-info.java files cause a NullPointerException

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJXR-26?page=all ]
     
Carlos Sanchez reopened MPJXR-26:
---------------------------------


> package-info.java files cause a NullPointerException
> ----------------------------------------------------
>
>          Key: MPJXR-26
>          URL: http://jira.codehaus.org/browse/MPJXR-26
>      Project: maven-jxr-plugin
>         Type: Bug
>     Versions: 1.4.2, 1.4.3
>     Reporter: Carlos Sanchez
>     Assignee: Carlos Sanchez
>      Fix For: 1.4.3

>
>
> If any package-info.java file is present in the source folder a NullPointerException is thrown.
> The issue is in CodeTransform.getHeader()
> FileManager.getInstance().getFile(this.getCurrentFilename()).getClassType().getName())
> getClassType() returns null

-- 
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


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


[jira] Closed: (MPJXR-26) package-info.java files cause a NullPointerException

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJXR-26?page=all ]
     
Carlos Sanchez closed MPJXR-26:
-------------------------------

    Resolution: Fixed

package-info.java files are now ignored

> package-info.java files cause a NullPointerException
> ----------------------------------------------------
>
>          Key: MPJXR-26
>          URL: http://jira.codehaus.org/browse/MPJXR-26
>      Project: maven-jxr-plugin
>         Type: Bug
>     Versions: 1.4.3
>     Reporter: Carlos Sanchez
>     Assignee: Carlos Sanchez
>      Fix For: 1.4.3

>
>
> If any package-info.java file is present in the source folder a NullPointerException is thrown.
> The issue is in CodeTransform.getHeader()
> FileManager.getInstance().getFile(this.getCurrentFilename()).getClassType().getName())
> getClassType() returns null

-- 
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


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