hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Domsch, Christian" <Christian.Dom...@entire.de>
Subject (HIVEMIND-15) failure upon translating string to object
Date Thu, 23 Sep 2004 09:30:00 GMT
Hi all,

I have again the problem with the translation of a string attribute to an
object. The error happens inside PushAttributeRule, which tries to get an
PropertyEditor for type Object and fails.

****************************************************************************
****************************************************************************
******
****************************************************************************
****************************************************************************
******
23.09.2004 11:21:08 org.apache.hivemind.impl.DefaultErrorHandler error
SCHWERWIEGEND: Error at
file:/J:/development/npl/Test/res/META-INF/hivemodule.xml, line 10, column
69: Unable to update property test of object
de.entire.test.hivemind.TestImpl@eb7859:
java.lang.reflect.InvocationTargetException
org.apache.hivemind.ApplicationRuntimeException: Unable to update property
test of object de.entire.test.hivemind.TestImpl@eb7859:
java.lang.reflect.InvocationTargetException
	at
org.apache.hivemind.util.PropertyAdaptor.write(PropertyAdaptor.java:92)
	at org.apache.hivemind.util.ClassAdaptor.write(ClassAdaptor.java:64)
	at
org.apache.hivemind.util.PropertyUtils.write(PropertyUtils.java:49)
	at
org.apache.hivemind.service.impl.BuilderFactoryLogic.wireProperty(BuilderFac
toryLogic.java:253)
	at
org.apache.hivemind.service.impl.BuilderFactoryLogic.setProperties(BuilderFa
ctoryLogic.java:213)
	at
org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFa
ctoryLogic.java:70)
	at
org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementat
ion(BuilderFactory.java:53)
	at
org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServic
eImplementation(InvokeFactoryServiceConstructor.java:91)
	at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCore
ServiceImplementation(AbstractServiceModelImpl.java:100)
	at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewS
erviceImplementation(AbstractServiceModelImpl.java:148)
	at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServ
iceImplementation(AbstractServiceModelImpl.java:130)
	at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualService
Implementation(SingletonServiceModel.java:69)
	at
$InnerProxy_ff2a980d81_13._service($InnerProxy_ff2a980d81_13.java)
	at $InnerProxy_ff2a980d81_13.print($InnerProxy_ff2a980d81_13.java)
	at
$SingletonProxy_ff2a980d72_12.print($SingletonProxy_ff2a980d72_12.java)
	at de.entire.test.hivemind.HiveTest.main(HiveTest.java:24)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.apache.hivemind.util.PropertyAdaptor.write(PropertyAdaptor.java:87)
	... 15 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to
construct configuration de.entire.test.Test: Unable to translate 'Test' to
type java.lang.Object: No property editor for java.lang.Object.
	at
org.apache.hivemind.impl.ConfigurationPointImpl.constructElementsList(Config
urationPointImpl.java:209)
	at
org.apache.hivemind.impl.ConfigurationPointImpl.constructElements(Configurat
ionPointImpl.java:150)
	at
org.apache.hivemind.impl.ElementsInnerProxyList.inner(ElementsInnerProxyList
.java:46)
	at
org.apache.hivemind.impl.ElementsInnerProxyList.size(ElementsInnerProxyList.
java:62)
	at
org.apache.hivemind.impl.ElementsProxyList.size(ElementsProxyList.java:60)
	at de.entire.test.hivemind.TestImpl.setTest(TestImpl.java:23)
	... 20 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to
translate 'Test' to type java.lang.Object: No property editor for
java.lang.Object.
	at
org.apache.hivemind.schema.rules.SmartTranslator.translate(SmartTranslator.j
ava:89)
	at
org.apache.hivemind.schema.rules.PushAttributeRule.begin(PushAttributeRule.j
ava:41)
	at
org.apache.hivemind.impl.SchemaElement.fireBegin(SchemaElement.java:209)
	at
org.apache.hivemind.impl.SchemaProcessorImpl.processElement(SchemaProcessorI
mpl.java:213)
	at
org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(SchemaProces
sorImpl.java:188)
	at
org.apache.hivemind.impl.SchemaProcessorImpl.process(SchemaProcessorImpl.jav
a:176)
	at
org.apache.hivemind.impl.ConfigurationPointImpl.constructElementsList(Config
urationPointImpl.java:202)
	... 25 more
Caused by: org.apache.hivemind.ApplicationRuntimeException: No property
editor for java.lang.Object.
	at
org.apache.hivemind.schema.rules.SmartTranslator.translate(SmartTranslator.j
ava:78)
	... 31 more
23.09.2004 11:21:08 org.apache.hivemind.impl.DefaultErrorHandler error
SCHWERWIEGEND: Error at
file:/J:/development/npl/Test/res/META-INF/hivemodule.xml, line 9, column
59: Unable to autowire property test of service de.entire.test.Test: There
is no service point for interface java.util.List.
org.apache.hivemind.ApplicationRuntimeException: There is no service point
for interface java.util.List.
	at
org.apache.hivemind.impl.RegistryImpl.getService(RegistryImpl.java:159)
	at
org.apache.hivemind.impl.ModuleImpl.getService(ModuleImpl.java:65)
	at
org.apache.hivemind.service.impl.BuilderFactoryLogic.autowireProperty(Builde
rFactoryLogic.java:301)
	at
org.apache.hivemind.service.impl.BuilderFactoryLogic.autowireServices(Builde
rFactoryLogic.java:275)
	at
org.apache.hivemind.service.impl.BuilderFactoryLogic.setProperties(BuilderFa
ctoryLogic.java:220)
	at
org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFa
ctoryLogic.java:70)
	at
org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementat
ion(BuilderFactory.java:53)
	at
org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServic
eImplementation(InvokeFactoryServiceConstructor.java:91)
	at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCore
ServiceImplementation(AbstractServiceModelImpl.java:100)
	at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewS
erviceImplementation(AbstractServiceModelImpl.java:148)
	at
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServ
iceImplementation(AbstractServiceModelImpl.java:130)
	at
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualService
Implementation(SingletonServiceModel.java:69)
	at
$InnerProxy_ff2a980d81_13._service($InnerProxy_ff2a980d81_13.java)
	at $InnerProxy_ff2a980d81_13.print($InnerProxy_ff2a980d81_13.java)
	at
$SingletonProxy_ff2a980d72_12.print($SingletonProxy_ff2a980d72_12.java)
	at de.entire.test.hivemind.HiveTest.main(HiveTest.java:24)
Exception in thread "main" java.lang.NullPointerException
	at de.entire.test.hivemind.TestImpl.print(TestImpl.java:28)
	at $InnerProxy_ff2a980d81_13.print($InnerProxy_ff2a980d81_13.java)
	at
$SingletonProxy_ff2a980d72_12.print($SingletonProxy_ff2a980d72_12.java)
	at de.entire.test.hivemind.HiveTest.main(HiveTest.java:24)
****************************************************************************
****************************************************************************
******
****************************************************************************
****************************************************************************
******

Greetings,

Christian Domsch
Anwendungsentwickler
> Entire Software AG 
> Lise-Meitner-Stra├če 14
> D-89081 Ulm
> 
> Tel: +49 7 31 9 74 95-4 83
> Fax: +49 7 31 9 74 95-20
> Mailto:Christian.Domsch@entire.de
> 
> http://www.entire.de
> 
>  <<test.jar>> 
> 
> 

Mime
View raw message