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 - NullPointerException at org.netbeans.modules.php.editor.model.nodes.ASTNodeInfo.toOffsetRange
Summary: NullPointerException at org.netbeans.modules.php.editor.model.nodes.ASTNodeIn...
Status: RESOLVED DUPLICATE of bug 168459
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-05 09:08 UTC by buhrmi
Modified: 2009-07-23 12:21 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 153198


Attachments
stacktrace (8.60 KB, text/plain)
2009-07-05 09:08 UTC, buhrmi
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***