You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get NullPointerException when executing backward analysis:
> Task :dataflow:LiveVariablePlayground.main() FAILED
Exception in thread "main" java.lang.NullPointerException
at org.checkerframework.dataflow.analysis.BackwardAnalysisImpl.performAnalysisBlock(BackwardAnalysisImpl.java:134)
at org.checkerframework.dataflow.analysis.BackwardAnalysisImpl.performAnalysis(BackwardAnalysisImpl.java:86)
at org.checkerframework.dataflow.cfg.CFGVisualizeLauncher.generateDOTofCFG(CFGVisualizeLauncher.java:145)
at org.checkerframework.dataflow.cfg.playground.LiveVariablePlayground.main(LiveVariablePlayground.java:31)
Execution failed for task ':dataflow:LiveVariablePlayground.main()'.
> Process 'command '/opt/jdk/jdk-11/bin/java'' finished with non-zero exit value 1
BackwardAnalysis:
1. Add exception block's predecessor exception block to inputs (fix null pointer exception).
2. When running `runAnalysisFor()` with an exception block, pass a copied transfer input to `callTransferFunction()`.
ForwardAnalysis:
1. When running `runAnalysisFor()` with an exception block, pass a copied transfer input to `callTransferFunction()`. In the previous dataflow framework (before #3370), we passed a non-copied transfer input (https://github.com/typetools/checker-framework/pull/3370/files#diff-d4108228a0a5407e00c090c2e97d8b6dL401-L402). This seems a bug existing in the old dataflow framework.
Resolves#3447.
Get
NullPointerException
when executing backward analysis:A minimal test case:
This issue will be fixed in #3414.
The text was updated successfully, but these errors were encountered: