[jira] Created: (MFINDBUGS-93) Unable to parse XML Findbugs report when errors are reported on java code using generics

View: New views
6 Messages — Rating Filter:   Alert me  

[jira] Created: (MFINDBUGS-93) Unable to parse XML Findbugs report when errors are reported on java code using generics

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unable to parse XML Findbugs report when errors are reported on java code using generics
----------------------------------------------------------------------------------------

                 Key: MFINDBUGS-93
                 URL: http://jira.codehaus.org/browse/MFINDBUGS-93
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Olivier Gaudin



Here is an extract of the findbugs.xml file generated by the Maven Findbugs plugin when analyzing the Apache commons VFS project :

{code}
<Errors>
<AnalysisError>Error analyzing public static org.apache.commons.httpclient.HttpClient createConnection(org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, org.apache.commons.vfs.FileSystemOptions fileSystemOptions)
                throws org.apache.commons.vfs.FileSystemException for unconditional deref training </AnalysisError>
<AnalysisError>Error analyzing public void <init>(org.apache.commons.httpclient.methods.GetMethod method)
                throws java.io.IOException for unconditional deref training </AnalysisError>
{code}

As the source code contains the "<init>" tag, the XML is obviously corrupted.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MFINDBUGS-93) Unable to parse XML Findbugs report when errors are reported on java code using generics

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MFINDBUGS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196994#action_196994 ]

Garvin LeClaire commented on MFINDBUGS-93:
------------------------------------------

Try it with the 2.2-SNAPSHOT version and let me know the results.

Garvin


> Unable to parse XML Findbugs report when errors are reported on java code using generics
> ----------------------------------------------------------------------------------------
>
>                 Key: MFINDBUGS-93
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-93
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Olivier Gaudin
>            Assignee: Garvin LeClaire
>
> Here is an extract of the findbugs.xml file generated by the Maven Findbugs plugin when analyzing the Apache commons VFS project :
> {code}
> <Errors>
> <AnalysisError>Error analyzing public static org.apache.commons.httpclient.HttpClient createConnection(org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, org.apache.commons.vfs.FileSystemOptions fileSystemOptions)
> throws org.apache.commons.vfs.FileSystemException for unconditional deref training </AnalysisError>
> <AnalysisError>Error analyzing public void <init>(org.apache.commons.httpclient.methods.GetMethod method)
> throws java.io.IOException for unconditional deref training </AnalysisError>
> {code}
> As the source code contains the "<init>" tag, the XML is obviously corrupted.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Assigned: (MFINDBUGS-93) Unable to parse XML Findbugs report when errors are reported on java code using generics

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Garvin LeClaire reassigned MFINDBUGS-93:
----------------------------------------

    Assignee: Garvin LeClaire

> Unable to parse XML Findbugs report when errors are reported on java code using generics
> ----------------------------------------------------------------------------------------
>
>                 Key: MFINDBUGS-93
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-93
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Olivier Gaudin
>            Assignee: Garvin LeClaire
>
> Here is an extract of the findbugs.xml file generated by the Maven Findbugs plugin when analyzing the Apache commons VFS project :
> {code}
> <Errors>
> <AnalysisError>Error analyzing public static org.apache.commons.httpclient.HttpClient createConnection(org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, org.apache.commons.vfs.FileSystemOptions fileSystemOptions)
> throws org.apache.commons.vfs.FileSystemException for unconditional deref training </AnalysisError>
> <AnalysisError>Error analyzing public void <init>(org.apache.commons.httpclient.methods.GetMethod method)
> throws java.io.IOException for unconditional deref training </AnalysisError>
> {code}
> As the source code contains the "<init>" tag, the XML is obviously corrupted.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MFINDBUGS-93) Unable to parse XML Findbugs report when errors are reported on java code using generics

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MFINDBUGS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197133#action_197133 ]

Freddy Mallet commented on MFINDBUGS-93:
----------------------------------------

Hi Garvin, I've compile 2.2-SNAPSHOT version locally but when I want to use it I systematically get the following error :

{code}
     [java] The following classes needed for analysis were missing:
     [java]   javax.annotation.Nonnull
     [java] Missing classes: 1
{code}

Do you have any idea to help me fix this error in order to test the SNPASHOT version ?
Thanks for your help,
Freddy


> Unable to parse XML Findbugs report when errors are reported on java code using generics
> ----------------------------------------------------------------------------------------
>
>                 Key: MFINDBUGS-93
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-93
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Olivier Gaudin
>            Assignee: Garvin LeClaire
>
> Here is an extract of the findbugs.xml file generated by the Maven Findbugs plugin when analyzing the Apache commons VFS project :
> {code}
> <Errors>
> <AnalysisError>Error analyzing public static org.apache.commons.httpclient.HttpClient createConnection(org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, org.apache.commons.vfs.FileSystemOptions fileSystemOptions)
> throws org.apache.commons.vfs.FileSystemException for unconditional deref training </AnalysisError>
> <AnalysisError>Error analyzing public void <init>(org.apache.commons.httpclient.methods.GetMethod method)
> throws java.io.IOException for unconditional deref training </AnalysisError>
> {code}
> As the source code contains the "<init>" tag, the XML is obviously corrupted.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MFINDBUGS-93) Unable to parse XML Findbugs report when errors are reported on java code using generics

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MFINDBUGS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197142#action_197142 ]

Garvin LeClaire commented on MFINDBUGS-93:
------------------------------------------

That is caused by an omission in Findbugs' dependency tree.  It is not part of your analysis. I am looking for a way to fix it now instead of waiting for the next Findbugs release.


Garvin



> Unable to parse XML Findbugs report when errors are reported on java code using generics
> ----------------------------------------------------------------------------------------
>
>                 Key: MFINDBUGS-93
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-93
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Olivier Gaudin
>            Assignee: Garvin LeClaire
>
> Here is an extract of the findbugs.xml file generated by the Maven Findbugs plugin when analyzing the Apache commons VFS project :
> {code}
> <Errors>
> <AnalysisError>Error analyzing public static org.apache.commons.httpclient.HttpClient createConnection(org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, org.apache.commons.vfs.FileSystemOptions fileSystemOptions)
> throws org.apache.commons.vfs.FileSystemException for unconditional deref training </AnalysisError>
> <AnalysisError>Error analyzing public void <init>(org.apache.commons.httpclient.methods.GetMethod method)
> throws java.io.IOException for unconditional deref training </AnalysisError>
> {code}
> As the source code contains the "<init>" tag, the XML is obviously corrupted.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (MFINDBUGS-93) Unable to parse XML Findbugs report when errors are reported on java code using generics

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Garvin LeClaire closed MFINDBUGS-93.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

> Unable to parse XML Findbugs report when errors are reported on java code using generics
> ----------------------------------------------------------------------------------------
>
>                 Key: MFINDBUGS-93
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-93
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Olivier Gaudin
>            Assignee: Garvin LeClaire
>             Fix For: 2.2
>
>
> Here is an extract of the findbugs.xml file generated by the Maven Findbugs plugin when analyzing the Apache commons VFS project :
> {code}
> <Errors>
> <AnalysisError>Error analyzing public static org.apache.commons.httpclient.HttpClient createConnection(org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, org.apache.commons.vfs.FileSystemOptions fileSystemOptions)
> throws org.apache.commons.vfs.FileSystemException for unconditional deref training </AnalysisError>
> <AnalysisError>Error analyzing public void <init>(org.apache.commons.httpclient.methods.GetMethod method)
> throws java.io.IOException for unconditional deref training </AnalysisError>
> {code}
> As the source code contains the "<init>" tag, the XML is obviously corrupted.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email