dermetfan / libgdx-texturepacker-gui

Automatically exported from code.google.com/p/libgdx-texturepacker-gui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Startup seems to be failing, no gui is shown but a thread keeps alive

GoogleCodeExporter opened this issue · comments

I downloaded the latest version of texturepacker-gui from the featured 
downloads but when the application started it doesn't show anything while a 
thread was kept alive. Then I downloaded the source code and debugged it a bit 
and the problem was a ClassCastException in this line:

    BasicSplitPaneDivider dividerContainer = (BasicSplitPaneDivider) jSplitPane1.getComponent(0);

On the MainWindow constructor.

As that is a separated thread, it died but the Exception wasn't logged, and the 
other thread was alive so the application continues without showing anything.

Tried adding a try/catch block to that section (to see if that was the problem) 
and the application ran correctly after that.

I am on Ubuntu 10.04, Oracle Java 1.6.0_26.

Original issue reported on code.google.com by ariel.co...@gmail.com on 22 Nov 2011 at 11:42

OMG, BasicSplitPaneDivider is not part of the common UI stuff in the JRE. I was 
misleaded by its name and did not checked its package.

Feeling really sorry about this mistake, will fix it asap !

Thanks a lot for beta-testing all my stuff Ariel, you're helping me a lot! If I 
ever end up by releasing a paid app, free copies to your company for life XD

Original comment by aurelien.ribon on 22 Nov 2011 at 12:48

  • Changed state: Started

Original comment by aurelien.ribon on 22 Nov 2011 at 12:48

  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium
This issue was closed by revision 8c15b762db4e.

Original comment by aurelien.ribon on 22 Nov 2011 at 2:01

  • Changed state: Fixed