Java Marvel Character Creator updates?

Posted by DoGooder 
Java Marvel Character Creator updates?
July 19, 2019 04:50AM
Hi folks,

I downloaded the "CMF Character Creator" here and was trying to find a more up-to-date version of the software. Searching the forum archives, I came across the Sourceforge page for the project (Java Marvel Character Creator), but that also hasn't been updated since Nov 2016. There're still some bugs in the latest 2.1.2 version (for example, clicking the + or - buttons causes a whole slew of errors).

Does anyone know if there's any more recent versions of this software?

Thanks!
Re: Java Marvel Character Creator updates?
July 19, 2019 06:37AM
I'm currently working on an update. I haven't worked on it for about 2 years.

What errors did you see with the +/- buttons? Thanks

Please provide logs if you have them.

Re: Java Marvel Character Creator updates?
July 31, 2019 05:19AM
So the +/- issue happens if I am manually entering the data for the character. The log spits this out:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at Marvel.Character.GetPowersKeySet(Character.java:1761)
	at Marvel.Character.CheckPowersByAbility(Character.java:2358)
	at Marvel.CCGui.Mod(CCGui.java:3074)
	at Marvel.CCGui.access$65(CCGui.java:3057)
	at Marvel.CCGui$AbilityRow$2.actionPerformed(CCGui.java:5513)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.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 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)

If I "Roll Character" then I can use the +/- with no issue.

Also, unrelated, if I download the latest version (2.1.2) and try to run it standalone, it will hang in the background when trying to create marvelDB and never go further (see code below for log). I had to download an ealier version, build the marvelDB with that one, then copy over the DB folder to where I stored 2.1.2 and it will rebuild/update the DB from that version.

Wed Jul 31 10:17:24 CDT 2019     Java Marvel Character Creator v2.1.2
Wed Jul 31 10:17:24 CDT 2019     Welcome to the New JMCC!!!
Wed Jul 31 10:17:24 CDT 2019     I may need to refresh the db....checking...
Wed Jul 31 10:17:47 CDT 2019     Connection to db: marvelDB failed!  Attempting to create...

The derby.log for this issue looks like this:

Wed Jul 31 10:17:47 CDT 2019 Thread[AWT-EventQueue-0,6,main] Cleanup action starting
java.sql.SQLException: Database 'marvelDB' not found.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection40.(Unknown Source)
	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
	at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at Marvel.DerbyData.(DerbyData.java:53)
	at Marvel.Loader.(Loader.java:48)
	at Marvel.CCGui.(CCGui.java:242)
	at Marvel.CCGui$1.run(CCGui.java:177)
	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 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)
Caused by: java.sql.SQLException: Database 'marvelDB' not found.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
	... 32 more
============= begin nested exception, level (1) ===========
java.sql.SQLException: Database 'marvelDB' not found.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection40.(Unknown Source)
	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
	at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at Marvel.DerbyData.(DerbyData.java:53)
	at Marvel.Loader.(Loader.java:48)
	at Marvel.CCGui.(CCGui.java:242)
	at Marvel.CCGui$1.run(CCGui.java:177)
	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 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)
============= end nested exception, level (1) ===========
Cleanup action completed


Hope these help pinpoint any issues!
Re: Java Marvel Character Creator updates?
July 31, 2019 07:00AM
Thanks.

I already have the initial issue fixed in the latest release (+/- before random rolling)

I'll have to look into the DB issue. I haven't encountered it. Are you on Windows, Linux, or Mac?

Re: Java Marvel Character Creator updates?
July 31, 2019 09:40AM
Windows 10, using Java 8u221 64-bit
Re: Java Marvel Character Creator updates?
July 31, 2019 04:46PM
I'm not sure what the bug was in 2.1.2, but I do remember fixing a DB issue when I started working in this again.

I suggest downloading 2.1.1, then upgrading to 2.1.2. The bug is fixed in the next version. Sorry for the inconvenience.

Re: Java Marvel Character Creator updates?
August 03, 2019 06:24AM
avatar
More like "sorry for the convenience." Thanks for all the continuing effort you put into this project. cool smiley

A high post count is indicative of little more than one having the time to post frequently.
It does not mean a person is more knowledgeable on any given topic than anyone else.
Re: Java Marvel Character Creator updates?
May 03, 2021 12:40PM
UPDATE....a new update is coming!

This one has some performance improvements
A desktop background!
And the ability to truly randomize powers! Choose this option and you'll get random powers from random sets! OK, maybe not the best improvement, but one I've wanted for a bit.

Re: Java Marvel Character Creator updates?
May 03, 2021 09:24PM
avatar
Been awhile since i used this, though the last version is on the old pc. I have to check it out.
Re: Java Marvel Character Creator updates?
May 05, 2021 09:23AM
avatar
I'd like to see this as well. Right now I have an Excel sheet generating numbers. It's pretty rough, so an actual program is most welcome! Random powers aren't a problem. Tying those together is half the fun of character generation.
Re: Java Marvel Character Creator updates?
May 05, 2021 12:18PM
Quote
Pel Morba
I'd like to see this as well. Right now I have an Excel sheet generating numbers. It's pretty rough, so an actual program is most welcome! Random powers aren't a problem. Tying those together is half the fun of character generation.

You haven't checked out the JMCC yet? It's only about 10 years old....musty, needs cleaning. smiling smiley

I'll probably push it out the latest this weekend.

 
Sorry, only registered users may post in this forum.

Click here to login

Heroes Currently Online

Persons Hiding Behind Secret Identities: 25
Record Number of Persons Hiding Behind Secret Identities: 1815 on March 02, 2024


TSR is a registered trademark owned by TSR Inc. TSR inc. is a subsidiary of Wizards of the Coast, Inc., a division of Hasbro, Inc.
Names(s) of character(s) and the distinctive likeness(es) thereof are Trademarks and © of Marvel Characters, Inc. and are used without permission.
Names(s) of character(s) and the distinctive likeness(es) thereof are Trademarks and © of DC Comics and are used without permission.
This site is not intended to make money. It provides resources to players of a game no longer being produced.