Skip to content

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

Open
@xmik

Description

@xmik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions