#47 AssertionError after unrar warning

Fixed in 0.9.28
closed-fixed
Startup (7)
6
2007-12-15
2007-10-29
No

Steps to reproduce:

1. Make sure Jomic cannot find unrar.
2. Start Jomic.
3. In Dialog with unrar warning, "Go to Download page".

Jomic attempts to quit, but cannot dispose the cache that has never been initialized, resulting in the following error:

2007-10-29 11:02:11,452 [AWT-EventQueue-0] INFO net.sf.jomic.tools.ConsoleTools - run command: unrar
2007-10-29 11:02:11,452 [AWT-EventQueue-0] INFO net.sf.jomic.tools.ConsoleTools - in path "/Users/agi/workspace/jomic"
2007-10-29 11:02:11,452 [AWT-EventQueue-0] INFO net.sf.jomic.tools.ConsoleTools - using arguments:
2007-10-29 11:02:17,059 [AWT-EventQueue-0] ERROR net.sf.jomic.Jomic - stopping application
java.lang.AssertionError: setUp() must be called first
at net.sf.jomic.comic.ComicCache.assertSetUpCalled(ComicCache.java:343)
at net.sf.jomic.comic.ComicCache.getArchiveCache(ComicCache.java:184)
at net.sf.jomic.comic.ComicCache.dispose(ComicCache.java:336)
at net.sf.jomic.ui.JomicApplication.quit(JomicApplication.java:292)
at net.sf.jomic.ui.JomicApplication.checkForUnrar(JomicApplication.java:469)
at net.sf.jomic.ui.JomicApplication.<init>(JomicApplication.java:103)
at net.sf.jomic.ui.JomicApplication.instance(JomicApplication.java:142)
at net.sf.jomic.Jomic$JomicRunner.run(Jomic.java:275)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Discussion

  • Thomas Aglassinger

    Logged In: YES
    user_id=421066
    Originator: YES

    Fixed in repository, scheduled for version 0.9.28.

     
  • Thomas Aglassinger

    • milestone: --> Fixed in 0.9.28
     
  • Thomas Aglassinger

    • status: open --> closed-fixed
     

Log in to post a comment.