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 257062 - ClassCastException: java.lang.String cannot be cast to java.lang.Number
Summary: ClassCastException: java.lang.String cannot be cast to java.lang.Number
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-09 00:01 UTC by MarkFlacy
Modified: 2016-05-13 13:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218139


Attachments
stacktrace (640 bytes, text/plain)
2015-12-09 00:01 UTC, MarkFlacy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MarkFlacy 2015-12-09 00:01:30 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: Mac OS X

User Comments:
GUEST: Just starting netbeans

MarkFlacy: Never ending background scanning of grails project.

MarkFlacy: Background scanning of Grails projects is ungodly slow.

Started netbeans 8.1; I have one open gradle project that is a Groovy/Java mix and 5 other open Grails projects.  Background scanning sits while looking at the plugins for a project that uses the other 4 grails projects (as well as other plugins).

All the code in question is closed source, so I'm afraid that I cannot share it with you.

MarkFlacy: Watching NetBeans slowly scan grails projects.

GUEST: nbmongo bug

GUEST: When trying to open the tree of a collection




Stacktrace: 
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
   at org.netbeans.modules.mongodb.indexes.Index.fromDBObject(Index.java:70)
   at org.netbeans.modules.mongodb.ui.explorer.IndexNodesFactory.createKeys(IndexNodesFactory.java:44)
   at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:209)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
Comment 1 MarkFlacy 2015-12-09 00:01:32 UTC
Created attachment 157726 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-12-09 07:35:36 UTC
mongodb
Comment 3 markiewb 2016-05-09 20:16:09 UTC
Files as https://github.com/le-yams/nbmongo/issues/63
Comment 4 yann 2016-05-13 13:20:41 UTC
Hi,

This has been fixed in the plugin last major release.

Best regards,
Yann