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 254326

Summary: UnsupportedOperationException: CASE_INSENSITIVE_CAMEL_CASE
Product: ruby Reporter: Milos Kleint <mkleint>
Component: CodeAssignee: issues@ruby <issues>
Status: NEW ---    
Severity: normal CC: csbubbles, moueza, NukemBy, scanti, shredder121, skaplon, sreder, yinzara
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216905
Attachments: stacktrace
stacktrace
stacktrace

Description Milos Kleint 2015-08-13 02:12:45 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Mac OS X

User Comments:
mkleint: typing in Go to type

NukemBy: Go to Type

NukemBy: Opened "Go to Type" dialog

NukemBy: Invoke goto type over any camelCase symbol




Stacktrace: 
java.lang.UnsupportedOperationException: CASE_INSENSITIVE_CAMEL_CASE
   at org.netbeans.modules.ruby.RubyIndex.getClasses(RubyIndex.java:262)
   at org.netbeans.modules.ruby.RubyTypeSearcher.getTypes(RubyTypeSearcher.java:161)
   at org.netbeans.modules.csl.core.TypeAndSymbolProvider.compute(TypeAndSymbolProvider.java:195)
   at org.netbeans.modules.csl.core.TypeAndSymbolProvider$TypeProviderImpl.computeTypeNames(TypeAndSymbolProvider.java:98)
   at org.netbeans.modules.jumpto.type.GoToTypeAction$Worker.getTypeNames(GoToTypeAction.java:638)
   at org.netbeans.modules.jumpto.type.GoToTypeAction$Worker.run(GoToTypeAction.java:537)
Comment 1 Milos Kleint 2015-08-13 02:12:47 UTC
Created attachment 155311 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-08-17 16:43:08 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216905
Comment 3 NukemBy 2015-11-06 13:07:42 UTC
This bug is really annoying when using Netbeans for development of both Ruby and Java staff. In Java "going to type" via copy/pasted CamelCased class name happens 100 a day and it just does not work with installed Ruby plugin. So i have to deactivate/activate Ruby frequently to be able to work on one and then on another kind of project.

BTW, there is another bug report on the same topic ('mine' report, i guess some of them should be marked as duplicate: https://netbeans.org/bugzilla/show_bug.cgi?id=252227)
Comment 4 Exceptions Reporter 2015-12-04 17:38:44 UTC
Created attachment 157670 [details]
stacktrace

Minor: Shows up in status bar
Comment 5 csbubbles 2015-12-25 20:46:57 UTC
Created attachment 157921 [details]
stacktrace

No idea what happened