Exception thrown in editor during verification

Bug #1829887 reported by Asger Gitz-Johansen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAPAAL
Fix Released
Critical
Kenneth Yrke Jørgensen

Bug Description

When running the verifier on the attached tapn file, the following exception is thrown (after ~100 seconds):

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Comparison method violates its general contract!

Related branches

Revision history for this message
Asger Gitz-Johansen (sorenryge) wrote :
Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :
Download full text (6.0 KiB)

Full stack trace:

<code>
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Comparison method violates its general contract!
 at java.base/java.util.TimSort.mergeLo(TimSort.java:781)
 at java.base/java.util.TimSort.mergeAt(TimSort.java:518)
 at java.base/java.util.TimSort.mergeCollapse(TimSort.java:448)
 at java.base/java.util.TimSort.sort(TimSort.java:245)
 at java.base/java.util.Arrays.sort(Arrays.java:1306)
 at java.base/java.util.ArrayList.sort(ArrayList.java:1720)
 at dk.aau.cs.verification.VerificationResult.getTransitionStatistics(VerificationResult.java:77)
 at pipe.gui.RunVerification.createMessagePanel(RunVerification.java:261)
 at pipe.gui.RunVerification.showResult(RunVerification.java:57)
 at pipe.gui.RunVerificationBase.done(RunVerificationBase.java:201)
 at java.desktop/javax.swing.SwingWorker$5.run(SwingWorker.java:750)
 at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:847)
 at java.desktop/sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
 at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:857)
 at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:317)
 at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:249)
 at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
 at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
 at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
 at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
 at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
 at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
 at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
 at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
 at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
 at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
 at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
 at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
 at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
 at java.desktop/java.awt.Component.show(Component.java:1717)
 at java.desktop/java.awt.Component.setVisible(Component.java:1664)
 at java.desktop/java.awt.Window.setVisible(Window.java:1023)
 at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
 at pipe.gui.Verifier.runVerifyTAPNVerification(Verifier.java:206)
 at pipe.gui.widgets.QueryPane.verifyQuery(QueryPane.java:480)
 at pipe.gui.widgets.QueryPane.lambda$addButtons$3(QueryPane.java:299)
 at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
 at java.desktop/javax.swing.Abstra...

Read more...

Changed in tapaal:
assignee: nobody → Kenneth Yrke Jørgensen (yrke)
status: New → In Progress
Changed in tapaal:
importance: Undecided → Critical
Jiri Srba (srba)
Changed in tapaal:
status: In Progress → Fix Committed
Jiri Srba (srba)
Changed in tapaal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.