To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

ProM 6 UI freeze problem

thobai
edited July 2014 in - Development

Hi there,

for quite a while I'm experiencing problems with ProM 6 and my own package, Event2ActivityMatcher. The problem is that after starting ProM from within Eclipse, it already freezes when clicking the import button. Not always on the first attempt. Not always anyway. But quite often. When I do this in debug mode, I see the following when pausing the execution:

Thread [Thread-12] (Suspended) owns: java.awt.Component$AWTTreeLock  (id=408) waited by: Thread [AWT-EventQueue-0] (Running) owns: javax.swing.BoxLayout  (id=411) owns: org.processmining.contexts.uitopia.hub.ProMResourceManager  (id=412) waiting for: java.lang.Object  (id=410) owned by: Thread [AWT-EventQueue-0] (Running) com.apple.laf.AquaFileSystemModel.getRowCount() line: 194 [local variables unavailable] com.apple.laf.AquaFileChooserUI$JTableExtension(javax.swing.JTable).getRowCount() line: 2662 com.apple.laf.AquaTableUI(javax.swing.plaf.basic.BasicTableUI).createTableSize(long) line: 1692 com.apple.laf.AquaTableUI(javax.swing.plaf.basic.BasicTableUI).getPreferredSize(javax.swing.JComponent) line: 1733 com.apple.laf.AquaFileChooserUI$JTableExtension(javax.swing.JComponent).getPreferredSize() line: 1660 javax.swing.ScrollPaneLayout$UIResource(javax.swing.ScrollPaneLayout).preferredLayoutSize(java.awt.Container) line: 495 javax.swing.JScrollPane(java.awt.Container).preferredSize() line: 1788 javax.swing.JScrollPane(java.awt.Container).getPreferredSize() line: 1773 javax.swing.JScrollPane(javax.swing.JComponent).getPreferredSize() line: 1662 java.awt.BorderLayout.preferredLayoutSize(java.awt.Container) line: 719 javax.swing.JPanel(java.awt.Container).preferredSize() line: 1788 javax.swing.JPanel(java.awt.Container).getPreferredSize() line: 1773 javax.swing.JPanel(javax.swing.JComponent).getPreferredSize() line: 1662 java.awt.BorderLayout.preferredLayoutSize(java.awt.Container) line: 719 javax.swing.JPanel(java.awt.Container).preferredSize() line: 1788 javax.swing.JPanel(java.awt.Container).getPreferredSize() line: 1773 javax.swing.JPanel(javax.swing.JComponent).getPreferredSize() line: 1662 javax.swing.BoxLayout.checkRequests() line: 483 javax.swing.BoxLayout.layoutContainer(java.awt.Container) line: 424 javax.swing.JFileChooser(java.awt.Container).layout() line: 1503 javax.swing.JFileChooser(java.awt.Container).doLayout() line: 1492 javax.swing.JFileChooser(java.awt.Container).validateTree() line: 1688 javax.swing.JPanel(java.awt.Container).validateTree() line: 1697 javax.swing.JLayeredPane(java.awt.Container).validateTree() line: 1697 javax.swing.JRootPane(java.awt.Container).validateTree() line: 1697 javax.swing.JDialog(java.awt.Container).validateTree() line: 1697 javax.swing.JDialog(java.awt.Container).validate() line: 1623 javax.swing.JDialog(java.awt.Container).validateUnconditionally() line: 1660 javax.swing.JDialog(java.awt.Window).pack() line: 818 javax.swing.JFileChooser.createDialog(java.awt.Component) line: 805 javax.swing.JFileChooser.showDialog(java.awt.Component, java.lang.String) line: 732 javax.swing.JFileChooser.showOpenDialog(java.awt.Component) line: 639 org.processmining.contexts.uitopia.hub.ProMResourceManager.importResource() line: 332 org.deckfour.uitopia.ui.workspace.WorkspaceView$1$1.run() line: 78 java.lang.Thread.run() line: 745

It seems that there is some deadlock in the UI where some component waits for something forever. I'm on Mac OS 10.9 using JDK1.7.0_60. Everything is set up to use and compile for JDK 1.7 (and I have a slight feeling that it has to do with that as I never experienced problems before, but some of the libraries I use depend on Java 1.7).

Does anybody have any suggestion on how to fix that?

Best,

Thomas


Answers

  • Could it be an Apple JDK related bug? (see https://netbeans.org/bugzilla/show_bug.cgi?id=212056)

    Did you try the Oracle JVM and/or update the JVM?

    Joos Buijs

    Senior Data Scientist and process mining expert at APG (Dutch pension fund executor).
    Previously Assistant Professor in Process Mining at Eindhoven University of Technology
  • Hey Joos,
    Sorry for the very late reply. I do use the JVM provided by Oracle. Not the Apple JDK. Also tried Java 8. The problem also remains on OS X 10.10. Any ideas what to try next?

    Cheers
    Thomas
Sign In or Register to comment.