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

Mike Mormando edited comment on MFINDBUGS-86 at 8/12/09 8:58 AM:
-----------------------------------------------------------------

I just triple checked...after deleting the findbugs plugin entirely from my 
local repo I re-ran it and got the same errors, just to be sure something else 
was force a load of an older version. I'm going to get other people in my 
office to try things out as well. The only thing that I can say for certain is 
that if I start findbugs via maven, and the startup prolog includes "[INFO] 
File Encoding is Cp1252", everything runs fine. If instead the prolog has 
"[INFO] File Encoding is UTF-8" I get the exception
Exception in thread "Thread-4" java.lang.NoSuchMethodError: 
org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V

        at 
edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:93)
        at 
edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:414)
        at 
edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:65)
        at 
edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:39)
        at 
edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:214)
        at 
edu.umd.cs.findbugs.FindBugs2.buildReferencedClassSet(FindBugs2.java:683)
        at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:184)
        at edu.umd.cs.findbugs.gui2.BugLoader.doAnalysis(BugLoader.java:80)
        at 
edu.umd.cs.findbugs.gui2.AnalyzingDialog$AnalysisThread.run(AnalyzingDialog.java:232)



      was (Author: mezmo):
    I just triple checked...after deleting the findbugs plugin entirely from my 
local repo I re-ran it and got the same errors, just to be sure something else 
was force a load of an older version.
  
> Changing project sourceEncoding to UTF-8 causing SAX parse error
> ----------------------------------------------------------------
>
>                 Key: MFINDBUGS-86
>                 URL: http://jira.codehaus.org/browse/MFINDBUGS-86
>             Project: Maven 2.x FindBugs Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Windows XP JDK-1.6,and JDK 1.5 on Debian AMD-64, maven 
> 2.1 and 2.2.
>            Reporter: Mike Mormando
>            Assignee: Garvin LeClaire
>
> This effects either the plugin version 2.2-rc1 or findbugs proper, 1.3.9rc1. 
> I just set the sourceEncoding on my projects to UTF-8 in the POM properties, 
> and I get a SAX error when findbugs creates its XML file. It works fine with 
> plugin 2.1 and findbugs 1.3.8.

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


Reply via email to