Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: doc/FAQ.html

Issue 594833004: Roll FindBugs from 2.0.3 to 3.0.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/findbugs.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « doc/Changes.html ('k') | doc/allBugDescriptions.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>FindBugs FAQ</title> 3 <title>FindBugs FAQ</title>
4 <link rel="stylesheet" type="text/css" href="findbugs.css"> 4 <link rel="stylesheet" type="text/css" href="findbugs.css">
5 5
6 </head> 6 </head>
7 7
8 <body> 8 <body>
9 9
10 <table width="100%"><tr> 10 <table width="100%"><tr>
11 11
12 12
13 <td bgcolor="#b9b9fe" valign="top" align="left" width="20%"> 13 <td bgcolor="#b9b9fe" valign="top" align="left" width="20%">
14 <table width="100%" cellspacing="0" border="0"> 14 <table width="100%" cellspacing="0" border="0">
15 <tr><td><a class="sidebar" href="index.html"><img src="umdFindbugs.png" alt="Fin dBugs"></a></td></tr> 15 <tr><td><a class="sidebar" href="index.html"><img src="umdFindbugs.png" alt="Fin dBugs"></a></td></tr>
16 16
17 <tr><td>&nbsp;</td></tr> 17 <tr><td>&nbsp;</td></tr>
18 18
19 <tr><td><b>Docs and Info</b></td></tr> 19 <tr><td><b>Docs and Info</b></td></tr>
20 <tr><td><font size="-1"><a class="sidebar" href="findbugs2.html">FindBugs 2.0</a ></font></td></tr> 20 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="findbugs2.html">FindBugs 2.0</a></font></td></tr>
21 <tr><td><font size="-1"><a class="sidebar" href="demo.html">Demo and data</a></f ont></td></tr> 21 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="demo.html">Demo and data< /a></font></td></tr>
22 <tr><td><font size="-1"><a class="sidebar" href="users.html">Users and supporter s</a></font></td></tr> 22 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="users.html">Users and sup porters</a></font></td></tr>
23 <tr><td><font size="-1"><a class="sidebar" href="http://findbugs.blogspot.com/"> FindBugs blog</a></font></td></tr> 23 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="http://findbugs.blogspot. com/">FindBugs blog</a></font></td></tr>
24 <tr><td><font size="-1"><a class="sidebar" href="factSheet.html">Fact sheet</a>< /font></td></tr> 24 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="factSheet.html">Fact shee t</a></font></td></tr>
25 <tr><td><font size="-1"><a class="sidebar" href="manual/index.html">Manual</a></ font></td></tr> 25 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="manual/index.html">Manual </a></font></td></tr>
26 <tr><td><font size="-1"><a class="sidebar" href="ja/manual/index.html">Manual(ja /&#26085;&#26412;&#35486;)</a></font></td></tr> 26 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="ja/manual/index.html">Man ual(ja/&#26085;&#26412;&#35486;)</a></font></td></tr>
27 <tr><td><font size="-1"><a class="sidebar" href="FAQ.html">FAQ</a></font></td></ tr> 27 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="FAQ.html">FAQ</a></font>< /td></tr>
28 <tr><td><font size="-1"><a class="sidebar" href="bugDescriptions.html">Bug descr iptions</a></font></td></tr> 28 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="bugDescriptions.html">Bug descriptions</a></font></td></tr>
29 <tr><td><font size="-1"><a class="sidebar" href="mailingLists.html">Mailing list s</a></font></td></tr> 29 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="bugDescriptions_ja.html"> Bug descriptions(ja/&#26085;&#26412;&#35486;)</a></font></td></tr>
30 <tr><td><font size="-1"><a class="sidebar" href="publications.html">Documents an d Publications</a></font></td></tr> 30 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="bugDescriptions_fr.html"> Bug descriptions(fr)</a></font></td></tr>
31 <tr><td><font size="-1"><a class="sidebar" href="links.html">Links</a></font></t d></tr> 31 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="mailingLists.html">Mailin g lists</a></font></td></tr>
32 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="publications.html">Docume nts and Publications</a></font></td></tr>
33 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="links.html">Links</a></fo nt></td></tr>
32 34
33 <tr><td>&nbsp;</td></tr> 35 <tr><td>&nbsp;</td></tr>
34 36
35 <tr><td><a class="sidebar" href="downloads.html"><b>Downloads</b></a></td></tr> 37 <tr><td><a class="sidebar" href="downloads.html"><b>Downloads</b></a></td></tr>
36 38
37 <tr><td>&nbsp;</td></tr> 39 <tr><td>&nbsp;</td></tr>
38 40
39 <tr><td><a class="sidebar" href="http://www.cafeshops.com/findbugs"><b>FindBugs Swag</b></a></td></tr> 41 <tr><td><a class="sidebar" href="http://www.cafeshops.com/findbugs"><b>FindBugs Swag</b></a></td></tr>
40 42
41 <tr><td>&nbsp;</td></tr> 43 <tr><td>&nbsp;</td></tr>
42 44
43 <tr><td><b>Development</b></td></tr> 45 <tr><td><b>Development</b></td></tr>
44 <tr><td><font size="-1"><a class="sidebar" href="http://sourceforge.net/tracker/ ?group_id=96405">Open bugs</a></font></td></tr> 46 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="http://sourceforge.net/tr acker/?group_id=96405">Open bugs</a></font></td></tr>
45 <tr><td><font size="-1"><a class="sidebar" href="reportingBugs.html">Reporting b ugs</a></font></td></tr> 47 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="reportingBugs.html">Repor ting bugs</a></font></td></tr>
46 <tr><td><font size="-1"><a class="sidebar" href="contributing.html">Contributing </a></font></td></tr> 48 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="contributing.html">Contri buting</a></font></td></tr>
47 <tr><td><font size="-1"><a class="sidebar" href="team.html">Dev team</a></font>< /td></tr> 49 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="team.html">Dev team</a></ font></td></tr>
48 <tr><td><font size="-1"><a class="sidebar" href="api/index.html">API</a> <a clas s="sidebar" href="api/overview-summary.html">[no frames]</a></font></td></tr> 50 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="api/index.html">API</a> < a class="sidebar" href="api/overview-summary.html">[no frames]</a></font></td></ tr>
49 <tr><td><font size="-1"><a class="sidebar" href="Changes.html">Change log</a></f ont></td></tr> 51 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="Changes.html">Change log< /a></font></td></tr>
50 <tr><td><font size="-1"><a class="sidebar" href="http://sourceforge.net/projects /findbugs">SF project page</a></font></td></tr> 52 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="http://sourceforge.net/pr ojects/findbugs">SF project page</a></font></td></tr>
51 <tr><td><font size="-1"><a class="sidebar" href="http://code.google.com/p/findbu gs/source/browse/">Browse source</a></font></td></tr> 53 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="http://code.google.com/p/ findbugs/source/browse/">Browse source</a></font></td></tr>
52 <tr><td><font size="-1"><a class="sidebar" href="http://code.google.com/p/findbu gs/source/list">Latest code changes</a></font></td></tr> 54 <tr><td><font size="-1">&nbsp;<a class="sidebar" href="http://code.google.com/p/ findbugs/source/list">Latest code changes</a></font></td></tr>
53 </table> 55 </table>
54 </td> 56 </td>
55 57
56 <td> 58 <td>
57 <h1>FindBugs FAQ</h1> 59 <h1>FindBugs FAQ</h1>
58 60
59 <p> This document contains answers to frequently asked questions about 61 <p> This document contains answers to frequently asked questions about
60 <a href="index.html">FindBugs</a>.&nbsp; If you just want general 62 <a href="index.html">FindBugs</a>.&nbsp; If you just want general
61 information about FindBugs, have a look at the 63 information about FindBugs, have a look at the
62 <a href="factSheet.html">fact sheet</a> and the 64 <a href="factSheet.html">fact sheet</a> and the
63 <a href="manual/index.html">manual</a>. 65 <a href="manual/index.html">manual</a>.
64 66
65 <h2>Contents</h2> 67 <h2>Contents</h2>
66 <ol> 68 <ol>
67 <li> <a href="#q1">I'm getting java.lang.UnsupportedClassVersionError when I try to run FindBugs</a> 69 <li> <a href="#q1">I'm getting java.lang.UnsupportedClassVersionError when I try to run FindBugs</a>
68 <li> <a href="#q2">When I click the "Find Bugs!" button, I get a NoSuchMethodErr or or VerifyError</a> 70 <li> <a href="#q2">When I click the "Find Bugs!" button, I get a NoSuchMethodErr or or VerifyError</a>
69 <li> <a href="#q3">FindBugs is running out of memory, or is taking a long time t o finish</a> 71 <li> <a href="#q3">FindBugs is running out of memory, or is taking a long time t o finish</a>
70 <li> <a href="#q4">What is the "auxiliary classpath"? Why should I specify it?< /a> 72 <li> <a href="#q4">What is the "auxiliary classpath"? Why should I specify it?< /a>
71 <li> <a href="#q5">The Eclipse plugin doesn't load</a> 73 <li> <a href="#q5">The Eclipse plugin doesn't load</a>
72 <li> <a href="#q6">I'm getting a lot of false "OS" and "ODR" warnings</a> 74 <li> <a href="#q6">I'm getting a lot of false "OS" and "ODR" warnings</a>
73 <li> <a href="#q7">The Eclipse plugin loads, but doesn't work correctly</a> 75 <li> <a href="#q7">The Eclipse plugin loads, but doesn't work correctly</a>
74 <li> <a href="#q8">Where is the Maven plugin for FindBugs?</a> 76 <li> <a href="#q8">Where is the Maven plugin for FindBugs?</a>
75 <li> <a href="#q9">Where is the NetBeans plugin for FindBugs?</a> 77 <li> <a href="#q9">Where is the NetBeans plugin for FindBugs?</a>
76 </ol> 78 </ol>
77 79
78 <h2><a name="q1">Q1: I'm getting java.lang.UnsupportedClassVersionError when I t ry to run FindBugs</a></h2> 80 <h2><a name="q1">Q1: I'm getting java.lang.UnsupportedClassVersionError when I t ry to run FindBugs</a></h2>
79 81
80 <p> FindBugs requires JRE 1.5.0 or later to run.&nbsp; If you use an earlier ver sion, 82 <p> FindBugs requires JRE 1.7.0 or later to run.&nbsp; If you use an earlier ver sion,
81 you will see an exception error message similar to the following: 83 you will see an exception error message similar to the following:
82 <pre> 84 <pre>
83 Exception in thread "main" java.lang.UnsupportedClassVersionError: 85 Exception in thread "main" java.lang.UnsupportedClassVersionError:
84 edu/umd/cs/findbugs/gui/FindBugsFrame (Unsupported major.minor version 48.0) 86 edu/umd/cs/findbugs/gui/FindBugsFrame (Unsupported major.minor version 51.0)
85 </pre> 87 </pre>
86 The solution is to upgrade to JRE 1.5.0 or later. 88 The solution is to upgrade to JRE 1.7.0 or later.
87 89
88 <h2><a name="q2">Q2: When I click the "Find Bugs!" button, I get a NoSuchMethodE rror or VerifyError</a></h2> 90 <h2><a name="q2">Q2: When I click the "Find Bugs!" button, I get a NoSuchMethodE rror or VerifyError</a></h2>
89 91
90 <p> The symptom of this bug is that when you start the FindBugs analysis, 92 <p> The symptom of this bug is that when you start the FindBugs analysis,
91 you see an exception similar to the following: 93 you see an exception similar to the following:
92 <pre> 94 <pre>
93 java.lang.NoSuchMethodError: org.apache.bcel.Repository.setRepository(Lorg/apach e/bcel/util/Repository;)V 95 java.lang.NoSuchMethodError: org.apache.bcel.Repository.setRepository(Lorg/apach e/bcel/util/Repository;)V
94 at edu.umd.cs.findbugs.FindBugs.clearRepository(FindBugs.java:483) 96 at edu.umd.cs.findbugs.FindBugs.clearRepository(FindBugs.java:483)
95 ... 97 ...
96 </pre> 98 </pre>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 <p> In all of these cases, you should be able to run FindBugs 138 <p> In all of these cases, you should be able to run FindBugs
137 by either removing the offending version of BCEL from your JRE, 139 by either removing the offending version of BCEL from your JRE,
138 or installing a clean JRE or JDK and using that to run FindBugs. 140 or installing a clean JRE or JDK and using that to run FindBugs.
139 141
140 <p> Many thanks to Peter Meulmeester, Michael Levi, and Thomas Klaeger 142 <p> Many thanks to Peter Meulmeester, Michael Levi, and Thomas Klaeger
141 for providing information on this problem. 143 for providing information on this problem.
142 144
143 <h2><a name="q3">Q3: FindBugs is running out of memory, or is taking a long time to finish</a></h2> 145 <h2><a name="q3">Q3: FindBugs is running out of memory, or is taking a long time to finish</a></h2>
144 146
145 <p> In general, FindBugs requires lots of memory and a relatively 147 <p> In general, FindBugs requires lots of memory and a relatively
146 fast CPU. For large applications, 512M or more of heap space may be 148 fast CPU. For large applications, 1024M or more of heap space may be
147 required. By default, FindBugs allocates 256M of heap space. 149 required. By default, FindBugs allocates 768M of heap space.
148 You can increase this using the <code>-maxHeap <i>n</i></code> option, 150 You can increase this using the <code>-maxHeap <i>n</i></code> option,
149 where <i>n</i> is the number of megabytes of heap space to allocate. 151 where <i>n</i> is the number of megabytes of heap space to allocate.
150 152
151 153
152 <h2><a name="q4">Q4: What is the "auxiliary classpath"? Why should I specify it ?</a></h2> 154 <h2><a name="q4">Q4: What is the "auxiliary classpath"? Why should I specify it ?</a></h2>
153 155
154 <p> Many important facts about a Java class require information about 156 <p> Many important facts about a Java class require information about
155 the classes that it references.&nbsp; For example: 157 the classes that it references.&nbsp; For example:
156 <ul> 158 <ul>
157 <li> What other classes and interfaces the class inherits from 159 <li> What other classes and interfaces the class inherits from
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 <p> 254 <p>
253 <A href="http://sourceforge.net"><IMG src="http://sourceforge.net/sflogo.php?gro up_id=96405&amp;type=5" width="210" height="62" border="0" alt="SourceForge.net Logo" /></A> 255 <A href="http://sourceforge.net"><IMG src="http://sourceforge.net/sflogo.php?gro up_id=96405&amp;type=5" width="210" height="62" border="0" alt="SourceForge.net Logo" /></A>
254 256
255 </td> 257 </td>
256 258
257 </table> 259 </table>
258 260
259 </body> 261 </body>
260 262
261 </html> 263 </html>
OLDNEW
« no previous file with comments | « doc/Changes.html ('k') | doc/allBugDescriptions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698