Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319622 - NPE in SubprogramTypeCollector
Summary: NPE in SubprogramTypeCollector
Status: CLOSED DUPLICATE of bug 317594
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Refactoring Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 14:31 EDT by Miwako Tokugawa CLA
Modified: 2011-03-17 20:56 EDT (History)
1 user (show)

See Also:


Attachments
project (265.83 KB, application/x-zip-compressed)
2010-07-12 14:33 EDT, Miwako Tokugawa CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miwako Tokugawa CLA 2010-07-12 14:31:56 EDT
Build Identifier: cdt head as of 7/12/10

java.lang.NullPointerException
        at org.eclipse.photran.internal.core.analysis.binding.SubprogramTypeCollector.typeOf(SubprogramTypeCollector.java:69)
        at org.eclipse.photran.internal.core.analysis.binding.SubprogramTypeCollector.visitASTSubroutineStmtNode(SubprogramTypeCollector.java:41)
        at org.eclipse.photran.internal.core.parser.ASTSubroutineStmtNode.accept(ASTSubroutineStmtNode.java:95)
        at org.eclipse.photran.internal.core.parser.ASTVisitor.traverseChildren(ASTVisitor.java:21)
        at org.eclipse.photran.internal.core.parser.ASTVisitor.visitASTSubroutineSubprogramNode(ASTVisitor.java:359)
        at org.eclipse.photran.internal.core.parser.ASTSubroutineSubprogramNode.accept(ASTSubroutineSubprogramNode.java:100)
        at org.eclipse.photran.internal.core.parser.ASTVisitor.traverseChildren(ASTVisitor.java:21)
 ...

Reproducible: Always

Steps to Reproduce:
load the project attached and select "Enable Fortran Analysis/Reflactor"
Comment 1 Miwako Tokugawa CLA 2010-07-12 14:33:08 EDT
Created attachment 174083 [details]
project
Comment 2 Jeffrey Overbey CLA 2011-03-17 20:56:28 EDT
Thanks for the bug report.  I believe this is fixed in the latest maintenance update (6.0.6); it is definitely fixed in 7.0.  If you still have problems, please let me know.

*** This bug has been marked as a duplicate of bug 317594 ***