BuildDependency throws ArrayIndexOutOfBoundsException

Sp Sp <[email protected]> Tue, 25 May 2004 22:46:14 +0100 (BST)
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hello!

I am writing an application for TINI that uses the
1wire bus to communicate with one DS1820 and one
DS2406 chip,
but I have a problem when running BuildDependency.

I try to do the following:

--
java -classpath ..\tini1.02d\bin\tini.jar
BuildDependency -debug -x
..\tini1.02d\bin\owapi_dep.txt -p
..\tini1.02d\bin\owapi_dependencies_TINI.jar -f
classes -o TempMonitor.tini -d
..\tini1.02d\bin\tini.db -add OneWireContainer28
OneWireContainer12
--



...and I get this error:

--
Dep 0 :
com.dalsemi.onewire.container.OneWireContainer28
filecheck on
com/dalsemi/onewire/container/OneWireContainer28.class
Loading
com/dalsemi/onewire/container/OneWireContainer28.class
from zip file
..\tini1.02d\bin\owapi_dependencies_TINI.jar
Dep 1 : com.dalsemi.onewire.container.OneWireSensor
filecheck on
com/dalsemi/onewire/container/OneWireSensor.class
Loading
com/dalsemi/onewire/container/OneWireSensor.class from
zip file ..\tini1.02d\bin\owapi_dependencies_TINI.jar
Dep 2 :
com.dalsemi.onewire.container.TemperatureContainer
filecheck on
com/dalsemi/onewire/container/TemperatureContainer.class
Loading
com/dalsemi/onewire/container/TemperatureContainer.class
from zip file
..\tini1.02d\bin\owapi_dependencies_TINI.jar
-f arg:
com_dalsemi_onewire_container_OneWireContainer28.class
-f arg:
com_dalsemi_onewire_container_OneWireSensor.class
-f arg:
com_dalsemi_onewire_container_TemperatureContainer.class
TINIConvertor + ZIP
Version 0.75 for TINI
built on or around May 3, 2001
Disassembler/Builder Version 0.15 TINI, October 30,
2000
JiBDB 0.60 for TINI, November 10, 2000
Copyright (C) 1996 - 2001 Dallas Semiconductor
Corporation.
Uncaught exception:
java.lang.ArrayIndexOutOfBoundsException: 13
java.lang.ArrayIndexOutOfBoundsException: 13
        at
com.dalsemi.tiniconvertor.GetOpt.getopt(GetOpt.java:188)
        at TINIConvertor.main(TINIConvertor.java:989)
        at TINIConvertor.main(TINIConvertor.java:957)
        at BuildDependency.main(BuildDependency.java)


Could not create the application:
java.lang.ArrayIndexOutOfBoundsException: 13
BuildDependency clean-up complete.
The program did not successfully terminate.
Try running with the '-debug' option to determine the
cause.
Exception in thread "main" java.lang.RuntimeException:
BuildDependency did not successfully complete
        at BuildDependency.main(BuildDependency.java)
--


I have succesfully build some parts of the same code
and tested them on TINI. When I tried to build the
entire application, I got this error.
Do you have any idea what it is and how to solve it?

Thanks in advance


____________________________________________________________
Do You Yahoo!?
Αποκτήστε τη δωρεάν @yahoo.gr διεύθυνση σας στο http://www.otenet.gr
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini