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 188113

Summary: UnsupportedOperationException: Not supported yet.
Product: ruby Reporter: tkrd_oiax <tkrd_oiax>
Component: CodeAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: normal CC: andreyv, harker
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 153076
Attachments: stacktrace
stacktrace

Description tkrd_oiax 2010-06-26 16:16:42 UTC
Build: NetBeans IDE Dev (Build 201006260001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
tkrd_oiax: Editing a ruby code. Entered a parenthesis pair.

harker: Seem to occur whenever there are empty parentheses i.e. ()

I am editing ruby code when this occurs.

tkrd_oiax: Enter "()" into a ruby code.




Stacktrace: 
java.lang.UnsupportedOperationException: Not supported yet.
   at org.jrubyparser.SourcePosition$1.getStartOffset(SourcePosition.java:219)
   at org.netbeans.modules.ruby.hints.HashListConvert.getCommaOffset(HashListConvert.java:110)
   at org.netbeans.modules.ruby.hints.HashListConvert.run(HashListConvert.java:95)
   at org.netbeans.modules.ruby.hints.infrastructure.RubyHintsProvider.applyRules(RubyHintsProvider.java:265)
   at org.netbeans.modules.ruby.hints.infrastructure.RubyHintsProvider.scan(RubyHintsProvider.java:318)
   at org.netbeans.modules.ruby.hints.infrastructure.RubyHintsProvider.scan(RubyHintsProvider.java:331)
Comment 1 tkrd_oiax 2010-06-26 16:16:46 UTC
Created attachment 100433 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-10-19 17:59:18 UTC
Created attachment 102491 [details]
stacktrace

Editing Rails integration test