This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 168136

Summary: NullPointerException at org.netbeans.modules.php.editor.model.nodes.ASTNodeInfo.toOffsetRange
Product: php Reporter: buhrmi <buhrmi>
Component: EditorAssignee: Tomasz Slota <tslota>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: sign, udioron
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=153198
Issue Type: DEFECT Exception Reporter: 153198
Attachments: stacktrace

Description buhrmi 2009-07-05 09:08:16 UTC
Build: NetBeans IDE Dev (Build 200907040200)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows 7, 6.1, x86

User Comments:
GUEST: opened a .php file got NullPointerException

GUEST: Opening a PHP file



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.php.editor.model.nodes.ASTNodeInfo.toOffsetRange(ASTNodeInfo.java:308)
        at org.netbeans.modules.php.editor.model.nodes.ASTNodeInfo.toOffsetRange(ASTNodeInfo.java:323)
        at org.netbeans.modules.php.editor.model.nodes.ASTNodeInfo.getRange(ASTNodeInfo.java:158)
        at org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.setOccurenceAsCurrent(OccurenceBuilder.java:874)
        at org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.prepare(OccurenceBuilder.java:273)
        at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:241)
Comment 1 buhrmi 2009-07-05 09:08:35 UTC
Created attachment 84371 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-07-05 09:08:49 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153198
Comment 3 Tomasz Slota 2009-07-23 12:21:51 UTC

*** This issue has been marked as a duplicate of 168459 ***