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 149165 - [65cat] setting caret properties to none make some exception in swing designer
Summary: [65cat] setting caret properties to none make some exception in swing designer
Status: RESOLVED DUPLICATE of bug 189932
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
: 134086 149166 149167 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-05 06:13 UTC by azizi
Modified: 2012-06-12 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 122964


Attachments
stacktrace (6.82 KB, text/plain)
2008-10-05 06:13 UTC, azizi
Details
test project (109.52 KB, application/x-compressed)
2008-10-05 10:45 UTC, azizi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description azizi 2008-10-05 06:13:02 UTC
Build: NetBeans IDE Dev (Build 200809211401)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-19-generic, i386

Stacktrace: 
java.lang.IllegalStateException: Error getting property value
        at org.openide.explorer.propertysheet.PropUtils.getPropertyEditor(PropUtils.java:871)
        at org.openide.explorer.propertysheet.PropUtils.getPropertyEditor(PropUtils.java:795)
        at org.openide.explorer.propertysheet.SheetTable.onCustomEditorButton(SheetTable.java:828)
        at org.openide.explorer.propertysheet.SheetTable.processMouseEvent(SheetTable.java:691)
        at java.awt.Component.processEvent(Component.java:5806)
        at java.awt.Container.processEvent(Container.java:2058)
Comment 1 azizi 2008-10-05 06:13:17 UTC
Created attachment 71158 [details]
stacktrace
Comment 2 azizi 2008-10-05 10:27:33 UTC
steps.....
1) make a java application project.
2) add a Text Pane control in to the form.
3) try to set caret fro properties to none
4) try to click on caret position. exception no 1.

5) close the form and then reopen it.
6) try to click on the text pane control, Exception no 2.

no way to set caret to default, because we have no access to the properties panel.
the only way is removing the text pane.
i will send the test project too.
Comment 3 azizi 2008-10-05 10:45:53 UTC
Created attachment 71164 [details]
test project
Comment 4 azizi 2008-10-05 10:47:03 UTC
*** Issue 149166 has been marked as a duplicate of this issue. ***
Comment 5 azizi 2008-10-05 10:48:11 UTC
*** Issue 149167 has been marked as a duplicate of this issue. ***
Comment 6 Jan Stola 2008-10-05 18:28:30 UTC
Reproducible.
Comment 7 Jan Stola 2008-10-06 10:53:03 UTC
*** Issue 134086 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Pavek 2012-06-12 14:27:09 UTC
Should be avoided with fix of bug 189932, preventing setting null caret.

*** This bug has been marked as a duplicate of bug 189932 ***