Menu

internal LaunchAnywhere application error

Help
2003-11-03
2003-11-15
  • Sebastian Zagrodzki

    After installation, when running ./Fangorn script I get:

    An internal LaunchAnywhere application error has occured and this application cannot proceed. (LAX)

    Stack Trace:
    java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
            at java.util.Properties.loadConvert(Properties.java:309)
            at java.util.Properties.load(Properties.java:258)
            at com.zerog.common.java.util.PropertiesUtil.loadProperties(DashoA8113)
            at com.zerog.lax.LAX.<init>(DashoA8113)
            at com.zerog.lax.LAX.main(DashoA8113)

    I tried with Fangorn 0.8 as well as with 0.85rc2. Get the same results with locale set as pl_PL or without it.

     
    • Rob

      Rob - 2003-11-03

      That appears to be a LanuchAnywhere error, and I can not do much about it :( - if you like you can download the _Java version which has a .bat file and a .sh file to launch the application.

      Odd error.  I have never seen it before. There is no pl_PL properties file in Treebeard at present anyway (and 0.8 didnt use properties files at all). What OS are you using (looks like Linux, but what flavor / version), and do you know what your default encoding is set to? (utf-8 utf-16 iso-8859-1 etc)?

       
    • Sebastian Zagrodzki

      I use PLD Linux 1.0 (http://www.pld-linux.org), which is somehow similiar to RH or MDK, with Sun Java JRE+JDK 1.4.1_01.
      Treebeard installer writes something to the console about encoding set to ISO8859-2 during installation process.

       
    • Sebastian Zagrodzki

      OK, I found the source of the problem. It was the "#!/bin/sh" in Fangorn script, which actually should be replaced with "#!/bin/bash" (PLD Linux uses ksh as it's default shell, and obviously these two behave different).
      The only difference is in properties file: with ksh there are additional lines:

      -lax.nl.env.exact_case.PS1=[\u@\h \W]\$
      -lax.nl.env.ps1=[\u@\h \W]\$
      -lax.nl.env.PS1=[\u@\h \W]\$
      -lax.nl.env.exact_case.PS2=>
      -lax.nl.env.ps2=>
      -lax.nl.env.PS2=>

      Unsetting PS1/PS2 helps, i.e. Fangorn starts without any problems. So does replacing sh with bash in file header.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.