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 175633 - NPE while using CC in invalid statements
Summary: NPE while using CC in invalid statements
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/analyt...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-29 09:38 UTC by Erno Mononen
Modified: 2009-10-29 23:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2009-10-29 09:38:10 UTC
java.lang.NullPointerException
        at org.netbeans.modules.ruby.AstUtilities.findNextNonNewLineNode(AstUtilities.java:707)
        at org.netbeans.modules.ruby.RubyMethodCompleter.complete(RubyMethodCompleter.java:119)
        at org.netbeans.modules.ruby.RubyMethodCompleter.complete(RubyMethodCompleter.java:87)
Comment 1 Erno Mononen 2009-10-29 09:44:06 UTC
Fixed in 76f01f67cb6b. Was reproducible e.g. in

x,=^ (invoke cc here)
Comment 2 Quality Engineering 2009-10-29 23:13:54 UTC
Integrated into 'main-golden', will be available in build *200910291407* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/76f01f67cb6b
User: Erno Mononen <emononen@netbeans.org>
Log: #175633: NPE while using CC in invalid statements