Re[2]: stack overflow while doing TINI Convert...

Richard Wettel <rwettel-M8/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Organization ETA Automatizari Industriale
Message-ID <[email protected]>
Hi Kris,

You were absolutely right.
Thanks a lot.

Richard



>> E:\Tini\TINI1~1.02F\bin>c:\jdk1.3.1\bin\java
>> -classpath e:\tini\tini1.02f_f\bin\tini.jar;. BuildDependency ...

>> TINIConvertor (KLA)
>> Version 1.31 for TINI 1.1

KA> I think this might be a classpath problem.  You are pointing to the 1.02f
KA> tini.jar, but it is running the TINIConvertor for TINI firmwares 1.1x (which
KA> is why it works for 1.12).  Make sure you don't have tini.jar in a
KA> [jdk]/jre/lib/ext folder somewhere.  Jar files in this location are searched
KA> before anything in your classpath.

KA> Kris

KA> ----- Original Message -----
KA> From: "Richard Wettel" <rwettel-M8/[email protected]>
KA> To: <tini-6tN4nzCoH/[email protected]>
KA> Cc: "Alin Gherghescu" <alin.gherghescu-M8/[email protected]>; "Claudiu Suma"
KA> <claudiu.suma-M8/[email protected]>
KA> Sent: Friday, April 16, 2004 2:26 AM
KA> Subject: [TINI]stack overflow while doing TINI Convert...


>> Hello everyone,
>>
>> I am getting an odd exception. After compiling the java files, while
>> converting to TINI format, I get a java.lang.StackOverflowError and
>> the process enters an infinite cycle.
>> Because my colleague can compile and convert the same project without
>> problems, at first I thought it could be a problem with my Java JDK. I
>> reinstalled it, but I got the same problem.
>> The strange thing is that when I convert it for another version of
>> TINI (1.12) works.
>>
>>
>> For compiling I use this:
>>
>>
>> @echo Compile...
>> %jdk%\javac -bootclasspath
KA> %TINI102f_f%\tiniclasses.jar;%TINI102f_f%\owapi_dependencies_TINI.jar;. -d
>> classes src\*.java
>>
>> @echo TINI Convert...
>> %jdk%\java -classpath %TINI102f_f%\tini.jar;. BuildDependency -f
KA> classes -o classes\%1.tini -d
>> %TINI102f_f%\tini.db -x owapi_dep.txt -add OneWireContainer12 -debug -p
>> %TINI102f_f%\owapi_dependencies_TINI.jar
>>
>>
>>
>> The output I get as is:
>>
>> E:\TINI\TINI1~1.02F\BIN>tini102f ss
>>
>> E:\Tini\TINI1~1.02F\bin>mkdir classes
>> A subdirectory or file classes already exists.
>> Compile...
>>
>> E:\Tini\TINI1~1.02F\bin>c:\jdk1.3.1\bin\javac -bootclasspath
KA> e:\tini\tini1.02f_f
>>
KA> bin\tiniclasses.jar;e:\tini\tini1.02f_f\bin\owapi_dependencies_TINI.jar;.
KA> d c
>> lasses src\*.java
>> TINI Convert...
>>
>> E:\Tini\TINI1~1.02F\bin>c:\jdk1.3.1\bin\java -classpath
KA> e:\tini\tini1.02f_f\bin\
>> tini.jar;. BuildDependency -f classes -o classes\ss.tini -d
KA> e:\tini\tini1.02f_f\
>> bin\tini.db -x owapi_dep.txt -add OneWireContainer12 -debug -p
KA> e:\tini\tini1.02f
>> _f\bin\owapi_dependencies_TINI.jar
>> Dep 0 : com.dalsemi.onewire.container.OneWireContainer12
>> filecheck on com/dalsemi/onewire/container/OneWireContainer12.class
>> Loading com/dalsemi/onewire/container/OneWireContainer12.class from zip
KA> file e:\
>> tini\tini1.02f_f\bin\owapi_dependencies_TINI.jar
>> Dep 1 : com.dalsemi.onewire.container.MemoryBank
>> filecheck on com/dalsemi/onewire/container/MemoryBank.class
>> Loading com/dalsemi/onewire/container/MemoryBank.class from zip file
KA> e:\tini\tin
>> i1.02f_f\bin\owapi_dependencies_TINI.jar
>> Dep 2 : com.dalsemi.onewire.container.MemoryBankEPROM
>> filecheck on com/dalsemi/onewire/container/MemoryBankEPROM.class
>> Loading com/dalsemi/onewire/container/MemoryBankEPROM.class from zip file
KA> e:\tin
>> i\tini1.02f_f\bin\owapi_dependencies_TINI.jar
>> Dep 3 : com.dalsemi.onewire.container.OTPMemoryBank
>> filecheck on com/dalsemi/onewire/container/OTPMemoryBank.class
>> Loading com/dalsemi/onewire/container/OTPMemoryBank.class from zip file
KA> e:\tini\
>> tini1.02f_f\bin\owapi_dependencies_TINI.jar
>> Dep 4 : com.dalsemi.onewire.container.PagedMemoryBank
>> filecheck on com/dalsemi/onewire/container/PagedMemoryBank.class
>> Loading com/dalsemi/onewire/container/PagedMemoryBank.class from zip file
KA> e:\tin
>> i\tini1.02f_f\bin\owapi_dependencies_TINI.jar
>> Dep 5 : com.dalsemi.onewire.container.OneWireSensor
>> filecheck on com/dalsemi/onewire/container/OneWireSensor.class
>> Loading com/dalsemi/onewire/container/OneWireSensor.class from zip file
KA> e:\tini\
>> tini1.02f_f\bin\owapi_dependencies_TINI.jar
>> Dep 6 : com.dalsemi.onewire.container.SwitchContainer
>> filecheck on com/dalsemi/onewire/container/SwitchContainer.class
>> Loading com/dalsemi/onewire/container/SwitchContainer.class from zip file
KA> e:\tin
>> i\tini1.02f_f\bin\owapi_dependencies_TINI.jar
>> -f arg: ___com_dalsemi_onewire_container_OneWireContainer12.class
>> -f arg: ___com_dalsemi_onewire_container_MemoryBank.class
>> -f arg: ___com_dalsemi_onewire_container_MemoryBankEPROM.class
>> -f arg: ___com_dalsemi_onewire_container_OTPMemoryBank.class
>> -f arg: ___com_dalsemi_onewire_container_PagedMemoryBank.class
>> -f arg: ___com_dalsemi_onewire_container_OneWireSensor.class
>> -f arg: ___com_dalsemi_onewire_container_SwitchContainer.class
>> TINIConvertor (KLA)
>> Version 1.31 for TINI 1.1
>> Built on or around August 27, 2003
>> Copyright (C) 1996 - 2003 Dallas Semiconductor Corporation.
>> Loading class
>> ___com_dalsemi_onewire_container_OneWireContainer12.class
KA> from fil
>> e
KA> E:\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_OneWireContainer12.
KA> cl
>> ass
>> Loading class ___com_dalsemi_onewire_container_MemoryBank.class from file
KA> E:\Tin
>> i\TINI1~1.02F\bin\___com_dalsemi_onewire_container_MemoryBank.class
>> Loading class
>> ___com_dalsemi_onewire_container_MemoryBankEPROM.class from
KA> file E
>>
KA> :\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_MemoryBankEPROM.clas
KA> s
>> Loading class
>> ___com_dalsemi_onewire_container_OTPMemoryBank.class from
KA> file E:\
>> Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_OTPMemoryBank.class
>> Loading class
>> ___com_dalsemi_onewire_container_PagedMemoryBank.class from
KA> file E
>>
KA> :\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_PagedMemoryBank.clas
KA> s
>> Loading class
>> ___com_dalsemi_onewire_container_OneWireSensor.class from
KA> file E:\
>> Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_OneWireSensor.class
>> Loading class
>> ___com_dalsemi_onewire_container_SwitchContainer.class from
KA> file E
>>
KA> :\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_SwitchContainer.clas
KA> s
>> Throwable: java.lang.StackOverflowError
>> java.lang.StackOverflowError
>>         at
KA> com.dalsemi.system.classloader.reflection.Resolver.getResolver(Resolv
>> er.java:127)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>>         at
KA> com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
>> ethodCount(DatabaseResolver.java:144)
>> Terminate batch job (Y/N)? y
>>
>>
>>
>>
>>
>>
>> Thanks for any clue,
>> Richard Wettel
>> mailto:rwettel-M8/[email protected]
>>
>> _______________________________________________
>> TINI mailing list
>> TINI-6tN4nzCoH/[email protected]
>> To UNSUBSCRIBE, edit your profile, or see list archives:
>> http://lists.dalsemi.com/mailman/listinfo/tini
>>


KA> _______________________________________________
KA> TINI mailing list
KA> TINI-6tN4nzCoH/[email protected]
KA> To UNSUBSCRIBE, edit your profile, or see list archives:
KA> http://lists.dalsemi.com/mailman/listinfo/tini



-- 
Richard
mailto:rwettel-M8/[email protected]

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.