no custom categories in jBliss

Use this forum to report any bugs or other problems you might discover.

Moderator: Don

no custom categories in jBliss

Postby noah » Fri Feb 05, 2010 4:06 pm

I am currently using jBliss on a Linux system and it is problem free, with the one exception that I cannot open up the "custom categories" window in the Action editor. I can use the custom equipment without any problems, but when I click on custom categories, nothing happens at all. Has anyone else encountered this or know a fix?

Noah
noah
 
Posts: 1
Joined: Fri Feb 05, 2010 1:46 pm

Re: no custom categories in jBliss

Postby Zaphod » Sun Oct 10, 2010 12:23 am

I think I am seeing the same problem in v1.6 on linux. (I was also having issues with the prior version, too.) When I click Custom > Categories, I get the following error in the terminal I started Bliss from.

Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String cannot be cast to com.GamesForLoving.Categories.e
    at com.GamesForLoving.ActionEditor.bz.getTreeCellRendererComponent(CustomCategory.java:136)
    at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2712)
    at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
    at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
    at javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:900)
    at javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:354)
    at javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:367)
    at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3321)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    at java.awt.Component.firePropertyChange(Component.java:8128)
    at javax.swing.JTree.setCellRenderer(JTree.java:749)
    at com.GamesForLoving.ActionEditor.bq.<init>(CustomCategory.java:69)
    at com.GamesForLoving.ActionEditor.ActionEditor.E(ActionEditor.java:84)
    at com.GamesForLoving.ActionEditor.aW.actionPerformed(ActionEditor.java:2418)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Zaphod
 
Posts: 13
Joined: Fri Dec 25, 2009 2:25 pm

Re: no custom categories in jBliss

Postby Don » Thu Oct 14, 2010 9:21 am

Hi,

Could you let me know what version of Java you are running. Just run
Code: Select all
java -version
at the command line.

Thanks,

Don
User avatar
Don
Super Moderator
 
Posts: 1085
Joined: Fri Oct 28, 2005 3:37 pm
Location: Florida

Re: no custom categories in jBliss

Postby Zaphod » Thu Oct 14, 2010 10:39 pm

That was using:
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)


I also have:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)
OpenJDK Server VM (build 16.0-b13, mixed mode)

Which produces this error in the same place:
Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String cannot be cast to com.GamesForLoving.Categories.e
   at com.GamesForLoving.ActionEditor.bz.getTreeCellRendererComponent(CustomCategory.java:136)
   at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2751)
   at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
   at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1359)
   at javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:917)
   at javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:371)
   at javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:384)
   at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3360)
   at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:298)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:291)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:229)
   at java.awt.Component.firePropertyChange(Component.java:8023)
   at javax.swing.JTree.setCellRenderer(JTree.java:754)
   at com.GamesForLoving.ActionEditor.bq.<init>(CustomCategory.java:69)
   at com.GamesForLoving.ActionEditor.ActionEditor.E(ActionEditor.java:84)
   at com.GamesForLoving.ActionEditor.aW.actionPerformed(ActionEditor.java:2418)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
   at java.awt.Component.processMouseEvent(Component.java:6108)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
   at java.awt.Component.processEvent(Component.java:5873)
   at java.awt.Container.processEvent(Container.java:2105)
   at java.awt.Component.dispatchEventImpl(Component.java:4469)
   at java.awt.Container.dispatchEventImpl(Container.java:2163)
   at java.awt.Component.dispatchEvent(Component.java:4295)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
   at java.awt.Container.dispatchEventImpl(Container.java:2149)
   at java.awt.Window.dispatchEventImpl(Window.java:2478)
   at java.awt.Component.dispatchEvent(Component.java:4295)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Zaphod
 
Posts: 13
Joined: Fri Dec 25, 2009 2:25 pm

Re: no custom categories in jBliss

Postby Zaphod » Sat Jan 15, 2011 11:28 pm

*bump*

Any word on this, Don? I have an action file that I have been sitting on for over a year because I can't add the appropriate custom categories.

thanks.
Zaphod
 
Posts: 13
Joined: Fri Dec 25, 2009 2:25 pm

Re: no custom categories in jBliss

Postby squarepeg » Mon Jan 17, 2011 3:26 am

As an avid linux user I reported this problem back during the beta testing last summer. I've found no relief in any current version of java under linux. In my testing of the action editor, invoking either the Categories or the Situations from the menu causes a crash.

The way I get around this is to use the Windows version under WINE. If you are not familiar, WINE is a free windows comparability layer to allow the running of windows programs under linux. Bliss installs in seconds and runs well. Categories and/or situations created under the Windows version of Bliss work fine in the java jBliss version.

I gather this bug may be difficult to track down. An older version of java ran the AE just fine, so it may be the newer linux implementations are at fault - although both Sun's java and the openJDK both fail. Bothersome as that may be, I would still rather have Don's efforts go toward an Android version (hope, hope).
squarepeg
 
Posts: 68
Joined: Fri Jun 16, 2006 4:44 am
Location: Alaska

Re: no custom categories in jBliss

Postby Zaphod » Mon Jan 17, 2011 10:47 pm

I am with you on pretty much all counts. While I had some issues with using WINE with the Windows version a year ago, I managed to get the current version running under WINE recently and made my edits to the categories that way, it's just a little frustrating that it doesn't work natively.

I agree that if it takes too much effort to fix this issue, I would prefer to see work toward an Android implementation first.
Zaphod
 
Posts: 13
Joined: Fri Dec 25, 2009 2:25 pm

Re: no custom categories in jBliss

Postby Don » Tue Jan 18, 2011 10:12 am

Hi,

I think I have a fix for this in place and I will be adding it to a minor maintenance release that will be out in 2-3 weeks. The other significant fixes for this release will be fixing the online help bug and fixing the bug wtih the handling of non-ASCII characters (like accented characters) in user names.

Thanks,

Don
User avatar
Don
Super Moderator
 
Posts: 1085
Joined: Fri Oct 28, 2005 3:37 pm
Location: Florida


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 2 guests