#8 Get ResourceBundle exception when starting Fangorn

closed
nobody
Install (3)
5
2004-10-04
2004-01-25
Marc Mertens
No

I just downloaded version 0.85 of treebeard and
installed it on my linux box (slackware 9.0, used the
*.bin package).
When I tried to start Fangorn I get the following error

java.util.MissingResourceException: Can't find bundle
for base name lang/fangorn, locale en_US
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at
java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at com.robrohan.tools.Globals.startUp(Unknown
Source)
at com.robrohan.fangorn.Fangorn.<init>(Unknown
Source)
at com.robrohan.fangorn.Fangorn.main(Unknown
Source)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)

I tried already to copy the lang/fangorn.properties to
lang/fangorn_en-US.properties but this did not solved
my problem, any suggestions to get fangorn running.

Thanks a lot in advance

Marc Mertens
mertens_marc@skynet.be

Discussion

  • Josh Reynolds
    Josh Reynolds
    2004-02-25

    Logged In: YES
    user_id=918511

    There seems to be a bug in the installer. Namely it doesnt
    add the the root (of the installation) directory into the
    classpath. Since the bundle is looked up via the classpath,
    java cannot find the properties files.

    Workaround:
    In the "Fangorn.lax" file, edit the entrie for
    "lax.class.path" to include the root directory.

    Example:
    lax.class.path=js.jar:bsf.jar.....
    becomes:
    lax.class.path=.:js.jar:bsf.jar.....

    Note the dot colon in the beginning.

    Cheers.

     
  • Rob
    Rob
    2004-10-04

    • status: open --> closed
     
  • Rob
    Rob
    2004-10-04

    Logged In: YES
    user_id=570959

    Yes, you need to include the current directory in the classpath. This
    should be all good in the newer version as we no longer are using
    InstallAnywere (as its not no longer free) - thanks for the work around
    post.