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.
Summary: | AssertionError: Need fully qualified name of class with the static setting factory method, but got 'SL[/IndentEngine/org-netbeans-modules-editor-java-JavaIndentEngine' | ||
---|---|---|---|
Product: | editor | Reporter: | Jan Lahoda <jlahoda> |
Component: | Settings | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues, jiriprox, jlahoda |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=65765 | ||
Issue Type: | DEFECT | Exception Reporter: | 65765 |
Attachments: |
stacktrace
stacktrace stacktrace |
Description
Jan Lahoda
2008-06-16 08:32:56 UTC
Seems that the Java code from form is not generated properly, presumably due to this exception -> P1. This should not be happening with a fresh userdir. The problem is in old userdirs that contain references to selected IndentEngine instances. I'll fix NbEditorDocument to handle the situation correctly. In the meantime you can go to your userdir and delete the <property/> element that refers to 'indentEngine' in your config/Editors/text/x-java/properties.xml. If 'indentEngine' is the only element in the file you can just delete the file. Created attachment 62861 [details]
stacktrace
Created attachment 62862 [details]
stacktrace
tested on NetBeans IDE Dev (Build 20080616034253) with clear userdir and it works Created attachment 62864 [details]
stacktrace
Should be fixed now. I tested it with my old userdir from 6.0, but please test with yours and let me know. http://hg.netbeans.org/main/rev/cc0d3af114ec |