Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: [photran] New Photran build available

Hi,

I  installed the latest build but I got a different error. Unfortunately that fix about clearing VPG database did not work either.

eclipse.buildId=M20090211-1700
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

java.lang.NullPointerException
at org.eclipse.photran.internal.core.lexer.Token.manuallyResolveBinding(Token.java:440)
at org.eclipse.photran.internal.core.analysis.binding.BindingCollector.bind(BindingCollector.java:104)
at org.eclipse.photran.internal.core.analysis.binding.ReferenceCollector.visitASTVarOrFnRefNode(ReferenceCollector.java:407)
at org.eclipse.photran.internal.core.parser.ASTVarOrFnRefNode.accept(ASTVarOrFnRefNode.java:109)
at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.traverseChildren(Parser.java:10116)
at org.eclipse.photran.internal.core.parser.Parser$ASTVisitor.visitASTCaseValueRangeNode(Parser.java:10168)
at org.eclipse.photran.internal.core.parser.ASTCaseValueRangeNode.accept(ASTCaseValueRangeNode.java:57)
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$ASTSeparatedListNode.accept(Parser.java:9631)
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.ReferenceCollector.visitASTCaseStmtNode(ReferenceCollector.java:530)
at org.eclipse.photran.internal.core.parser.ASTCaseStmtNode.accept(ASTCaseStmtNode.java:84)
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.visitASTCaseConstructNode(Parser.java:10165)
at org.eclipse.photran.internal.core.parser.ASTCaseConstructNode.accept(ASTCaseConstructNode.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.visitASTFunctionSubprogramNode(Parser.java:10279)
at org.eclipse.photran.internal.core.parser.ASTFunctionSubprogramNode.accept(ASTFunctionSubprogramNode.java:92)
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.visitASTModuleNode(Parser.java:10331)
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:36)
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)






----- Original Message ----
From: Jeffrey Overbey <subscribe-photran@xxxxxxxxxxxx>
To: Photran Information <photran@xxxxxxxxxxx>
Sent: Friday, May 29, 2009 1:47:30 PM
Subject: Re: AW: [photran] New Photran build available

Hi Stefan,

Could you please copy the first 5-10 lines under the "ArrayIndexOutOfBoundsException" from the .log file and post that?

Also, try clicking on Refactor > (Debugging) > Clear VPG Database and then Refactor > (Debugging) > Refresh VPG Database.  There is a situation we haven't identified yet when the indexer database gets corrupted, and that causes errors like this to occur.

Thanks.

Jeff


Stefan Krieger wrote:
> Hello,
> 
> I am working with Photran (newest version) on a Linux Ubuntu system (Ubuntu
> 9.04, Eclipse 3.4.2, CDT 5.0.2, SUN Java 1.6.0_13). Until today everything
> worked fine and I was very happy with Photran - it's fantastic!
> 
> But now, every time, I enter a sign (even just a simple space), a window
> pops up with the title "Multiple problems have occurred". It tells me that
> "An internal error occurred during: "Photran indexer"." In the Details it
> says only -4 as an additional information.
> 
> When I open the log file (workspace, -> .metadata, -> .log) I can see
> corresponding entries and it seems to be an
> java.lang.ArrayIndexOutOfBoundsException, which is responsible for the
> error.
> 
> If I turn out the Fortran Analysis/Refactoring in the Project Properties,
> everything works fine.
> 
> I do not know, whether this error is already known and perhaps already
> entered in BugZilla. Therefore count my mail as an information - not as an
> instruction... ;-)
> 
> Best regards
> Stefan Krieger
> 
> ---
> working with Photran at the Ruhr-University Bochum in Germany...
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx] Im
> Auftrag von Jeffrey Overbey
> Gesendet: Sonntag, 24. Mai 2009 01:07
> An: Photran@xxxxxxxxxxx:A Fortran Plug-in for Eclipse
> Betreff: [photran] New Photran build available
> 
> A new build (I200905152006) of Photran is available from the wiki: http://wiki.eclipse.org/PTP/builds/photran/4.0
> 
> This fixes the "Notification" indexer error (due to ENTRY statements) as
> well as a NullPointerException, and I *think* the gfortran error parser
> problems should be resolved as well (please post if they are not).  Of
> course, there are more bug fixes in progress, notably parser/indexer
> problems...
> 
> Jeff
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran
> 
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran
> 
> 

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






Back to the top