Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] photran indexer help

Thanks for sending this.  It looks like one of the changes I made to support Fortran 2003 accidentally broke part of the indexer.  We'll fix it in beta 6.  Thanks again.

Jeff


Christian Meisenbichler wrote:
does this help?

!ENTRY org.eclipse.core.jobs 4 2 2009-03-02 13:32:56.800
!MESSAGE An internal error occurred during: "Photran indexer".
!STACK 0
java.lang.Error: java.lang.NullPointerException
	at org.eclipse.photran.internal.core.analysis.binding.ModuleLoader.visitASTUseStmtNode(ModuleLoader.java:117)
	at org.eclipse.photran.internal.core.parser.ASTUseStmtNode.accept(ASTUseStmtNode.java:111)
	at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:10116)
	at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTListNode(Parser.java:10121)
	at org.eclipse.photran.internal.core.parser.Parser$ASTListNode.accept(Parser.java:9404)
	at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:10116)
	at org.eclipse.photran.internal.core.analysis.binding.ModuleLoader.visitASTModuleNode(ModuleLoader.java:49)
	at org.eclipse.photran.internal.core.parser.ASTModuleNode.accept(ASTModuleNode.java:68)
	at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:10116)
	at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTListNode(Parser.java:10121)
	at org.eclipse.photran.internal.core.parser.Parser$ASTListNode.accept(Parser.java:9404)
	at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:10116)
	at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTExecutableProgramNode(Parser.java:10252)
	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:31)
	at org.eclipse.photran.core.vpg.PhotranVPGBuilder.populateVPG(PhotranVPGBuilder.java:374)
	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)
Caused by: java.lang.NullPointerException
	at org.eclipse.photran.internal.core.analysis.binding.Definition.matches(Definition.java:143)
	at org.eclipse.photran.internal.core.analysis.binding.ModuleLoader.shouldImportDefinition(ModuleLoader.java:291)
	at org.eclipse.photran.internal.core.analysis.binding.ModuleLoader.bindToSymbolsIn(ModuleLoader.java:255)
	at org.eclipse.photran.internal.core.analysis.binding.ModuleLoader.findModuleInModulePaths(ModuleLoader.java:185)
	at org.eclipse.photran.internal.core.analysis.binding.ModuleLoader.loadModule(ModuleLoader.java:133)
	at org.eclipse.photran.internal.core.analysis.binding.ModuleLoader.visitASTUseStmtNode(ModuleLoader.java:113)
	... 26 more


On Fri, Feb 27, 2009 at 11:17 AM, Jeffrey Overbey
<subscribe-photran@xxxxxxxxxxxx> wrote:
  
null pointer exception during indexing. Unfortunately the error
message is not any more specific. I would really like to find out what
      
If you open the /your/workspace/.metadata/.log file, it should have entries
for each of these.  Hopefully they will all look similar. Please send me the
first few lines of the stack trace (the lines following
"java.lang.NullPointerException") and I'll look into it.

Jeff
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

    

  

Back to the top