Page 1 of 1

Unexpected Error has Occured

Posted: Tue Nov 17, 2015 10:59 am
by Fiache
When I select a game format in Chartool I get "An unexpected Error has Occured"

This happens regardless of the game format I choose, except the default format.

Can anyone help? Thanks --


Code: Select all

java.lang.NullPointerException
	at net.rptools.parser.function.impl.Addition.checkParameters(Addition.java:63)
	at net.rptools.parser.function.AbstractFunction.evaluate(AbstractFunction.java:48)
	at net.rptools.parser.EvaluationTreeParser.evaluate(EvaluationTreeParser.java:115)
	at net.rptools.parser.EvaluationTreeParser.evaluate(EvaluationTreeParser.java:105)
	at net.rptools.parser.Expression.evaluate(Expression.java:55)
	at net.rptools.chartool.model.property.RPScript.execute(RPScript.java:195)
	at net.rptools.chartool.model.property.DefaultScriptPropertyValue.execute(DefaultScriptPropertyValue.java:167)
	at net.rptools.chartool.model.property.PropertyNode.getValue(PropertyNode.java:779)
	at net.rptools.chartool.model.property.PropertyNode.get(PropertyNode.java:658)
	at net.rptools.chartool.model.property.PropertyNode.get(PropertyNode.java:601)
	at net.rptools.chartool.model.property.PropertyMap.get(PropertyMap.java:321)
	at net.rptools.chartool.ui.charsheet.CharSheetController.setFields(CharSheetController.java:434)
	at net.rptools.chartool.ui.charsheet.CharSheetController.setData(CharSheetController.java:393)
	at net.rptools.chartool.ui.CharacterTab.setCharacter(CharacterTab.java:241)
	at net.rptools.chartool.ui.CharacterTab.displayViewPane(CharacterTab.java:186)
	at net.rptools.chartool.ui.CharacterTab.setCharacterSheet(CharacterTab.java:326)
	at net.rptools.chartool.ui.CharToolFrame.stateChanged(CharToolFrame.java:523)
	at javax.swing.DefaultSingleSelectionModel.fireStateChanged(Unknown Source)
	at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(Unknown Source)
	at javax.swing.JTabbedPane.setSelectedIndexImpl(Unknown Source)
	at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source)
	at javax.swing.JTabbedPane.insertTab(Unknown Source)
	at javax.swing.JTabbedPane.addTab(Unknown Source)
	at net.rptools.chartool.ui.CharacterTab.createTab(CharacterTab.java:164)
	at net.rptools.chartool.ui.CharToolFrame.newTab(CharToolFrame.java:375)
	at net.rptools.chartool.ui.CharToolFrame$2.run(CharToolFrame.java:202)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at net.rptools.chartool.ui.LoggingEventQueue.dispatchEvent(LoggingEventQueue.java:74)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Re: Unexpected Error has Occured

Posted: Mon Oct 02, 2017 2:29 pm
by Greatest Dude
i was going to post the same thing. man i hope we get help as i have no idea what to do with this.

Re: Unexpected Error has Occured

Posted: Mon Oct 02, 2017 3:53 pm
by Full Bleed
Greatest Dude wrote:i was going to post the same thing. man i hope we get help as i have no idea what to do with this.
These errors seem related to using this program with newer versions of Java. It was developed on Java 6.

This tool just isn't used very often and has not been kept up to date.