could not able to create GenericDelegator object

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

could not able to create GenericDelegator object

jaiser roney
Hello


I got the following error as i start the ofbiz

*
after few lines on console i got*

2007-11-26 11:33:57,107 (main) [ClassLoaderContainer.java:init:50  :INFO ]
:: Ca
chedClassLoader created

*than after few lines ,     process for creating delegator
*
2007-11-26 11:33:57,420 (main) [
GenericDelegator.java:getGenericDelegator:128 :I
NFO ] :: Creating new delegator [default] (main)

*after few lines*

2007-11-26 11:33:59,435 (main) [
GenericDelegator.java:getGenericDelegator:133 :E
RROR] ::
---- exception report
----------------------------------------------------------

Error creating delegator
Exception: org.ofbiz.entity.GenericModelException
Message: Could not find definition for entity name ContactList
---- stack trace
---------------------------------------------------------------

org.ofbiz.entity.GenericModelException: Could not find definition for entity
nam
e ContactList
org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:443)
org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:292)
org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:105)
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:155)
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java
:131)

org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java
:164)
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java
:141)

org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
org.ofbiz.base.start.Start.init(Start.java:87)
org.ofbiz.base.start.Start.main(Start.java:403)
--------------------------------------------------------------------------------

2007-11-26 11:33:59,513 (main) [
GenericDelegator.java:getGenericDelegator:138 :E
RROR] :: Could not create delegator with name default, constructor failed
(got n
ull value) not sure why/how.



*than after few lines i got*

2007-11-26 11:34:04,294 (main) [
GenericDelegator.java:getGenericDelegator:133 :E
RROR] ::
---- exception report
----------------------------------------------------------

Error creating delegator
Exception: org.ofbiz.entity.GenericModelException
Message: Could not find definition for entity name ContactList
---- stack trace
---------------------------------------------------------------

org.ofbiz.entity.GenericModelException: Could not find definition for entity
nam
e ContactList
org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:443)
org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:292)
org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:105)
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:155)
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java
:131)

org.ofbiz.service.mail.JavaMailContainer.start(JavaMailContainer.java:97)
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
org.ofbiz.base.start.Start.startServer(Start.java:314)
org.ofbiz.base.start.Start.start(Start.java:318)
org.ofbiz.base.start.Start.main(Start.java:404)
--------------------------------------------------------------------------------








Previously when i run my ofbiz project i won't find any errormessage
regarding the ContactList entity and my project run successfully

Here i don't know why the environment not able to create delegator

I have seen inside the GenericDelegator.java getGenericDelegator(String
delegatorName)

value of "delegatorName" variable  comes "default"  as usual    but than
even why not able to create delegator object


Please Help
Reply | Threaded
Open this post in threaded view
|

Re: could not able to create GenericDelegator object

Jacques Le Roux
Administrator
Which version of OFBiz are you using ? On which platform ? etc.

Did you modify ContactList definition or the entitymodel.xml files which contains its definition ?

Jacques

De : "jaiser roney" <[hidden email]>

> Hello
>
>
> I got the following error as i start the ofbiz
>
> *
> after few lines on console i got*
>
> 2007-11-26 11:33:57,107 (main) [ClassLoaderContainer.java:init:50  :INFO ]
> :: Ca
> chedClassLoader created
>
> *than after few lines ,     process for creating delegator
> *
> 2007-11-26 11:33:57,420 (main) [
> GenericDelegator.java:getGenericDelegator:128 :I
> NFO ] :: Creating new delegator [default] (main)
>
> *after few lines*
>
> 2007-11-26 11:33:59,435 (main) [
> GenericDelegator.java:getGenericDelegator:133 :E
> RROR] ::
> ---- exception report
> ----------------------------------------------------------
>
> Error creating delegator
> Exception: org.ofbiz.entity.GenericModelException
> Message: Could not find definition for entity name ContactList
> ---- stack trace
> ---------------------------------------------------------------
>
> org.ofbiz.entity.GenericModelException: Could not find definition for entity
> nam
> e ContactList
> org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:443)
> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:292)
> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:105)
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:155)
> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java
> :131)
>
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java
> :164)
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java
> :141)
>
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65)
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
> org.ofbiz.base.start.Start.init(Start.java:87)
> org.ofbiz.base.start.Start.main(Start.java:403)
> --------------------------------------------------------------------------------
>
> 2007-11-26 11:33:59,513 (main) [
> GenericDelegator.java:getGenericDelegator:138 :E
> RROR] :: Could not create delegator with name default, constructor failed
> (got n
> ull value) not sure why/how.
>
>
>
> *than after few lines i got*
>
> 2007-11-26 11:34:04,294 (main) [
> GenericDelegator.java:getGenericDelegator:133 :E
> RROR] ::
> ---- exception report
> ----------------------------------------------------------
>
> Error creating delegator
> Exception: org.ofbiz.entity.GenericModelException
> Message: Could not find definition for entity name ContactList
> ---- stack trace
> ---------------------------------------------------------------
>
> org.ofbiz.entity.GenericModelException: Could not find definition for entity
> nam
> e ContactList
> org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:443)
> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:292)
> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:105)
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:155)
> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java
> :131)
>
> org.ofbiz.service.mail.JavaMailContainer.start(JavaMailContainer.java:97)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
> org.ofbiz.base.start.Start.startServer(Start.java:314)
> org.ofbiz.base.start.Start.start(Start.java:318)
> org.ofbiz.base.start.Start.main(Start.java:404)
> --------------------------------------------------------------------------------
>
>
>
>
>
>
>
>
> Previously when i run my ofbiz project i won't find any errormessage
> regarding the ContactList entity and my project run successfully
>
> Here i don't know why the environment not able to create delegator
>
> I have seen inside the GenericDelegator.java getGenericDelegator(String
> delegatorName)
>
> value of "delegatorName" variable  comes "default"  as usual    but than
> even why not able to create delegator object
>
>
> Please Help
>