Bug 46531

GemBuilder for Java

3.1.3, 3.1.2, 3.1.1, 3.1, 3.0.1, 3.0

All Platforms

Problems using GbjLauncher programatically

Calling up a GbjLauncher programatically via java code "new GbjLauncher(aGbjSession)" will bring up the GbjLauncher window, but then performing almost any menu or command from this GbjLauncher will cause the window to hang and a java stack similar to the following to be generated in stderr:

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: com.gemstone.gbj.GbjObject cannot be cast to com.gemstone.tools.GbxToolsSupportImpl
     at com.gemstone.tools.GbxToolsSupportImpl.supportObjectForSession_(GbxToolsSupportImpl.java:43)
     at com.gemstone.tools.GbxTool.serverSupport(GbxTool.java:724)
[Subsequent stack depends on the particular command/menu option selected]

Workaround

Call the GbjLauncher directly from the OS:

unix>  java com.gemstone.tools.GbjLauncher


                

Last updated: 11/22/16