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 195101

Summary: NullPointerException at org.jrubyparser.parser.ParserSupport.getMatchNode
Product: ruby Reporter: buzzword <buzzword>
Component: CodeAssignee: Erno Mononen <emononen>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 176477
Attachments: stacktrace

Description buzzword 2011-02-06 09:05:09 UTC
Build: NetBeans IDE Dev (Build 201010130000)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

User Comments:
buzzword: Pasted some code into an if statement expression.




Stacktrace: 
java.lang.NullPointerException
   at org.jrubyparser.parser.ParserSupport.getMatchNode(ParserSupport.java:390)
   at org.jrubyparser.parser.Ruby19Parser.case218_line866(Ruby19Parser.java:3307)
   at org.jrubyparser.parser.Ruby19Parser.yyparse(Ruby19Parser.java:1794)
   at org.jrubyparser.parser.Ruby19Parser.yyparse(Ruby19Parser.java:1421)
   at org.jrubyparser.parser.Ruby19Parser.parse(Ruby19Parser.java:4303)
   at org.netbeans.modules.ruby.RubyParser.parseBuffer(RubyParser.java:558)
Comment 1 buzzword 2011-02-06 09:05:15 UTC
Created attachment 105684 [details]
stacktrace