#308 edititing card while loading db's freezes app

java_later
open
nobody
7
2013-05-19
2010-12-28
No

while the databases are still loading, i select one and type cntl-e. Then the application freezes. I am not sure if this happens every time.

Discussion

  • might be a lock at DatabaseLibrarian.borrowDatabase(String) line: 418.

    Thread states:

    GuiMain [Java Application]
    net.sf.karatasi.desktop.GuiMain at localhost:64794
    Thread [main] (Suspended)
    Object.wait(long) line: not available [native method]
    EventQueue$1AWTInvocationLock(Object).wait() line: 485
    EventQueue.invokeAndWait(Runnable) line: 1029
    SwingUtilities.invokeAndWait(Runnable) line: 1320
    SwingSynchronizer.runSynchronized(Runnable) line: 54
    DatabaseListModel.stateChanged(ChangeEvent) line: 258
    DatabaseLibrarian.fireDatabaseChangeEvent() line: 705
    DatabaseLibrarian.initDatabasesFromDirectory(File) line: 169
    GuiMain.<init>() line: 173
    GuiMain.main(String...) line: 98
    Daemon Thread [Timer-0] (Suspended)
    Object.wait(long) line: not available [native method]
    TaskQueue(Object).wait() line: 485
    TimerThread.mainLoop() line: 483
    TimerThread.run() line: 462
    Daemon Thread [AWT-AppKit] (Suspended)
    Thread [AWT-Shutdown] (Running)
    Thread [AWT-EventQueue-0] (Suspended)
    DatabaseLibrarian.borrowDatabase(String) line: 418
    DatabaseControlCenter.prepareDatabaseList(String, boolean, boolean,
    List<String>) line: 203
    DatabaseControlCenter.prepareDatabaseListFromCurrentSelection(String,
    boolean, boolean) line: 164
    DatabaseControlCenter.doDatabaseEdit() line: 364
    GuiMain.editDatabase() line: 446
    NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
    available [native method]
    NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
    DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
    Method.invoke(Object, Object...) line: 597
    ReflectionAction.actionPerformed(ActionEvent) line: 174
    JMenu$1(AbstractButton).fireActionPerformed(ActionEvent) line: 2028
    AbstractButton$Handler.actionPerformed(ActionEvent) line: 2351
    DefaultButtonModel.fireActionPerformed(ActionEvent) line: 387
    DefaultButtonModel.setPressed(boolean) line: 242
    JMenu$1(AbstractButton).doClick(int) line: 389
    JMenu$1(AbstractButton).doClick() line: 337
    BasicMenuItemUI$Actions.actionPerformed(ActionEvent) line: 1192
    SwingUtilities.notifyAction(Action, KeyStroke, KeyEvent, Object, int)
    line: 1639
    JMenu$1(JComponent).processKeyBinding(KeyStroke, KeyEvent, int,
    boolean) line: 2851
    JMenuBar.processBindingForKeyStrokeRecursive(MenuElement, KeyStroke,
    KeyEvent, int, boolean) line: 670
    JMenuBar.processBindingForKeyStrokeRecursive(MenuElement, KeyStroke,
    KeyEvent, int, boolean) line: 678
    JMenuBar.processBindingForKeyStrokeRecursive(MenuElement, KeyStroke,
    KeyEvent, int, boolean) line: 678
    JMenuBar.processKeyBinding(KeyStroke, KeyEvent, int, boolean) line:
    649
    KeyboardManager.fireBinding(JComponent, KeyStroke, KeyEvent, boolean)
    line: 267
    KeyboardManager.fireKeyboardAction(KeyEvent, boolean, Container) line:
    254
    JComponent.processKeyBindingsForAllComponents(KeyEvent, Container,
    boolean) line: 2928
    DatabaseListView(JComponent).processKeyBindings(KeyEvent, boolean)
    line: 2920
    DatabaseListView(JComponent).processKeyEvent(KeyEvent) line: 2814
    DatabaseListView.processKeyEvent(KeyEvent) line: 133
    DatabaseListView(Component).processEvent(AWTEvent) line: 6129
    DatabaseListView(Container).processEvent(AWTEvent) line: 2085
    DatabaseListView(Component).dispatchEventImpl(AWTEvent) line: 4714
    DatabaseListView(Container).dispatchEventImpl(AWTEvent) line: 2143
    DatabaseListView(Component).dispatchEvent(AWTEvent) line: 4544
    DefaultKeyboardFocusManager(KeyboardFocusManager).redispatchEvent(Component,
    AWTEvent) line: 1850
    DefaultKeyboardFocusManager.dispatchKeyEvent(KeyEvent) line: 712
    DefaultKeyboardFocusManager.preDispatchKeyEvent(KeyEvent) line: 990
    DefaultKeyboardFocusManager.typeAheadAssertions(Component, AWTEvent)
    line: 855
    DefaultKeyboardFocusManager.dispatchEvent(AWTEvent) line: 676
    JFrame(Component).dispatchEventImpl(AWTEvent) line: 4586
    JFrame(Container).dispatchEventImpl(AWTEvent) line: 2143
    JFrame(Window).dispatchEventImpl(AWTEvent) line: 2478
    JFrame(Component).dispatchEvent(AWTEvent) line: 4544
    EventQueue.dispatchEvent(AWTEvent) line: 635
    EventDispatchThread.pumpOneEventForFilters(int) line: 296
    EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter)
    line: 211
    EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component)
    line: 201
    EventDispatchThread.pumpEvents(int, Conditional) line: 196
    EventDispatchThread.pumpEvents(Conditional) line: 188
    EventDispatchThread.run() line: 122
    Daemon Thread [Thread-4] (Suspended)
    Object.wait(long) line: not available [native method]
    LinkedList<E>(Object).wait() line: 485
    AbstractPreferences$EventDispatchThread.run() line: 1461
    Daemon Thread [Poller SunPKCS11-Darwin] (Suspended)
    Thread.sleep(long) line: not available [native method]
    SunPKCS11$TokenPoller.run() line: 692
    Thread.run() line: 680
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
    (Dec 28, 2010 4:40:07 PM)

     
  • svn2903 still fails

     
    • priority: 6 --> 7
     
    • Group: java_0.2 --> java_later