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 64362 - IAE thrown during Options startup causes Options to be unusable
Summary: IAE thrown during Options startup causes Options to be unusable
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 5.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-09-14 16:21 UTC by Roman Strobl
Modified: 2007-11-05 13:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IAE (1.04 KB, text/plain)
2005-09-14 16:21 UTC, Roman Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2005-09-14 16:21:15 UTC
[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)
...
Comment 1 Roman Strobl 2005-09-14 16:21:44 UTC
Created attachment 24804 [details]
IAE
Comment 2 Roman Strobl 2005-09-14 16:22:40 UTC
Marking as Q-build stopper. Detected after q-build testing because it appears
after 3 Q-build stopper fixes. Commit fix to QBE200509131800, too.
Comment 3 Jan Jancura 2005-09-14 20:50:13 UTC
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 ***
Comment 4 Roman Strobl 2005-09-15 11:17:44 UTC
Verified on custom build from branch.
Comment 5 Roman Strobl 2005-09-15 18:37:28 UTC
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.
Comment 6 Jan Jancura 2005-09-15 20:43:21 UTC
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
Comment 7 Roman Strobl 2005-09-18 14:10:21 UTC
I haven't seen the issue recently. Verified.