Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 123715 - Editor does not work
Editor does not work
Status: RESOLVED DUPLICATE of bug 121854
Product: editor
Classification: Unclassified
Component: -- Other --
Other Windows XP
: P1 (vote)
: 6.x
Assigned To: issues@editor
Depends on:
  Show dependency treegraph
Reported: 2007-12-10 05:18 UTC by nick756
Modified: 2007-12-10 20:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description nick756 2007-12-10 05:18:46 UTC
On trying to open any file in any project in newly installed NetBeans 6.0 error message "A java.lang.ClassCastException
exception has occurred." appeared. It is not possible to even view existing Java (and other) files, neither for
existing, nor for newly created projects.
Comment 1 Jiri Prox 2007-12-10 08:02:53 UTC
Please, provide a stacktrace of the exception.
Comment 2 nick756 2007-12-10 08:24:12 UTC
java.lang.ClassCastException: org.openide.filesystems.MultiFileObject$VoidValue
	at org.netbeans.modules.editor.mimelookup.MimePathLookup.rebuild(
	at org.netbeans.modules.editor.mimelookup.MimePathLookup.<init>(
	at org.netbeans.api.editor.mimelookup.MimePath.getLookup(
	at org.netbeans.api.editor.mimelookup.MimeLookup.getLookup(
	at org.openide.text.CloneableEditorSupport.getEditorKit(
[catch] at
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(
Comment 3 Vitezslav Stejskal 2007-12-10 20:16:33 UTC
It looks like a problem with settings imported from Nb 5.x. Please try using a fresh userdir. You can do that for
example by passing '--userdir /tmp/whatever-folder-you-like' when launching Netbeans. Thanks

*** This issue has been marked as a duplicate of 121854 ***

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo