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 169584 - NullPointerException at org.netbeans.modules.ruby.AstUtilities.getClassOrModuleName
Summary: NullPointerException at org.netbeans.modules.ruby.AstUtilities.getClassOrModu...
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL: http://statistics.netbeans.org/except...
Keywords:
: 169661 173930 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-30 15:54 UTC by gu6526
Modified: 2009-10-07 09:40 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154617


Attachments
stacktrace (4.19 KB, text/plain)
2009-07-30 15:54 UTC, gu6526
Details
stacktrace (4.07 KB, text/plain)
2009-08-07 14:11 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gu6526 2009-07-30 15:54:52 UTC
Build: NetBeans IDE Dev (Build 200907300201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ruby.AstUtilities.getClassOrModuleName(AstUtilities.java:1363)
        at org.netbeans.modules.ruby.RubyTypeInferencer.inferSelfNode(RubyTypeInferencer.java:174)
        at org.netbeans.modules.ruby.RubyTypeInferencer.inferType(RubyTypeInferencer.java:155)
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.getReceiverType(RubyMethodTypeInferencer.java:206)
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.inferType(RubyMethodTypeInferencer.java:165)
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.inferTypeFor(RubyMethodTypeInferencer.java:100)
Comment 1 gu6526 2009-07-30 15:54:57 UTC
Created attachment 85551 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-08-06 03:25:47 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154617
Comment 3 Exceptions Reporter 2009-08-07 14:11:45 UTC
Build: NetBeans IDE Dev (Build 200908031401)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ruby.AstUtilities.getClassOrModuleName(AstUtilities.java:1363)
        at org.netbeans.modules.ruby.RubyTypeInferencer.inferSelfNode(RubyTypeInferencer.java:174)
        at org.netbeans.modules.ruby.RubyTypeInferencer.inferType(RubyTypeInferencer.java:155)
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.getReceiverType(RubyMethodTypeInferencer.java:206)
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.inferType(RubyMethodTypeInferencer.java:165)
        at org.netbeans.modules.ruby.RubyMethodTypeInferencer.inferTypeFor(RubyMethodTypeInferencer.java:100)
Comment 4 Exceptions Reporter 2009-08-07 14:11:49 UTC
Created attachment 85964 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-08-07 14:11:58 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154617
Comment 6 Erno Mononen 2009-08-19 12:26:41 UTC
Fixed in cc826691b4ed.
Comment 7 Erno Mononen 2009-08-19 12:27:14 UTC
*** Issue 169661 has been marked as a duplicate of this issue. ***
Comment 8 Quality Engineering 2009-08-21 06:17:00 UTC
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/cc826691b4ed
User: Erno Mononen <emononen@netbeans.org>
Log: #169584: NullPointerException at org.netbeans.modules.ruby.AstUtilities.getClassOrModuleName
Comment 9 Erno Mononen 2009-10-07 09:40:50 UTC
*** Issue 173930 has been marked as a duplicate of this issue. ***