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 257236 - ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
Summary: ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.jav...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 08:29 UTC by thruminds
Modified: 2015-12-21 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219505


Attachments
stacktrace (7.18 KB, text/plain)
2015-12-21 08:29 UTC, thruminds
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thruminds 2015-12-21 08:29:20 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Linux

User Comments:
thruminds: Resized the Netbeans window

GUEST: Dont know what happened.




Stacktrace: 
java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
   at sun.java2d.xr.XRRenderer.validateSurface(XRRenderer.java:72)
   at sun.java2d.xr.XRRenderer.drawLine(XRRenderer.java:87)
   at sun.java2d.SunGraphics2D.drawLine(SunGraphics2D.java:2234)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.paintTextLimitLine(HighlightsViewUtils.java:524)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.paintBackgroundHighlights(HighlightsViewUtils.java:444)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewUtils.paintHiglighted(HighlightsViewUtils.java:346)
Comment 1 thruminds 2015-12-21 08:29:22 UTC
Created attachment 157872 [details]
stacktrace