unable to launch Tokentool
Moderators: dorpond, trevor, Azhrei
unable to launch Tokentool
I have no trouble with maptool, initiativetool, dice tool or character tool, but I cannot get tokentool 1.0.b28 to launch, either with the quick launch or with the downloaded tool. I am running java 1.5 18 on windows XP.
with the downloaded tool, I get no message, and nothing happens even after several minutes (the other apps load very quickly).
with quick launch, I get a "unable to lauch application" error.
the details are:
launch file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.5+" codebase="http://download.rptools.net/">
<information>
<title>RPTools TokenTool</title>
<vendor>http://download.rptools.net/</vendor>
<icon href="http://www.rptools.net/images/logo/RPTo ... go_403.png" width="403" height="403"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... go_242.png" width="242" height="242"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_64.png" width="64" height="64" kind="splash"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_48.png" width="48" height="48"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_32.png" width="32" height="32"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_16.png" width="16" height="16"/>
<offline-allowed/>
<shortcut online="false">
<desktop />
<menu submenu="RPTools" />
</shortcut>
</information>
<security>
<all-permissions />
</security>
<resources>
<!-- Yes, the heap sizes are redundant. But it seems to fix
some kind of new weirdness with the Apple JVM on Leopard. -->
<j2se version="1.5+"
initial-heap-size="64m"
max-heap-size="512m"
java-vm-args="-Xmx512m -Xms64m -Xss2m"/>
<jar href="lib.php/tokentool-1.0.b28.jar" />
<jar href="lib.php/abeille-formsrt-2.0.jar" />
<jar href="lib.php/rplib-1.0.b87.jar" />
<jar href="lib.php/tinylaf.jar" />
</resources>
<application-desc main-class="net.rptools.tokentool.TokenTool">
<argument>${java.launch.args}</argument>
</application-desc>
</jnlp>
exception:
java.lang.NullPointerException
at net.rptools.tokentool.AppSetup.install(AppSetup.java:47)
at net.rptools.tokentool.TokenTool.main(TokenTool.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
any ideas?
thanks!
with the downloaded tool, I get no message, and nothing happens even after several minutes (the other apps load very quickly).
with quick launch, I get a "unable to lauch application" error.
the details are:
launch file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.5+" codebase="http://download.rptools.net/">
<information>
<title>RPTools TokenTool</title>
<vendor>http://download.rptools.net/</vendor>
<icon href="http://www.rptools.net/images/logo/RPTo ... go_403.png" width="403" height="403"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... go_242.png" width="242" height="242"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_64.png" width="64" height="64" kind="splash"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_48.png" width="48" height="48"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_32.png" width="32" height="32"/>
<icon href="http://www.rptools.net/images/logo/RPTo ... ogo_16.png" width="16" height="16"/>
<offline-allowed/>
<shortcut online="false">
<desktop />
<menu submenu="RPTools" />
</shortcut>
</information>
<security>
<all-permissions />
</security>
<resources>
<!-- Yes, the heap sizes are redundant. But it seems to fix
some kind of new weirdness with the Apple JVM on Leopard. -->
<j2se version="1.5+"
initial-heap-size="64m"
max-heap-size="512m"
java-vm-args="-Xmx512m -Xms64m -Xss2m"/>
<jar href="lib.php/tokentool-1.0.b28.jar" />
<jar href="lib.php/abeille-formsrt-2.0.jar" />
<jar href="lib.php/rplib-1.0.b87.jar" />
<jar href="lib.php/tinylaf.jar" />
</resources>
<application-desc main-class="net.rptools.tokentool.TokenTool">
<argument>${java.launch.args}</argument>
</application-desc>
</jnlp>
exception:
java.lang.NullPointerException
at net.rptools.tokentool.AppSetup.install(AppSetup.java:47)
at net.rptools.tokentool.TokenTool.main(TokenTool.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
any ideas?
thanks!
Re: unable to launch Tokentool
I just managed to solve it.
Just in case someone else has this problem, the issue was ownership of the .tokentool folder, which somehow was restricted to the administrator. I have to boot in safe mode and delete the folder, then the quick launch app was able to write a new folder and launch.
Just in case someone else has this problem, the issue was ownership of the .tokentool folder, which somehow was restricted to the administrator. I have to boot in safe mode and delete the folder, then the quick launch app was able to write a new folder and launch.
Re: unable to launch Tokentool
Wow, I'm glad you found that because I had no clue what was going on...
Re: unable to launch Tokentool
I'm having the same problem.
Where do I find this ".tokentool" folder?
Where do I find this ".tokentool" folder?
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: unable to launch Tokentool
What OS are you using?dunlaing wrote:I'm having the same problem.
Where do I find this ".tokentool" folder?
In XP it's under:
Documents and Settings\User Name\
In Vista/Win7:
Users\User Name\
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: unable to launch Tokentool
Windows 7
Deleting that folder didn't do anything for me though. It still isn't working. Oh well.
Deleting that folder didn't do anything for me though. It still isn't working. Oh well.
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: unable to launch Tokentool
What version of java do you have installed?dunlaing wrote:Windows 7
Deleting that folder didn't do anything for me though. It still isn't working. Oh well.
Deleting the folder isn't the solution. It just sounds like the user above was able to launch the webstart application but not manually install it for some strange reason... I'd guess it was a permissions issue, but XP shouldn't have had permissions issues.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
- Dark Thoughts
- Giant
- Posts: 134
- Joined: Sat Feb 02, 2008 1:20 am
Re: unable to launch Tokentool
I must be missing something obvious.
I've downloaded TokenTool V.1.0.B28 to my Windows 7 machine and extracted the zipped files.
After extraction, I am left with:
lib.file folder
tokentool-1.0.b28.WinRAR Archive
The tokentool-1.0.b28.WinRAR archive contains:
MetaINF.folder
net.folder
I've looked in all the folders but failed to locate an executable for TokenTool.
I also have Java V.1.6.21 on my machine, if that helps.
Can you guys tell me what I'm overlooking?
I've downloaded TokenTool V.1.0.B28 to my Windows 7 machine and extracted the zipped files.
After extraction, I am left with:
lib.file folder
tokentool-1.0.b28.WinRAR Archive
The tokentool-1.0.b28.WinRAR archive contains:
MetaINF.folder
net.folder
I've looked in all the folders but failed to locate an executable for TokenTool.
I also have Java V.1.6.21 on my machine, if that helps.
Can you guys tell me what I'm overlooking?
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: unable to launch Tokentool
First, java applications don't have an executable file(well... except for maptool, but thats just a wrapper that just calls java). You have to launch Java and tell it to open the token tool. Since there are no launcher scripts included with token tool as there are with maptool, you will have to either create one manually or launch java/token tool from the command line. You will need to put the lib folder and the tokentool jar file somewhere (create a new folder for it if you like). then from the command line change to that folder and run the java exe.Dark Thoughts wrote:I must be missing something obvious.
I've downloaded TokenTool V.1.0.B28 to my Windows 7 machine and extracted the zipped files.
After extraction, I am left with:
lib.file folder
tokentool-1.0.b28.WinRAR Archive
The tokentool-1.0.b28.WinRAR archive contains:
MetaINF.folder
net.folder
I've looked in all the folders but failed to locate an executable for TokenTool.
I also have Java V.1.6.21 on my machine, if that helps.
Can you guys tell me what I'm overlooking?
Code: Select all
cd c:\folderyoucreated\ [ENTER]
java -jar tokentool*.jar
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
Re: unable to launch Tokentool
What you are overlooking is that you are using that POS WinRAR which in its usual stupid fracking way has corrupted your system such that it doesn't handle the Java JAR files correctly.
You should be able to just double-click on the TokenTool jar file and have it run.
You should be able to just double-click on the TokenTool jar file and have it run.
- Dark Thoughts
- Giant
- Posts: 134
- Joined: Sat Feb 02, 2008 1:20 am
Re: unable to launch Tokentool
Yep, I removed WinRAR and everything worked fine. Honestly I don't remember exactly why I still had it on my system. I downloaded something once that required it to be unzipped but that was ages ago. Now I know that if the need arises again, to dump it as soon as possible.
Thanks for the help guys.
Thanks for the help guys.
Re: unable to launch Tokentool
Glad you got it working!
If you need to a tool that can handle RAR files get 7-Zip.
http://www.7-zip.org/
If you need to a tool that can handle RAR files get 7-Zip.
http://www.7-zip.org/
- Dark Thoughts
- Giant
- Posts: 134
- Joined: Sat Feb 02, 2008 1:20 am
Re: unable to launch Tokentool
Thanks for the tip.