Error to Start a servidor

Developer discussion regarding MapTool 1.4

Moderators: dorpond, trevor, Azhrei

Forum rules
Posting now open to all registered forum users.
Post Reply
Simonkay
Kobold
Posts: 4
Joined: Wed Jul 25, 2018 9:31 am

Error to Start a servidor

Post by Simonkay »

Before of all: Sorry. I don´t know if I can post this here.

And now. I try to start a servidor to test my map and its appears this message.

java.lang.StringIndexOutOfBoundsException: String index out of range: -3
at java.lang.String.substring(String.java:1967)
at net.rptools.maptool.client.ui.MapToolFrame.setTitleViaRenderer(MapToolFrame.java:1315)
at net.rptools.maptool.client.ui.MapToolFrame.setCurrentZoneRenderer(MapToolFrame.java:1306)
at net.rptools.maptool.client.MapTool.setCampaign(MapTool.java:944)
at net.rptools.maptool.client.MapTool.setCampaign(MapTool.java:935)
at net.rptools.maptool.client.ClientMethodHandler$1.run(ClientMethodHandler.java:191)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at net.rptools.maptool.client.swing.MapToolEventQueue.dispatchEvent(MapToolEventQueue.java:36)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


Sorry for my english.

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Error to Start a servidor

Post by Phergus »

When seeking help for a problem always post:
  • What version of MapTool you are using.
  • What version of Java you are using.
  • What operating system.
All of this can easily be pulled from the Help Menu -> Gather Debug Information...
Just copy/paste the info into a post.

If you can provide a link to your Campaign File (Dropbox, Google Drive, etc..) that can be helpful as well.

Simonkay
Kobold
Posts: 4
Joined: Wed Jul 25, 2018 9:31 am

Re: Error to Start a servidor

Post by Simonkay »

Sorry:
I´m using versión of MapTools 1.4.1.8
Java using Versión 8 Upgrad. 181. (Compilation 1.8.0_181-b13)
My system is Windows 10.

I import two campaign:
https://drive.google.com/open?id=1FpVkh ... GV25kTM4Gs
https://drive.google.com/open?id=1_tulb ... FvAhJoLcqJ


Thanks you so much

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Error to Start a servidor

Post by Phergus »

Both of those campaigns have a map that gives MT 1.4.1.8 fits if the map is made active.

The GDA campaign with multiple maps named "Grassland" loads and I can start a server with no issues. If I change to the problem map (2nd from the bottom) MT starts throwing exceptions but if I get lucky and manage to delete the map in between the exceptions then it is fine.

What Language/Locale settings are you using for Windows?

Simonkay
Kobold
Posts: 4
Joined: Wed Jul 25, 2018 9:31 am

Re: Error to Start a servidor

Post by Simonkay »

I´m using Spanish. I think I can be exasperating for these things, I do not understand much abit it. I am sorry.

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Error to Start a servidor

Post by Phergus »

Spanish isn't normally an issue so that's probably not it. Some other languages have had issues in the past that needed to be handled.

Can you start a server without adding any maps other than the default Grasslands?

Simonkay
Kobold
Posts: 4
Joined: Wed Jul 25, 2018 9:31 am

Re: Error to Start a servidor

Post by Simonkay »

Yes! Thanks you so much. Its ok!

Post Reply

Return to “MapTool 1.4”