Re: stack overflow while doing TINI Convert...

"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <007a01c423d6$09c0a490$764000b4@kardis>
> 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

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

Kris

----- Original Message -----
From: "Richard Wettel" <rwettel-M8/[email protected]>
To: <tini-6tN4nzCoH/[email protected]>
Cc: "Alin Gherghescu" <alin.gherghescu-M8/[email protected]>; "Claudiu Suma"
<claudiu.suma-M8/[email protected]>
Sent: Friday, April 16, 2004 2:26 AM
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
%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
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
e:\tini\tini1.02f_f
>
bin\tiniclasses.jar;e:\tini\tini1.02f_f\bin\owapi_dependencies_TINI.jar;.  -
d c
> lasses src\*.java
> TINI Convert...
>
> E:\Tini\TINI1~1.02F\bin>c:\jdk1.3.1\bin\java -classpath
e:\tini\tini1.02f_f\bin\
> tini.jar;. BuildDependency -f classes -o classes\ss.tini -d
e:\tini\tini1.02f_f\
> bin\tini.db -x owapi_dep.txt -add OneWireContainer12 -debug -p
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
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
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
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
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
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
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
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
from fil
> e
E:\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_OneWireContainer12.
cl
> ass
> Loading class ___com_dalsemi_onewire_container_MemoryBank.class from file
E:\Tin
> i\TINI1~1.02F\bin\___com_dalsemi_onewire_container_MemoryBank.class
> Loading class ___com_dalsemi_onewire_container_MemoryBankEPROM.class from
file E
>
:\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_MemoryBankEPROM.clas
s
> Loading class ___com_dalsemi_onewire_container_OTPMemoryBank.class from
file E:\
> Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_OTPMemoryBank.class
> Loading class ___com_dalsemi_onewire_container_PagedMemoryBank.class from
file E
>
:\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_PagedMemoryBank.clas
s
> Loading class ___com_dalsemi_onewire_container_OneWireSensor.class from
file E:\
> Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_OneWireSensor.class
> Loading class ___com_dalsemi_onewire_container_SwitchContainer.class from
file E
>
:\Tini\TINI1~1.02F\bin\___com_dalsemi_onewire_container_SwitchContainer.clas
s
> Throwable: java.lang.StackOverflowError
> java.lang.StackOverflowError
>         at
com.dalsemi.system.classloader.reflection.Resolver.getResolver(Resolv
> er.java:127)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
com.dalsemi.system.classloader.reflection.DatabaseResolver.getPublicM
> ethodCount(DatabaseResolver.java:144)
>         at
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
>


_______________________________________________
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.