Error after installing

I’ve created my own skinned version of Spark following it2000’s tutorial ( http://www.igniterealtime.org/community/docs/DOC-1360 ).

The program itself it’s great, and all the changes I made are ok too, but, after installing it I get the following error:

"An error occured:

java.lang.AbstractMethodError

Error log: … \install4jError29479.log"

(I’ve remove the log path).

Here is the .log content:

Exception:

java.lang.AbstractMethodError

at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)

at com.install4j.runtime.installer.Installer.main(Unknown Source)

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.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

System properties:

java.runtime.name=Java™ SE Runtime Environment

exe4j.moduleName=C:\Documents and Settings\spark_1_0_0.exe

exe4j.semaphoreName=c:_documents and settings_spark_1_0_0.exe

sun.boot.library.path=c:\docume1\utiliz1\defini~1\temp\e4j659.tmp_dir15242\jre\bin

java.vm.version=10.0-b22

java.vm.vendor=Sun Microsystems Inc.

java.vendor.url=http://java.sun.com/

exe4j.consoleCodepage=cp0

path.separator=;

java.vm.name=Java HotSpot™ Client VM

file.encoding.pkg=sun.io

user.country=PT

sun.os.patch.level=Service Pack 2

install4j.exeDir=C:\Documents and Settings\

java.vm.specification.name=Java Virtual Machine Specification

user.dir=C:\DOCUME1\UTILIZ1\DEFINI~1\Temp\e4j659.tmp_dir15242

java.runtime.version=1.6.0_06-b02

java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment

java.endorsed.dirs=c:\docume1\utiliz1\defini~1\temp\e4j659.tmp_dir15242\jre\lib\endorsed

os.arch=x86

java.io.tmpdir=C:\DOCUME1\UTILIZ1\DEFINI~1\Temp\

line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.

user.variant=

exe4j.tempDir=C:\DOCUME1\UTILIZ1\DEFINI~1\Temp\e4j659.tmp_dir15242

os.name=Windows XP

proxySet=false

sun.java2d.noddraw=true

sun.jnu.encoding=Cp1252

java.library.path=C:\Documents and Settings;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\sy stem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programas\Microsoft SQL Server\80\Tools\Binn;C:\IFOR\WIN\BIN;C:\IFOR\WIN\BIN\EN_US;C:\Programas\Actify \Kernel;C:\Programas\Actify\Importers;C:\Programas\Haskell\bin;C:\ghc\ghc-6.8.3\ bin;;c:\programas\java\jre1.6.0_07\bin;c:\docume1\utiliz1\defini~1\temp\e4j659.tmp_dir15242\jre\bin

java.specification.name=Java Platform API Specification

java.class.version=50.0

sun.management.compiler=HotSpot Client Compiler

exe4j.isInstall4j=true

os.version=5.1

user.home=C:\Documents and Settings\XX

user.timezone=Europe/London

java.awt.printerjob=sun.awt.windows.WPrinterJob

file.encoding=Cp1252

java.specification.version=1.6

java.class.path=C:\DOCUME1\UTILIZ1\DEFINI1\Temp\e4j659.tmp_dir15242\i4jruntime.jar;C:\DOCUME1\UTILIZ1\DEFINI1\Temp\e4j659.tmp_dir15242\user.jar;C:\DOCUME1\UTILIZ1\DEFINI~1\Temp\e4j659.tmp_dir15242\platform.zip;

user.name=XX

java.vm.specification.version=1.0

java.home=c:\docume1\utiliz1\defini~1\temp\e4j659.tmp_dir15242\jre

sun.arch.data.model=32

exe4j.launchName=C:\Documents and Settings\spark_1_0_0.exe

user.language=pt

java.specification.vendor=Sun Microsystems Inc.

awt.toolkit=sun.awt.windows.WToolkit

java.vm.info=mixed mode

exe4j.unextractedPosition=15166577

java.version=1.6.0_06

java.ext.dirs=c:\docume1\utiliz1\defini~1\temp\e4j659.tmp_dir15242\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext

sun.boot.class.path=c:\docume1\utiliz1\defini1\temp\e4j659.tmp_dir15242\jre\lib\resources.jar;c:\docume1\utiliz1\defini1\temp\e4j659.tmp_dir15242\jre\lib\rt.jar;c:\docume1\utiliz1\defini1\temp\e4j659.tmp_dir15242\jre\lib\sunrsasign.jar;c:\docume1\utiliz1\defini1\temp\e4j659.tmp_dir15242\jre\lib\jsse.jar;c:\docume1\utiliz1\defini1\temp\e4j659.tmp_dir15242\jre\lib\jce.jar;c:\docume1\utiliz1\defini1\temp\e4j659.tmp_dir15242\jre\lib\charsets.jar;c:\docume1\utiliz1\defini~1\temp\e4j659.tmp_dir15242\jre\classes

install4j.appDir=C:\Documents and Settings\XX\Definições locais\Temp\

java.vendor=Sun Microsystems Inc.

file.separator=\

java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi

sun.io.unicode.encoding=UnicodeLittle

sun.cpu.endian=little

sun.desktop=windows

sun.cpu.isalist=pentium_prommx pentium_pro pentiummmx pentium i486 i386 i86

If anyone could help me…

Thanks in advance.

Edit: Forgot to say that I cannot uninstall the program. It shows the language selection menu but then when I choose it, it simple disappear (it’s not shown even in Task Manager).

I’ve downloaded Spark source and try to compile it and the same error occured.

I’m using Eclipse and I’ve followed the aznidin’s document ( http://www.igniterealtime.org/community/docs/DOC-1040 ).

Another error I’ve detected in the program is that if I press the “X” button to close while I’ve a session connected, it doesn’t go to the tray like it was supposed to. It remains connected but it’s now shown anywhere and I have to shut it down on Task Manager.

Problem solved.

First I tried to use the new beta version. That solved the all the bugs except the install.

Now, I manage to find an older version of install4j and try it and it work without a problem. Looks like it’s a problem of the last version of install4j.

And what about the uninstaller ?

Did you succeed in not getting the error at the end of the install ?

Thank’s

GrK

Hi - I had this exact same problem and downloaded install4j 4.0.8 (an older version) as directed by EJ Technologies.

http://www.ej-technologies.com/download/install4j/version40.php

Both errors (install “finish” and uninstall) went away immediately, although I did need to create a new source folder with fresh code and recompile in Netbeans first.

Nick

Are you refering to the “target” dir?

If so, I was used to delete and recompile before create the .exe so if there were any error in there, I did not noticed.

Not 100% sure what you mean - I needed to create a new project in Netbeans and recompile as my previous project files had been used with the newer version of install4j, and the config file was therefore incompatible with the older version. Maybe there is another way around this, but for me it was starightforward enough to create a new project with a fresh download from SVN - and then run with the older version of install4j without errors.

Nick

I had same problem use install4j 4.2.x. after, replace it by install4j 4.0.8, the problem solved