Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] An internal error occurred during: "Photran indexer"

Hi,

I searched the list archive and elsewhere for similar problems, but did not see a solution. Does anybody have an idea on how to fix this?

Here is the stack trace after the indexer exits with an error:

java.lang.NullPointerException
at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTListNode(Parser.java:8102) at org.eclipse.photran.internal.core.parser.Parser$ASTListNode.accept(Parser.java:7549) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTFormatStmtNode(Parser.java:8234) at org.eclipse.photran.internal.core.parser.ASTFormatStmtNode.accept(ASTFormatStmtNode.java:60) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTListNode(Parser.java:8102) at org.eclipse.photran.internal.core.parser.Parser$ASTListNode.accept(Parser.java:7549) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTIfConstructNode(Parser.java:8250) at org.eclipse.photran.internal.core.parser.ASTIfConstructNode.accept(ASTIfConstructNode.java:92) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTListNode(Parser.java:8102) at org.eclipse.photran.internal.core.parser.Parser$ASTListNode.accept(Parser.java:7549) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.analysis.binding.ImplicitSpecCollector.visitASTSubroutineSubprogramNode(ImplicitSpecCollector.java:80) at org.eclipse.photran.internal.core.parser.ASTSubroutineSubprogramNode.accept(ASTSubroutineSubprogramNode.java:92) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTListNode(Parser.java:8102) at org.eclipse.photran.internal.core.parser.Parser$ASTListNode.accept(Parser.java:7549) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.analysis.binding.ImplicitSpecCollector.visitASTModuleNode(ImplicitSpecCollector.java:86) at org.eclipse.photran.internal.core.parser.ASTModuleNode.accept(ASTModuleNode.java:68) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTListNode(Parser.java:8102) at org.eclipse.photran.internal.core.parser.Parser$ASTListNode.accept(Parser.java:7549) at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:8097) at org.eclipse.photran.internal.core.analysis.binding.ImplicitSpecCollector.visitASTExecutableProgramNode(ImplicitSpecCollector.java:62) at org.eclipse.photran.internal.core.parser.ASTExecutableProgramNode.accept(ASTExecutableProgramNode.java:44)
   at org.eclipse.photran.core.FortranAST.accept(FortranAST.java:45)
at org.eclipse.photran.internal.core.analysis.binding.Binder.bind(Binder.java:19) at org.eclipse.photran.core.vpg.PhotranVPGBuilder.populateVPG(PhotranVPGBuilder.java:339) at org.eclipse.photran.core.vpg.PhotranVPGBuilder.populateVPG(PhotranVPGBuilder.java:1)
   at bz.over.vpg.VPG.computeEdgesAndAnnotations(VPG.java:178)
   at bz.over.vpg.VPG.acquireTransientAST(VPG.java:123)
   at bz.over.vpg.VPG.forceRecomputationOfEdgesAndAnnotations(VPG.java:211)
at bz.over.vpg.eclipse.EclipseVPG.indexIfNotUpToDate(EclipseVPG.java:411) at bz.over.vpg.eclipse.EclipseVPG$WorkspaceSyncResourceVisitor.index(EclipseVPG.java:178) at bz.over.vpg.eclipse.EclipseVPG.ensureVPGIsUpToDate(EclipseVPG.java:117) at bz.over.vpg.eclipse.EclipseVPG$VPGInitialWorkspaceSyncJob.runInWorkspace(EclipseVPG.java:96) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Java and eclipse build information is as follows:
eclipse.buildId=M20080911-1700
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

Thanks in advance for any suggestions.

Chona




Back to the top