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

Summary: ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
Product: editor Reporter: thruminds
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219505
Attachments: stacktrace

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.

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