hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-21180) findbugs incurs DataflowAnalysisException for hbase-server module
Date Mon, 29 Oct 2018 20:04:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-21180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu resolved HBASE-21180.
----------------------------
    Resolution: Cannot Reproduce

> findbugs incurs DataflowAnalysisException for hbase-server module
> -----------------------------------------------------------------
>
>                 Key: HBASE-21180
>                 URL: https://issues.apache.org/jira/browse/HBASE-21180
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Priority: Minor
>
> Running findbugs, I noticed the following in hbase-server module:
> {code}
> [INFO] --- findbugs-maven-plugin:3.0.4:findbugs (default-cli) @ hbase-server ---
> [INFO] Fork Value is true
>      [java] The following errors occurred during analysis:
>      [java]   Error generating derefs for org.apache.hadoop.hbase.generated.master.table_jsp._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
>      [java]     edu.umd.cs.findbugs.ba.DataflowAnalysisException: can't get position
-1 of stack
>      [java]       At edu.umd.cs.findbugs.ba.Frame.getStackValue(Frame.java:250)
>      [java]       At edu.umd.cs.findbugs.ba.Hierarchy.resolveMethodCallTargets(Hierarchy.java:743)
>      [java]       At edu.umd.cs.findbugs.ba.npe.DerefFinder.getAnalysis(DerefFinder.java:141)
>      [java]       At edu.umd.cs.findbugs.classfile.engine.bcel.UsagesRequiringNonNullValuesFactory.analyze(UsagesRequiringNonNullValuesFactory.java:50)
>      [java]       At edu.umd.cs.findbugs.classfile.engine.bcel.UsagesRequiringNonNullValuesFactory.analyze(UsagesRequiringNonNullValuesFactory.java:31)
>      [java]       At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.analyzeMethod(AnalysisCache.java:369)
>      [java]       At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getMethodAnalysis(AnalysisCache.java:322)
>      [java]       At edu.umd.cs.findbugs.ba.ClassContext.getMethodAnalysis(ClassContext.java:1005)
>      [java]       At edu.umd.cs.findbugs.ba.ClassContext.getUsagesRequiringNonNullValues(ClassContext.java:325)
>      [java]       At edu.umd.cs.findbugs.detect.FindNullDeref.foundGuaranteedNullDeref(FindNullDeref.java:1510)
>      [java]       At edu.umd.cs.findbugs.ba.npe.NullDerefAndRedundantComparisonFinder.reportBugs(NullDerefAndRedundantComparisonFinder.java:361)
>      [java]       At edu.umd.cs.findbugs.ba.npe.NullDerefAndRedundantComparisonFinder.examineNullValues(NullDerefAndRedundantComparisonFinder.java:266)
>      [java]       At edu.umd.cs.findbugs.ba.npe.NullDerefAndRedundantComparisonFinder.execute(NullDerefAndRedundantComparisonFinder.java:164)
>      [java]       At edu.umd.cs.findbugs.detect.FindNullDeref.analyzeMethod(FindNullDeref.java:278)
>      [java]       At edu.umd.cs.findbugs.detect.FindNullDeref.visitClassContext(FindNullDeref.java:209)
>      [java]       At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
>      [java]       At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1089)
>      [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:283)
>      [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:393)
>      [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1200)
>      [java] The following classes needed for analysis were missing:
>      [java]   accept
>      [java]   apply
>      [java]   run
>      [java]   test
>      [java]   call
>      [java]   exec
>      [java]   getAsInt
>      [java]   applyAsLong
>      [java]   storeFile
>      [java]   get
>      [java]   visit
>      [java]   compare
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message