Hi Lars,
can you try with this snapshot:
http://rifers.org/downloads/rife/snapshots/rife-1.5M3-snapshot-20060612/
I tried some scenarios but wasn't able to reproduce the issue. I did
implement a way to prevent this ClassCastException by always
converting Element result state types to the one that is supported by
the StateStore implementation.
You issue might be solved. However, I really would like to get a
minimal test case to include in the test suite since I can't come up
with a scenario where your problem could occur.
Thanks,
Geert
On 12 Jun 2006, at 11:17, Geert Bevin wrote:
Is there any way I can get the source code to trace this myself?
I don't have the time to go through extensive installation of other
required things though, if that's needed for the app to run.
On 12 Jun 2006, at 11:13, Lars Grupe wrote:
Hi Geert,
The original problem was, that the login page was shown, when I
clicked
an element on a spcific page.
Now I could not get to this specific page. The ClassCastException
occurs
when I click a link that points to this page.
Cheers,
Lars
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin
Sent: 12 June 2006 11:03
To: RIFE users list : questions, bug reports and suggestions.
Subject: Re: [Rife-users] ClassCastException in
ElementResultStateSession
Hi Lars,
what was the problem again?
On 12 Jun 2006, at 10:59, Lars Grupe wrote:
Hi Geert,
I'm sorry, you asked me to extract my problem with the Milestone 1,
but
I was little bit to busy.
Now I have tested the Milestone 2. And I got a different result:
java.lang.ClassCastException:
com.uwyn.rife.engine.ElementResultStateSession
at
com.uwyn.rife.engine.StateStoreQuery.processState
(StateStoreQuery.java:2
31)
at
com.uwyn.rife.engine.StateStoreQuery.exportQueryUrl
(StateStoreQuery.java
:41)
at
com.uwyn.rife.engine.CharSequenceQueryUrl.fillInContent
(CharSequenceQuer
yUrl.java:31)
at
com.uwyn.rife.engine.CharSequenceDeferred.toString
(CharSequenceDeferred.
java:46)
at
com.uwyn.rife.template.InternalString.toString
(InternalString.java:37)
at
com.uwyn.rife.engine.AbstractResponse.writeDeferredContent
(AbstractRespo
nse.java:332)
at
com.uwyn.rife.engine.AbstractResponse.flush(AbstractResponse.java:
391)
at
com.uwyn.rife.engine.ElementContext.processContext
(ElementContext.java:7
47)
at
com.uwyn.rife.engine.RequestState.service(RequestState.java:345)
at com.uwyn.rife.engine.Gate.handleRequest(Gate.java:419)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:142)
at electric.servlet.filters.ServletFilterChain.doFilter(Unknown
Source)
at electric.servlet.HTTPContext.service(Unknown Source)
at electric.servlet.ServletEngine.service(Unknown Source)
at electric.webserver.WebServer.service(Unknown Source)
at electric.net.socket.SocketServer.run(Unknown Source)
at electric.net.socket.SocketRequest.run(Unknown Source)
at electric.util.thread.ThreadPool.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Do you have an idea what the reason could be?
If not I try to find time to locate the problem and send you the
sources.
Cheers,
Lars
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars Grupe
Sent: 19 May 2006 16:24
To: RIFE users list : questions, bug reports and suggestions.
Subject: RE: [Rife-users] RIFE 1.5 Milestone 1 available
Hi Geert,
I replaced the 1.4 rife.jar with the milestone1 (1.5)
rife.jar (JDK
1.5). Now I have a problem on at least one page. Every submission
that I call yields me to my login page. If I does nothing
else than
replacing the rife.jar with the older version (1.4), the page is
working fine.
Any Ideas?
Cheers,
Lars
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin
Sent: 13 May 2006 20:30
To: RIFE users list : questions, bug reports and suggestions.
Subject: [Rife-users] RIFE 1.5 Milestone 1 available
Hey,
I just uploaded RIFE 1.5 Milestone 1. I decided to not go
ahead with
the final release since there are still some situations where
stateful embedded elements don't work as they should
(notably when
you create an exit link from an embedded element to another
embedded
element).
The speed increase you get with this release is mainly during
development. Before, RIFE checked for every request if any of the
site-related files had changed, in case the structure
needed to be
reloaded. This thus also meant for all the images, styles, ...
(since RIFE is a filter). In this release, the reload
check is only
made once every 10 seconds (this is of course configurable and is
only used when auto site reloading is active).
The other major new features of this release are:
* annotations support for element declaration
* step-back continuations
* stateful components (which you use submissions and reflexive
datalinks)
* complete injection and outjection support for all element data
(inputs, parameters, inbean, outbeans, incookies, outcookies,
parameters, globalvars and globalcookies)
* 2 new examples (stateful counters, hangman)
* support for create RIFE applications without any XML (not even
participants.xml)
* upgraded a lot of supported 3rd party libraries
* fixes to meta data merging
The full changelog is here:
https://rife.dev.java.net/files/documents/204/34790/ChangeLog
Hope you enjoy this release and please notify us should
you run into
any problems.
Best regards,
Geert
On 13 May 2006, at 19:39, Emmanuel Okyere wrote:
Just to catalog this here, I dropped the 1.5 snapshot into
an app i'm
working on, and it worked without a hitch; another thing is
pages are
really snappy now... I don't have any benchmarks, but the
difference
between rendering in 1.4 and 1.5 snapshot are really noticeable.
maybe geert can give some more info on this. definitely worth
upgrading to, imho... if just for the speed improvement.
cheers,
Emmanuel
On 5/12/06, Geert Bevin <[EMAIL PROTECTED]> wrote:
Hi everyone,
tomorrow morning I'll start packaging RIFE 1.5 and put
it on the
website for download. I'll write the release notes over
the coming
week and announce the release after JavaOne (it's not a
good idea to
release anything during the conference).
This is the version that will become 1.5 final:
http://rifers.org/downloads/rife/snapshots/rife-1.5-
snapshot-20060512/
If some of you could test it a bit with your current
applications,
that would be awesome.
Best regards,
Geert
--
Geert Bevin Uwyn bvba GTalk:
[EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM:
geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32
477 302
599
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D
309F D6A9
Public PGP key : available at servers pgp.mit.edu,
wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife> -users
--
Benjamin Disraeli - "Nurture your minds
with great thoughts. To
believe in the heroic makes heroes."
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba GTalk:
[EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32
477 302 599
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D
309F D6A9
Public PGP key : available at servers pgp.mit.edu,
wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife> -users
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife> -users
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife> -users
--
Geert
Bevin
Uwyn "Use what you need" -
http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected] http://lists.uwyn.com/mailman/listinfo/rife-
users
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users