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.
[NetBeans custom build from QBE200509131800; FC4; JDK 1.5.0_04] Issue Summary: -------------- During next start of options after issue 64361, the attached IAE occurs. Options dialog is unusable. Beginning of Stacktrace: ------------------------ Annotation: Negative value is not allowed java.lang.IllegalArgumentException: Invalid argument at org.netbeans.modules.editor.NbEditorUtilities.invalidArgument(NbEditorUtilities.java:246) at org.netbeans.modules.editor.FormatterIndentEngine.setSpacesPerTab(FormatterIndentEngine.java:133) at org.netbeans.modules.options.editorimpl.IndentationModelImpl.setSpacesPerTab(IndentationModelImpl.java:69) ...
Created attachment 24804 [details] IAE
Marking as Q-build stopper. Detected after q-build testing because it appears after 3 Q-build stopper fixes. Commit fix to QBE200509131800, too.
Looks like this bug is caused by 64361, which is fixed. Feel free to reopen it, if its still reproducible. *** This issue has been marked as a duplicate of 64361 ***
Verified on custom build from branch.
The issue was not a duplicate, it is still thrown in trunk build 200509141800. It happens randomly during Options startup. It is not a q-build stopper anymore - it doesn't block user from using options. Marking as P2 because it causes endless progress bar to apear - it cannot be killed and needs IDE restart.
fixed in trunk: cvs commit -m "64362 IAE thrown during Options startup causes Options to be unusable" IndentationModelImpl.java (in directory C:\Hanz\Dev\trunk\editor\options\src\org\netbeans\modules\options\editorimpl\) Checking in IndentationModelImpl.java; /cvs/editor/options/src/org/netbeans/modules/options/editorimpl/IndentationModelImpl.java,v <-- IndentationModelImpl.java new revision: 1.3; previous revision: 1.2 done
I haven't seen the issue recently. Verified.