java.lang.NullPointerException at com.sun.source.util.TreePath.(TreePath.java:94) at org.netbeans.modules.java.source.matching.CopyFinder.checkListsWithMultistatementTrees(CopyFinder.java:724) at org.netbeans.modules.java.source.matching.CopyFinder.checkLists(CopyFinder.java:594) at org.netbeans.modules.java.source.matching.CopyFinder.visitBlock(CopyFinder.java:759) at org.netbeans.modules.java.source.matching.CopyFinder.visitBlock(CopyFinder.java:112) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:795) at com.sun.source.util.TreeScanner.scan(TreeScanner.java:76) at org.netbeans.modules.java.source.matching.CopyFinder.doSuperScan(CopyFinder.java:553) at org.netbeans.modules.java.source.matching.CopyFinder.superScan(CopyFinder.java:545) at org.netbeans.modules.java.source.matching.CopyFinder.scan(CopyFinder.java:440) at org.netbeans.modules.java.source.matching.CopyFinder.scan(CopyFinder.java:310) at org.netbeans.modules.java.source.matching.CopyFinder.internalComputeDuplicates(CopyFinder.java:177) at org.netbeans.api.java.source.matching.Matcher.match(Matcher.java:189) at org.netbeans.spi.java.hints.MatcherUtilities.matches(MatcherUtilities.java:85) at org.netbeans.spi.java.hints.MatcherUtilities.matches(MatcherUtilities.java:73) at org.netbeans.modules.java.hints.jdk.ConvertToARM.hint1Impl(ConvertToARM.java:188) at org.netbeans.modules.java.hints.jdk.ConvertToARM.hint11(ConvertToARM.java:160) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:299) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:751) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:528) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:282) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:233) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:204) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:180) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:147) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:113) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:83) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:558) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:734) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)