BuilderException

Thomas Dingler <[email protected]> Mon, 23 Aug 2004 17:47:50 +0200
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

thanks for the responses to my last question. I now have another  
problem.

When I try to parse my classes using odg or opp I get on some files the  
error:

Error: org.ozoneDB.tools.OPP.srcgen.BuilderException:  
org.ozoneDB.tools.OPP.srcgen.ResolverException:  
org.xml.sax.SAXParseException: Premature end of file.{file: [not  
available]; line: [not available]; column: [not available]}
org.ozoneDB.tools.OPP.srcgen.BuilderException:  
org.ozoneDB.tools.OPP.srcgen.ResolverException:  
org.xml.sax.SAXParseException: Premature end of file.{file: [not  
available]; line: [not available]; column: [not available]}
	at  
org.ozoneDB.tools.OPP.srcgen.direct.ReflectionClassDirector.build(Unknow 
n Source)
	at org.ozoneDB.tools.OPP.ODG.main(Unknown Source)
Caused by: org.ozoneDB.tools.OPP.srcgen.ResolverException:  
org.xml.sax.SAXParseException: Premature end of file.{file: [not  
available]; line: [not available]; column: [not available]}
	at  
org.ozoneDB.tools.OPP.srcgen.resolve.ClassDescriptorUpdateMethodResolver 
.resolveMethods(Unknown Source)
	at  
org.ozoneDB.tools.OPP.srcgen.resolve.CompositeMethodResolver.resolveMeth 
ods(Unknown Source)
	... 2 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.{file:  
[not available]; line: [not available]; column: [not available]}
	at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:280)
	at org.ozoneDB.tools.OPP.CDHelper.xml2Descriptor(Unknown Source)
	at  
org.ozoneDB.tools.OPP.srcgen.resolve.ClassDescriptorUpdateMethodResolver 
.searchUpdateMethods(Unknown Source)
	... 4 more


Any Ideas?

One of the "problem" files is this one:

package myApp.Model.Values;

public interface MoneyValue extends Value {

     public Float getFloatValue();
	
	public void setValue(Float value); /* update */
	
}

with the corresponding Impl java file.

(Value extends OzoneRemote and compiles without problems)

Any ideas?

Thanks and Greetings,

Thomas Dingler

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQSoRrrn0SLup8M1VEQKIqACeMU8n74xWc8y2IWNwv7bcfIzqBCMAn2pI
b+IP7U+RXL36vq1eEhUgIVHa
=wHtG
-----END PGP SIGNATURE-----



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285