Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot undo any operation, undoableEditHappened, jgraphx too new #1

Open
xmik opened this issue Jun 20, 2019 · 0 comments
Open

Cannot undo any operation, undoableEditHappened, jgraphx too new #1

xmik opened this issue Jun 20, 2019 · 0 comments

Comments

@xmik
Copy link
Member

xmik commented Jun 20, 2019

While editing any .sce file in Scilab, undo operation (either invoked with Ctrl+Z or by clicking Edit->Undo) does not work. The error is then:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: \
   class javax.swing.text.AbstractDocument$DefaultDocumentEventUndoableWrapper \
   cannot be cast to class javax.swing.text.AbstractDocument$DefaultDocumentEvent \
   (javax.swing.text.AbstractDocument$DefaultDocumentEventUndoableWrapper and \
   javax.swing.text.AbstractDocument$DefaultDocumentEvent are in module \
   java.desktop of loader 'bootstrap')
	at org.scilab.modules.scinotes.CompoundUndoManager.
            undoableEditHappened(Unknown Source)

This happens probably because too new version of jgraphx is installed, source. The deb package name for this is: libjgraphx-java and its installed version is: 2.1.0.7-2. This page suggests that 1.8.0.0 version is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant