You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Balaji Saranathan <ba...@wipro.com> on 2005/08/03 23:01:39 UTC
Cant instantiate ManagedBean
Hi,
I have been getting this error since morning and I'm unable to trace the
reason for the managed bean not being created.
Can anyone give me a clue?
2005-08-03 16:55:11,518 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Quantu
m].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw
exception
javax.faces.el.EvaluationException: javax.faces.FacesException:
javax.faces.FacesException: Can't instantiate class:
'com.framework.handler.Cs1000DataTableHandler'..
com.framework.handler.Cs1000DataTableHandler
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImp
l.java:386)
at
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:10
09)
at
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1036)
at
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:749)
at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
Re: Cant instantiate ManagedBean
Posted by Martin Marinschek <ma...@gmail.com>.
Hard to say.. usually, the class is not there ;)
different classloaders?
static initializers which throw an unchecked exception (have accounted for
very hard to track down errors ;)?
regards,
Martin
On 8/3/05, Balaji Saranathan <ba...@wipro.com> wrote:
>
> Right now,
> I'm just using RI. But with the Tree2 working on RI now, I would be using
> Tomahawk with RI.
> I know this is more specific to RI, but was just wondering if someone can
> tell me in what conditions creation of a managed bean fails.
>
> -----Original Message-----
> *From:* Martin Marinschek [mailto:martin.marinschek@gmail.com]
> *Sent:* Wednesday, August 03, 2005 5:05 PM
> *To:* MyFaces Discussion; balaji.saranathan@wipro.com
> *Subject:* Re: Cant instantiate ManagedBean
>
> As your stacktrace says, you are using the RI - are you mixing MyFaces
> jars with the RI jars? or are you using RI and tomahawk?
>
> regards,
>
> Martin
>
> On 8/3/05, Balaji Saranathan <ba...@wipro.com> wrote:
> >
> > Hi,
> >
> > I have been getting this error since morning and I'm unable to trace the
> > reason for the managed bean not being created.
> > Can anyone give me a clue?
> >
> > 2005-08-03 16:55:11,518 ERROR [org.apache.catalina.core.ContainerBase.[
> > jboss.web].[localhost].[/Quantum].[Faces Servlet]] Servlet.service() for
> > servlet Faces Servlet threw exception
> >
> > javax.faces.el.EvaluationException: javax.faces.FacesException:
> > javax.faces.FacesException: Can't instantiate class:
> > 'com.framework.handler.Cs1000DataTableHandler'..
> > com.framework.handler.Cs1000DataTableHandler
> > at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
> > at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
> > at com.sun.faces.application.ApplicationImpl.createComponent(
> > ApplicationImpl.java:386)
> > at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java
> > :1009)
> > at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java
> > :1036)
> > at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java
> > :749)
> > at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
> >
> >
> > Confidentiality Notice
> >
> > The information contained in this electronic message and any attachments
> > to this message are intended
> > for the exclusive use of the addressee(s) and may contain confidential
> > or privileged information. If
> > you are not the intended recipient, please notify the sender at Wipro or
> > Mailadmin@wipro.com immediately
> > and destroy all copies of this message and any attachments.
> >
>
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
> to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
> privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
> Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>
RE: Cant instantiate ManagedBean
Posted by Balaji Saranathan <ba...@wipro.com>.
Right now,
I'm just using RI. But with the Tree2 working on RI now, I would be
using Tomahawk with RI.
I know this is more specific to RI, but was just wondering if someone
can tell me in what conditions creation of a managed bean fails.
-----Original Message-----
From: Martin Marinschek [mailto:martin.marinschek@gmail.com]
Sent: Wednesday, August 03, 2005 5:05 PM
To: MyFaces Discussion; balaji.saranathan@wipro.com
Subject: Re: Cant instantiate ManagedBean
As your stacktrace says, you are using the RI - are you mixing MyFaces
jars with the RI jars? or are you using RI and tomahawk?
regards,
Martin
On 8/3/05, Balaji Saranathan <ba...@wipro.com> wrote:
Hi,
I have been getting this error since morning and I'm unable to trace the
reason for the managed bean not being created.
Can anyone give me a clue?
2005-08-03 16:55:11,518 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/Quantu
m].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw
exception
javax.faces.el.EvaluationException: javax.faces.FacesException:
javax.faces.FacesException: Can't instantiate class:
'com.framework.handler.Cs1000DataTableHandler'..
com.framework.handler.Cs1000DataTableHandler
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at
com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImp
l.java:386)
at
javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:10
09)
at
javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1036)
at
javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:749)
at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
Confidentiality Notice
The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
Re: Cant instantiate ManagedBean
Posted by Martin Marinschek <ma...@gmail.com>.
As your stacktrace says, you are using the RI - are you mixing MyFaces jars
with the RI jars? or are you using RI and tomahawk?
regards,
Martin
On 8/3/05, Balaji Saranathan <ba...@wipro.com> wrote:
>
> Hi,
>
> I have been getting this error since morning and I'm unable to trace the
> reason for the managed bean not being created.
> Can anyone give me a clue?
>
> 2005-08-03 16:55:11,518 ERROR [org.apache.catalina.core.ContainerBase.[
> jboss.web].[localhost].[/Quantum].[Faces Servlet]] Servlet.service() for
> servlet Faces Servlet threw exception
>
> javax.faces.el.EvaluationException: javax.faces.FacesException:
> javax.faces.FacesException: Can't instantiate class:
> 'com.framework.handler.Cs1000DataTableHandler'..
> com.framework.handler.Cs1000DataTableHandler
> at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
> at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
> at com.sun.faces.application.ApplicationImpl.createComponent(
> ApplicationImpl.java:386)
> at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java
> :1009)
> at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1036)
> at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java
> :749)
> at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
> to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
> privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
> Mailadmin@wipro.com immediately
> and destroy all copies of this message and any attachments.
>