You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jurgen Lust <Ju...@gmail.com> on 2007/03/28 23:55:52 UTC

Re: tomahawk schedule component

Could you send some more details about your code? It is quite difficult
to help you with only the stacktrace of the exception.
Do the tomahawk examples work on your server?

Kind regards,

Jurgen

Op woensdag 28-03-2007 om 20:04 uur [tijdzone +0000], schreef yassmin
sameh:
> Dear Jurgen Lust, 
> 
>  
> 
> kindly i need your help , in the tomahawk component , it is throwing
>  the  following exceptions:
> 
>  
> 
> java.lang.IllegalStateException: org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener
> 	at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:98)
> 	at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1414)
> 	at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1276)
> 	at org.apache.myfaces.custom.schedule.UISchedule.restoreState(UISchedule.java:378)
> 	at org.apache.myfaces.custom.schedule.HtmlSchedule.restoreState(HtmlSchedule.java:189)
> 	at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1148)
> 	at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1164)
> 	at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1164)
> 
>  note : i am already dowloading tomahawk 1.1.5 snapshot, and
> examples , and i am working on sun application server
> 
> 
> 
> Best Regards,
> 
> Yassmin Mohamed Sameh Mahmoud, Bsc
> 
> Information Technology Institute ITI
> 
> Java Department, Teaching Staff
> 
> Ministry of Communications and Information Technology MCIT.
> 241 El haram St., Giza, Egypt.
> Tel: 202 - 3868420 - Ext. 314.
> Fax: 202 - 3868429.
> E-mail: jessy@iti.net.eg ,yasso_sameh@mcit.gov.eg
> http://www.iti.gov.eg 
> 
> http://www.mcit.gov.eg
> 
> 
> 
> 
> ______________________________________________________________________
> 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free
> quotes - *Terms 
-- 
____________________________________________________
Jurgen Lust
email: jlust@apache.org
blog: http://jroller.com/page/jurgenlust
____________________________________________________  


Re: tomahawk schedule component-more details

Posted by John Yeary <jo...@gmail.com>.
Hello Jurgen,

I am encountering the same issue with illegal state exceptions. I am using
Netbeans 5.5.1RC1 on OS X with glassfish version 2 build 19 (Sun Java System
Application Server 9.1) and Sun Java System Application Server 9.0 UR1. I
can create a schedule entry with no issues. If I attempt to create another
entry, the exception is thrown.

The key point which will always throw an exception is when I select an entry
on the schedule. It will immediately throw the exception. See the attached
screenshot and log where it through the exception. I am using Visual Web
Pack 5.5 on Netbeans.

Thanks for any assistance. 

John

http://www.nabble.com/file/7625/schedulewithEntry.png 

http://www.nabble.com/file/7626/ScheduleNuked.txt ScheduleNuked.txt 
 

yassmin sameh wrote:
> 
> Dear Jurgen, 
> thanks for your quick reply , those are the details : 
> &nbsp; 
> i am trying to use the schedule&nbsp; componenet, i knew that it has been
> transfered from&nbsp; Sandbox to Tomahawk , but actually the current
> Tomahawk release&nbsp; doesn't contain it . 
> so , i downloaded Tomahawk snapshot 1.1.5, together with Tomahawk examples
> . 
> i&nbsp;am using &nbsp;Netbeanstaking the code &nbsp;copy- paste&nbsp;from
> the site , and deploy on sun application server 9- JDk 1.6 , the component
> appeared but on any navigation it throws the below exception . 
> &nbsp; 
> my Final Trial was&nbsp; to deploy Tomahawk examples which i downloaded ,
> on&nbsp; and deploy on sun application server 9 - JDk 1.6, and on
> navigation(pressing buttons to add sample entries, schedule properties ,
> etc..) it throws the same exception . 
> so&nbsp;kindly help me . i hope i did explain it in a good way&nbsp; :(
> thanks&nbsp; 
> &nbsp; 
> &nbsp; 
> 
> Best Regards, 
> Yassmin Mohamed Sameh Mahmoud, Bsc 
> Information Technology Institute ITI<?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" /> 
> Java Department, Teaching Staff 
> Ministry of Communications and Information Technology MCIT. 241 El haram
> <?xml:namespace prefix = st1 ns =
> "urn:schemas-microsoft-com:office:smarttags" />St., Giza, Egypt. Tel: 202
> - 3868420 - Ext. 314. Fax: 202 - 
> 3868429. E-mail: jessy@iti.net.eg &nbsp;, yasso_sameh@mcit.gov.eg
> http://www.iti.gov.eg  
> http://www.mcit.gov.eg 
> 
> 
> From: Jurgen Lust &lt;Jurgen.Lust@gmail.com&gt; Reply-To: MyFaces
> Discussion &lt;users@myfaces.apache.org&gt; To: yassmin sameh
> &lt;yasso_sameh@hotmail.com&gt; CC: MyFaces Discussion
> &lt;users@myfaces.apache.org&gt; Subject: Re: tomahawk schedule component
> Date: Wed, 28 Mar 2007 23:55:52 +0200 &gt;Could you send some more details
> about your code? It is quite difficult &gt;to help you with only the
> stacktrace of the exception. &gt;Do the tomahawk examples work on your
> server? &gt; &gt;Kind regards, &gt; &gt;Jurgen &gt; &gt;Op woensdag
> 28-03-2007 om 20:04 uur [tijdzone +0000], schreef yassmin &gt;sameh: &gt;
> &gt; Dear Jurgen Lust, &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; kindly i
> need your help , in the tomahawk component , it is throwing &gt; &gt; the
> following exceptions: &gt; 
> &gt; &gt; &gt; &gt; &gt; &gt; &gt; java.lang.IllegalStateException:
> org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener &gt;
> &gt; at
> javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:98)
> &gt; &gt; at
> javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1414)
> &gt; &gt; at
> javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1276)
> &gt; &gt; at
> org.apache.myfaces.custom.schedule.UISchedule.restoreState(UISchedule.java:378)
> &gt; &gt; at
> org.apache.myfaces.custom.schedule.HtmlSchedule.restoreState(HtmlSchedule.java:189)
> &gt; &gt; at
> javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1148)
> &gt; &gt; at
> javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1164)
> &gt; &gt; at 
> javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1164)
> &gt; &gt; &gt; &gt; note : i am already dowloading tomahawk 1.1.5
> snapshot, and &gt; &gt; examples , and i am working on sun application
> server &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Best Regards, &gt; &gt;
> &gt; &gt; Yassmin Mohamed Sameh Mahmoud, Bsc &gt; &gt; &gt; &gt;
> Information Technology Institute ITI &gt; &gt; &gt; &gt; Java Department,
> Teaching Staff &gt; &gt; &gt; &gt; Ministry of Communications and
> Information Technology MCIT. &gt; &gt; 241 El haram St., Giza, Egypt. &gt;
> &gt; Tel: 202 - 3868420 - Ext. 314. &gt; &gt; Fax: 202 - 3868429. &gt;
> &gt; E-mail: jessy@iti.net.eg ,yasso_sameh@mcit.gov.eg &gt; &gt;
> http://www.iti.gov.eg &gt; &gt; &gt; &gt; http://www.mcit.gov.eg &gt; &gt;
> &gt; &gt; &gt; &gt; &gt; &gt; &gt; 
> &gt;
> ______________________________________________________________________
> &gt; &gt; 5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to
> 5 free &gt; &gt; quotes - *Terms &gt;--
> &gt;____________________________________________________ &gt;Jurgen Lust
> &gt;email: jlust@apache.org &gt;blog: http://jroller.com/page/jurgenlust
> &gt;____________________________________________________ &gt;  i'm making
> a difference. Make every IM count for the cause of your choice. Join Now.  
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Re%3A-tomahawk-schedule-component-tf3483203.html#a9802507
Sent from the MyFaces - Users mailing list archive at Nabble.com.