PreviousNextTracker indexSee it online !

(187/211) 4004 - ClassCastException: BufImgSurfaceData cannot be cast to XRSurfaceData after long idle period

I had jEdit running and idle for a long time. I don't know how to reproduce this yet.

When I tried to use it again, I saw this exception in the activity log.
Using jEdit 5.3.1 (svn trunk) from today.
jEdit stops painting dockables after that, and I am unable to do lots of things (but it is still running).

on Linux / KDE plasma5 / Kubuntu.

Submitted ezust - 2016-07-15 00:51:47.662000 Assigned ezust
Priority 5 Labels
Status open Group normal bug
Resolution wont-fix

Comments

2016-10-13 13:48:27.259000
ezust

Some more info: It might be related to the way the screensaver or the power-saving features are interacting with the JDK, but it is a JDK bug that is linux-specific and not something that can be fixed in jEdit.

http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7172749

https://bugs.openjdk.java.net/browse/JDK-7172749

2016-10-13 13:51:11.114000
ezust

- **status**: open --> open-wont-fix

2018-01-04 11:32:15.744000
whitingjr

Hi,
Looking at the bug report the issue is for a different defect. The call stacks differ.

The exception for you is thrown in .cacheToTmpSurface method.

The jdk bug report is for the method .validateSurface

I am seeing the same issue as you. I'll try and get the jdk issue fixed as a separate bug report.