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 215176 - NoSuchFieldError: NUMBER_TO_STRING
Summary: NoSuchFieldError: NUMBER_TO_STRING
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-04 13:17 UTC by sixth
Modified: 2012-07-13 15:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185453


Attachments
stacktrace (1.85 KB, text/plain)
2012-07-04 13:17 UTC, sixth
Details
stacktrace (1.85 KB, text/plain)
2012-07-13 15:47 UTC, alesak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sixth 2012-07-04 13:17:37 UTC
Build: NetBeans IDE Dev (Build 201206200001)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows Vista

User Comments:
bokc: Use SQL commande

sixth: I tried to query the content of PROJECTS table in ScrumToys sample.

GUEST: I am trying to view a table from a derby database. The table is not displaying and I get this error.




Stacktrace: 
java.lang.NoSuchFieldError: NUMBER_TO_STRING
   at org.netbeans.modules.db.dataview.table.ResultSetJXTable.setDefaultCellRenderers(ResultSetJXTable.java:142)
   at org.netbeans.modules.db.dataview.table.ResultSetJXTable.<init>(ResultSetJXTable.java:109)
   at org.netbeans.modules.db.dataview.output.DataViewTableUI.<init>(DataViewTableUI.java:95)
   at org.netbeans.modules.db.dataview.output.DataViewTablePanel.<init>(DataViewTablePanel.java:76)
   at org.netbeans.modules.db.dataview.output.DataViewUI.<init>(DataViewUI.java:170)
   at org.netbeans.modules.db.dataview.output.DataView.createComponents(DataView.java:132)
Comment 1 sixth 2012-07-04 13:17:42 UTC
Created attachment 121732 [details]
stacktrace
Comment 2 matthias42 2012-07-06 17:03:40 UTC
Hey, I tried viewing mysql + derby database content with 7.1.2, 7.2rc1 and the current state of core-main (development code). In none of the above situations I could reproduce the result in the stack trace.

The cause for the exceptions seems to be a difference in the org.jdesktop.swingx.renderer.StringValues class with in this case lost its NUMBER_TO_STRING member. That member exists at least since 0.9.5 (http://grepcode.com/file/repo1.maven.org/maven2/org.swinglabs/swingx/0.9.5/org/jdesktop/swingx/renderer/StringValues.java#StringValues.0NUMBER_TO_STRING), and that is the version in netbeans till 7.2rc1 and 7.3 will contain 1.6.3, which also contains that member.

Please try a again with a clean installation - if you can reproduce, please reopen and state the exact version you tried, which add ons you installed and please also attach the log of that netbeans run (http://wiki.netbeans.org/FaqLogMessagesFile).
Comment 3 bokc 2012-07-06 17:07:18 UTC
The new nightbuild don't have this issue.
Comment 4 alesak 2012-07-13 15:47:07 UTC
Created attachment 122016 [details]
stacktrace