darkpanda
Dark Prince
- Joined
- Oct 28, 2007
- Messages
- 823
(In the 'cmd.exe' window, the last line reads "at java.awt.Component.processMouseEvent(Unknown Source)".)
What would really help are the first few lines in the 'cmd.exe' windows
(In the 'cmd.exe' window, the last line reads "at java.awt.Component.processMouseEvent(Unknown Source)".)
What would really help are the first few lines in the 'cmd.exe' windows
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Consructor.newInstance(Unknown Source)
at dd.commn.ui.MDIEditor.openSupportedObject(MDIEditor.java:91)
Here are the first six lines:
Code:java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Consructor.newInstance(Unknown Source) at dd.commn.ui.MDIEditor.openSupportedObject(MDIEditor.java:91)
I hope this helps. Good luck!
Arg! This error is really not what I expected, I might actually need more than 6 lines, maybe 12 !
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Consructor.newInstance(Unknown Source)
at dd.commn.ui.MDIEditor.openSupportedObject(MDIEditor.java:91)
at dd.jcived.jciveditor.ui.actionsOpenGameSaveAction.openFile(OpenGameSaveAction.java:53)
at dd.common.ui.actions.OpenFileAction.actionPerformed(OpenFileAction.java:32)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt...
Besides this, it could be related to the directory/file structure where you put JCivED on your disk... Would you mind giving me some details about it ?
You could also give me the output of a dir /s from the JCivED directory
Volume in drive C is Primary
Volume Serial Number is 44A0-0281
Directory of C:\GAMES\CIV\JCIVED
13-08-14 17:07 <DIR> .
13-08-14 17:07 <DIR> ..
13-08-08 19:03 363,160 dd-common.jar
13-08-14 17:07 0 jcivdir.txt
13-08-12 14:08 627,984 JCivED-0.0.11.2a.zip
13-04-26 06:16 33 jcived.bat
13-06-25 08:04 376,004 jcived.jar
13-04-26 06:17 60 piced_cmd.bat
13-08-12 14:11 57 settings.ini
7 File(s) 1,367,298 bytes
Total Files Listed:
7 File(s) 1,367,298 bytes
2 Dir(s) 40,079,859,712 bytes free
I hope this looks more enlightening to you than it does to me!
Here are 15-and-a-bit for the price of 12
As a matter of fact, there should be a "nested exception", meaning that scrolling further down the cmd.exe window, you should another 'stacktrace' starting with java.xxx.yyy.SomethingException, which will be the *real* cause of the error, which in turn provoked the InvocationTargetException...
...
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(Unknown Source)
...
Code:... at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.[B]OutOfMemoryError[/B]: Java heap space at java.awt.image.DataBufferInt.<init>(Unknown Source) ...
I think it says it all:
What's the amount of RAM on your WinXP system?
Just tried out JCivED for the first time since the land value generation was added. Good work Darkpanda. The only little issue that I noticed was that when generating the land value, you need to account for the fact that all squares directly surrounding the city's productive land are normally valued at '8' (in order to keep the cities 3-spaced apart). This is not maintained when you refresh the land values in JCivED.
Hmm, that's odd. I tried it a few times. The 8 value 'shroud' dissapeared each time, on all cities. Let me give it a few goes on a more predictable Earth map.
Question, is there a way to bring in a picture and turn it into a map? Just thinking it would be quite handy to be able to bring in pictures and not have to draw them out by hand to use them in civ. For example, I would like to play civ on the Lord of the Rings world, it would be great if I didn't have try to draw it.