Closed yiming-tang-cs closed 6 years ago
This seems to be problems with your local configuration and nothing fundamentally having to do with the projects themselves.
1.1 elasticsearch Windows does not allow the file name containing ":". I will use my another computer to test it.
1.2 JabRef The developer set the name of root project. After I deleted setting, it can be imported.
No idea for 2 and 3 now.
Now, I can get a NPE with description.
!ENTRY org.eclipse.jdt.ui 4 10001 2018-01-13 18:11:05.880
!MESSAGE Internal Error
!STACK 0
java.lang.NullPointerException
at edu.cuny.hunter.streamrefactoring.core.analysis.StreamAnalyzer.visit(StreamAnalyzer.java:180)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:231)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2844)
at org.eclipse.jdt.core.dom.IfStatement.accept0(IfStatement.java:190)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2867)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:137)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2844)
at org.eclipse.jdt.core.dom.LambdaExpression.accept0(LambdaExpression.java:212)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2867)
at org.eclipse.jdt.core.dom.MethodInvocation.accept0(MethodInvocation.java:239)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2844)
at org.eclipse.jdt.core.dom.ExpressionStatement.accept0(ExpressionStatement.java:145)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2867)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:137)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2844)
at org.eclipse.jdt.core.dom.IfStatement.accept0(IfStatement.java:191)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2867)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:137)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2844)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:635)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2867)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:470)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2867)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:257)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2796)
at edu.cuny.hunter.streamrefactoring.core.refactorings.ConvertToParallelStreamRefactoringProcessor.checkFinalConditions(ConvertToParallelStreamRefactoringProcessor.java:191)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:222)
at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:162)
at edu.cuny.hunter.streamrefactoring.eval.handlers.EvaluateConvertToParallelStreamRefactoringHandler.lambda$0(EvaluateConvertToParallelStreamRefactoringHandler.java:167)
at org.eclipse.core.runtime.jobs.Job$1.run(Job.java:161)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
For some projects, NPE disappears.
For performance-tests of eclipse-collections, I got an another exception:
!ENTRY org.eclipse.jdt.ui 4 10001 2018-01-14 16:10:40.717
!MESSAGE Internal Error
!STACK 0
java.lang.IllegalArgumentException: root does not exist \performance-tests\target\classes
at com.ibm.wala.classLoader.DirectoryTreeModule.<init>(DirectoryTreeModule.java:35)
at com.ibm.wala.classLoader.BinaryDirectoryTreeModule.<init>(BinaryDirectoryTreeModule.java:25)
at com.ibm.wala.ide.util.EclipseProjectPath.resolveSourcePathEntry(EclipseProjectPath.java:170)
at com.ibm.wala.ide.util.JavaEclipseProjectPath.resolveClasspathEntry(JavaEclipseProjectPath.java:83)
at com.ibm.wala.ide.util.JavaEclipseProjectPath.resolveClasspathEntry(JavaEclipseProjectPath.java:1)
at com.ibm.wala.ide.util.EclipseProjectPath.resolveClasspathEntries(EclipseProjectPath.java:292)
at com.ibm.wala.ide.util.JavaEclipseProjectPath.resolveProjectClasspathEntries(JavaEclipseProjectPath.java:112)
at com.ibm.wala.ide.util.JavaEclipseProjectPath.resolveProjectClasspathEntries(JavaEclipseProjectPath.java:1)
at com.ibm.wala.ide.util.EclipseProjectPath.create(EclipseProjectPath.java:136)
at edu.cuny.hunter.streamrefactoring.core.wala.TestableJavaEclipseProjectPath.create(TestableJavaEclipseProjectPath.java:61)
at edu.cuny.hunter.streamrefactoring.core.wala.EclipseProjectAnalysisEngine.createProjectPath(EclipseProjectAnalysisEngine.java:119)
at edu.cuny.hunter.streamrefactoring.core.wala.EclipseProjectAnalysisEngine.buildAnalysisScope(EclipseProjectAnalysisEngine.java:67)
at edu.cuny.hunter.streamrefactoring.core.analysis.StreamAnalyzer.analyze(StreamAnalyzer.java:104)
at edu.cuny.hunter.streamrefactoring.core.refactorings.ConvertToParallelStreamRefactoringProcessor.checkFinalConditions(ConvertToParallelStreamRefactoringProcessor.java:198)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:222)
at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:162)
at edu.cuny.hunter.streamrefactoring.eval.handlers.EvaluateConvertToParallelStreamRefactoringHandler.lambda$0(EvaluateConvertToParallelStreamRefactoringHandler.java:167)
at org.eclipse.core.runtime.jobs.Job$1.run(Job.java:161)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
The result file: https://docs.google.com/spreadsheets/d/1HTKcgdNXjBeVBazN8_bPh7711CjKubRpM0m2WF5X994/edit?usp=sharing
1.1 elasticsearch
1.2 JabRef
e.g.,
This NPE doesn't have any description.