Hi,
In our server logs we have a couple of WicketNotSerializableException
logged, but we don't know when they occur. How we can create them locally in
our development environment (to test whether we have avoided them)?
Thanks in advance,
Tom
doesnt the message of that exception tell you which object class is the problem?
On Wed, Aug 11, 2010 at 09:24, Thomas Singer wic...@regnis.de wrote:
Hi,
In our server logs we have a couple of WicketNotSerializableException
logged, but we don't know when they occur. How we can create them
:
doesnt the message of that exception tell you which object class is the
problem?
On Wed, Aug 11, 2010 at 09:24, Thomas Singer wic...@regnis.de wrote:
Hi,
In our server logs we have a couple of WicketNotSerializableException
logged, but we don't know when they occur. How we can create
On 11.08.2010 09:27, Johan Compagner wrote:
doesnt the message of that exception tell you which object class is the
problem?
On Wed, Aug 11, 2010 at 09:24, Thomas Singer wic...@regnis.de wrote:
Hi,
In our server logs we have a couple of WicketNotSerializableException
logged, but we don't know when
:
Hi,
In our server logs we have a couple of WicketNotSerializableException
logged, but we don't know when they occur. How we can create them locally
in
our development environment (to test whether we have avoided them)?
Thanks in advance,
Tom
:
Hi,
In our server logs we have a couple of WicketNotSerializableException
logged, but we don't know when they occur. How we can create them locally
in
our development environment (to test whether we have avoided them)?
Thanks in advance,
Tom
I want to know how I can generate this exception in my development
environment. It is nasty to test on the production system.
Tom
On 11.08.2010 10:53, Johan Compagner wrote:
why not?
if you know which page it was and which component/model that holds
that none serializable class
then you
the only way to do this is as i described look where the exception
really comes from
and go to that same page in your developer, do as your user does.
There is no other way, you really need to be in the same state.
On Wed, Aug 11, 2010 at 13:24, Thomas Singer wic...@regnis.de wrote:
I want to
When exactly the serialization happens? When viewing a page?
Tom
On 11.08.2010 13:25, Johan Compagner wrote:
the only way to do this is as i described look where the exception
really comes from
and go to that same page in your developer, do as your user does.
There is no other way, you
after viewing a page, when the page gets serialized
But you could also trigger it your self,
for example you can have something in the detach() of your base page
super.onDetach()
if (development)
{
Objects.objectToByteArray(this)
}
then you should get the same error right away
On Wed, Aug
]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class: org.demo.DecoratorFactoryImpl
Field hierarchy is:
0 [class=org.demo.HomePage, path=0]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=[Ljava.lang.Object;]
private java.lang.Object
this:
ERROR - Objects- Error serializing object class
org.demo.HomePage [object=[Page class = org.demo.HomePage, id = 0,
version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class: org.demo.DecoratorFactoryImpl
Field hierarchy
On Wed, Jun 2, 2010 at 10:21 AM, Joseph Pachod j...@thomas-daily.de wrote:
Forget it, the inner class being part of the injected class wasn't in fact
static...
that the reason for this issue
sorry for the noise
And that is why quickstarts are a godsend! Not only does it make it
easier for
And that is why quickstarts are a godsend! Not only does it make it
easier for us to solve a bug and distill a test case from it, it also
makes it trivial to find bugs in one's own code (and often solving the
question automatically)
Martijn
Indeed ! It'll teach thinking I've cornered the
hi
In a form, I'm injecting a factory through guice. The factory's
interface doesn't extend Serializable, as well as the implementation.
Then the SerializableChecker throws
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class
$WicketNotSerializableException:
Unable to serialize class:
com.softculture.core.dataseries.morphia.wicket.DefaultDecoratorFactory
I was assuming that such a class wouldn't need to be Serializable, since it
was never serialized done thanks to guice injection... Am I wrong ?
thanks in advance
injecting a factory through guice. The factory's interface
doesn't extend Serializable, as well as the implementation.
Then the SerializableChecker throws
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class
nino martinez wael wrote:
did you mark it transient?
I didn't expect it to be necessary since the wicket guice proxy is still
serializable (in the way that it handles serialization of its own)
but could be done yes
best
joseph
Martijn Dashorst wrote:
You need to use the Wicket injector for guice. That will create a
serializable proxy for the service. Guice itself doesn't know about
Wicket, so you can't expect it to magically work.
Martijn
sorry, I didn't provide enough context: I'm using wicket-guice (on
1.4.9). So
Joseph,
I believe what Martijn meant was that you need to use
GuiceComponentInjectorhttp://wicket.apache.org/docs/1.4/org/apache/wicket/guice/GuiceComponentInjector.html.
This class will handle the serialization stuff in components for you. You
can find more details in these place (and in
Then we could use a longer trace from the serialization exception...
Plus some code to go with it. The best way would be to create a
minimal setup using a quickstart exhibiting the problem.
Martijn
On Tue, Jun 1, 2010 at 12:47 PM, Joseph Pachod j...@thomas-daily.de wrote:
Martijn Dashorst
I just went to check 1.4.9 change list and I didn't see anything related to
the way IOC works (at least from 1.4.8 which is what I'm using right now),
or did I miss something in this thread or there in the release notes ? :)
On Tue, Jun 1, 2010 at 9:43 PM, Martijn Dashorst
org.apache.wicket.util.lang.Objects
- Error serializing object class com.myapp.ui.Cart [object=[Page class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class
, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
Field hierarchy is:
3 [class=com.myapp.ui.Cart, path=3]
private java.lang.Object
[httpSSLWorkerThread-8080-1] ERROR
org.apache.wicket.util.lang.Objects
- Error serializing object class com.myapp.ui.Cart [object=[Page
class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize
[httpSSLWorkerThread-8080-1] ERROR
org.apache.wicket.util.lang.Objects
- Error serializing object class com.myapp.ui.Cart [object=[Page
class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize
:
25717 [httpSSLWorkerThread-8080-1] ERROR
org.apache.wicket.util.lang.Objects
- Error serializing object class com.myapp.ui.Cart [object=[Page
class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException
=
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
Field hierarchy is:
3 [class=com.myapp.ui.Cart, path=3
$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
Field hierarchy is:
3 [class=com.myapp.ui.Cart, path=3]
private java.lang.Object
org.apache.wicket.MarkupContainer.children
[class
] ERROR
org.apache.wicket.util.lang.Objects
- Error serializing object class com.myapp.ui.Cart
[object=[Page
class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize
class com.myapp.ui.Cart
[object=[Page
class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
=
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
Field hierarchy is:
3 [class
]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
Field hierarchy is:
3 [class=com.myapp.ui.Cart, path=3]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=[Ljava.lang.Object
org.apache.wicket.util.lang.Objects
- Error serializing object class com.myapp.ui.Cart [object=[Page class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class
serializing object class com.myapp.ui.Cart [object=[Page class =
com.myapp.ui.Cart, id = 3, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
Field hierarchy is:
3
suggestion:
load your data and keep it in a cache
use LDM to retrieve the data from the cache (e.g. ehcache) or reload
it if it expired.
Am 10.10.2009 um 19:46 schrieb Igor Vaynberg:
if you do not need to hold on to the data structure between requests
then there is no need to keep any
Eelco Hillenius wrote:
I've looked at it briefly. The main thing you need to keep in mind is
that it unfortunately is a limitation of Wicket that you can't have
references in Components that aren't serializable (unless you don't
care about back button support and turn of the second level
Igor Vaynberg wrote:
On Fri, Oct 9, 2009 at 1:41 PM, Ceki Gulcu c...@qos.ch wrote:
Anyway, my application handles a complex tree-like structure, with
almost all of the contents non-serializable and outside my control. I
don't think I can use a Loadable Detachable Model, because loading the
what is the lifecycle of this data? when do you no longer need to store it?
if this is runtime data you can create a runtime store for it, even a
simple map can do. this map can live in servlet context, spring
context, as a field of your wicket application, etc. the user pages
can then retrieve
in other words, if you were building this app using jsps or servlets
how would you carry over this data structure between requests?
-igor
On Sat, Oct 10, 2009 at 9:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
what is the lifecycle of this data? when do you no longer need to store it?
Igor Vaynberg wrote:
in other words, if you were building this app using jsps or servlets
how would you carry over this data structure between requests?
No, I actually would not carry the data between requests. When the
page is requested, I would run my test suite to compute the
results.
if you do not need to hold on to the data structure between requests
then there is no need to keep any references to it in the components
themselves. pass it into the constructor, create whatever components
you need to represent it in the ui and throw it away. you may have to
create wrappers
]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: \
Unable to serialize class: org.junit.runner.Description
Field hierarchy is:
4 [class=ch.qos.mistletoe.wicket.Tree, path=4]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class
it if you like.
Eelco
ch.qos.mistletoe.wicket.Tree
[object=[Page class = ch.qos.mistletoe.wicket.Tree, id = 4 version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
\
Unable to serialize class: org.junit.runner.Description
Field hierarchy is:
4 [class
Eelco Hillenius wrote:
Hi,
It looks like GenericBaseModel has a reference to a JUnit Description?
Maybe you can paste your GenericBaseModel class here?
Fortunately, my application is open source. You can find its source code at
http://github.com/ceki/mistletoe
If you look at the
I've looked at it briefly. The main thing you need to keep in mind is
that it unfortunately is a limitation of Wicket that you can't have
references in Components that aren't serializable (unless you don't
care about back button support and turn of the second level session
cache, OR you plug in
Btw, this whole serialization problem is exactly why we have
detachable models (though they obviously don't solve every problem out
there. Be sure to read up on those while you're at it.
Eelco
On Fri, Oct 9, 2009 at 3:12 PM, Eelco Hillenius
eelco.hillen...@gmail.com wrote:
I've looked at it
On Fri, Oct 9, 2009 at 1:41 PM, Ceki Gulcu c...@qos.ch wrote:
Anyway, my application handles a complex tree-like structure, with
almost all of the contents non-serializable and outside my control. I
don't think I can use a Loadable Detachable Model, because loading the
tree may take several
:
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class: java.lang.Object
I have tried using strategic placement of: transient and static but of no use.
Regards, David
:
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class: java.lang.Object
I have tried using strategic placement of: transient and static but of no use.
Regards, David.
-
To unsubscribe, e-mail
: WicketNotSerializableException
Can you show the code? When you create an anonymous inner class, it
gets references to variables that are outside of the declaration.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Jul 29, 2009 at 5:46 PM, David
Browndbr...@sexingtechnologies.com wrote:
Hello, I have
?
-igor
On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote:
On our webserver I'm getting WicketNotSerializableException in the log, but
I never got them locally. What should I do to trigger them in my local test
server?
Thanks in advance,
Tom
On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote:
On our webserver I'm getting WicketNotSerializableException in the log,
but
I never got them locally. What should I do to trigger them in my local
test
server?
Thanks in advance,
Tom
the stacktrace look like?
-igor
On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote:
On our webserver I'm getting WicketNotSerializableException in the log,
but
I never got them locally. What should I do to trigger them in my local
test
server?
Thanks in advance,
Tom
)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)
Tom
Igor Vaynberg wrote:
what does the stacktrace look like?
-igor
On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote:
On our webserver I'm getting WicketNotSerializableException
On our webserver I'm getting WicketNotSerializableException in the log, but
I never got them locally. What should I do to trigger them in my local test
server?
Thanks in advance,
Tom
-
To unsubscribe, e-mail: users-unsubscr
what does the stacktrace look like?
-igor
On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote:
On our webserver I'm getting WicketNotSerializableException in the log, but
I never got them locally. What should I do to trigger them in my local test
server?
Thanks in advance
WicketNotSerializableException in the log, but
I never got them locally. What should I do to trigger them in my local test
server?
Thanks in advance,
Tom
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)
Tom
Igor Vaynberg wrote:
what does the stacktrace look like?
-igor
On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote:
On our webserver I'm getting WicketNotSerializableException in the log, but
I never got
:
what does the stacktrace look like?
-igor
On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote:
On our webserver I'm getting WicketNotSerializableException in the log,
but
I never got them locally. What should I do to trigger them in my local
test
server?
Thanks
and
it was corrected (I started seeing more wicket logs) when I deployed my
application into a clean tomcat with only the necessary jars..
Thomas Singer-4 wrote:
On our webserver I'm getting WicketNotSerializableException in the log,
but
I never got them locally. What should I do to trigger them
I'm getting a WicketNotSerializableException on a couple of my pages. The
field that seems to be not serializable appears to be a Wicket class,
org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator. Any
suggestions? I saw a posting on the list earlier today that I though may
have
Sorry, forgot to mention that I'm using wicket 1.4-SNAPSHOT, rev 667063.
On Thu, Jun 12, 2008 at 4:18 PM, Matthew Hanlon [EMAIL PROTECTED] wrote:
I'm getting a WicketNotSerializableException on a couple of my pages. The
field that seems to be not serializable appears to be a Wicket class
a WicketNotSerializableException on a couple of my pages.
The
field that seems to be not serializable appears to be a Wicket class,
org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator. Any
suggestions? I saw a posting on the list earlier today that I though may
have something to do
12, 2008 at 4:18 PM, Matthew Hanlon [EMAIL PROTECTED]
wrote:
I'm getting a WicketNotSerializableException on a couple of my pages.
The
field that seems to be not serializable appears to be a Wicket class,
org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator. Any
suggestions? I
Hi All,
I have take a loot at this. But is there any solution to fix this
without using @SpringBean since I am still on JDK1.4.
Thanks in advance
On Dec 17, 2007 7:50 PM, Evan Chooly [EMAIL PROTECTED] wrote:
it's the ApplicationContextFacade that can't be serialized. you'll need to
mark this
see SpringWebApplcation, it has methods to create same proxies @SpringBean does.
-igor
On Jan 22, 2008 8:27 PM, Joshua Jackson [EMAIL PROTECTED] wrote:
Hi All,
I have take a loot at this. But is there any solution to fix this
without using @SpringBean since I am still on JDK1.4.
Thanks in
class
com.wicketcart.pages.admin.AddProductPage [object=[Page class =
com.wicketcart.pages.admin.AddProductPage, id = 2, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class
$WicketNotSerializableException:
Unable to serialize class:
org.apache.wicket.util.io.DeferredFileOutputStream
Field hierarchy is:
2 [class=com.wicketcart.pages.admin.AddProductPage, path=2]
private java.lang.Object
org.apache.wicket.MarkupContainer.children
[class
a
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
org.apache.wicket.util.io.DeferredFileOutputStream exception when I
added a file upload feature to my AddProductForm.
My form is serialiazable yet I don't which of its child components are
not serializable. Can
Hello fellow Wicket users,
I am getting a
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class:
org.apache.wicket.util.io.DeferredFileOutputStream exception when I
added a file upload feature to my AddProductForm.
My form is serialiazable yet I
71 matches
Mail list logo