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 35130 - "illegal cursor type" exception from PerimeterPane
Summary: "illegal cursor type" exception from PerimeterPane
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-24 23:56 UTC by laos
Modified: 2008-12-23 09:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the file ide.log (120.95 KB, patch)
2003-07-25 00:04 UTC, laos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description laos 2003-07-24 23:56:55 UTC
i choose the option to debbug a jsp file and
appeared an error and later it continued appearing
without to do nothing more
Comment 1 laos 2003-07-25 00:04:57 UTC
Created attachment 11124 [details]
the file ide.log
Comment 2 laos 2003-07-25 00:26:49 UTC
exceptions:

java.lang.IllegalArgumentException: illegal cursor type
	at java.awt.Cursor.getPredefinedCursor(Cursor.java:206)
	at
org.netbeans.core.windows.frames.PerimeterPane$PerimeterGapListener.mouseMoved(PerimeterPane.java:692)


and


Comment 3 Maros Sandor 2003-07-28 09:20:05 UTC
This cursor issue seems to be associated with the core 
framework (see stack trace).
Comment 4 mslama 2003-07-28 14:18:08 UTC
Is it anyhow reproducible?
Comment 5 mslama 2003-07-28 14:23:56 UTC
We call getCursor().getType() on our pane (subclass of JComponent) to
get cursor type we pass to Cursor.getPredefinedCursor()). It is the
only weak point. All other possible values are valid constants from
java.awt.Cursor. I need some way how to reproduce it to find out
why/what incorrect value is returned.
Comment 6 mslama 2003-08-11 14:13:09 UTC
Closing as WORKSFORME. We are not able to reproduce it. Please reopen
if you provide more info (see previous comment).
Comment 7 Marian Mirilovic 2003-09-03 15:15:37 UTC
Without new infromations - verifying.