You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Dipu Seminlal <di...@googlemail.com> on 2007/07/30 16:54:58 UTC

ERROR - Internal error cloning object

Hi Igor/Eelco and Others,

Sorry i am reposting this, can any one please tell me how to get around this
issue.

I am seeing loads of "Internal error cloning object" error in the log files.
I am running on DEPLOYMENT mode and also  i have set
get().getDebugSettings()
.setSerializeSessionAttributes(false);
( which is not really required when i am on Deployment mode ) in the
application class.

I have an Iframe on different site pointing to my application like this
<iframe id="framename" name="framename" marginwidth="0" marginheight="0"
hspace="0" vspace="0" target="_top"
src="
http://sagittarius:8080/fab1gui/search?wicket:bookmarkablePage=:com.xmltravel.fab1.wicket.flights.HorizontalSearchNavPage"
allowtransparency="true" frameborder="0" height="210" scrolling="no"
width="540"></iframe>

I tried to simulate this situation and noticed that when i do a submit on
the Iframe for the first time this error is thrown.

How can i get around this issue.

My client has configured a spider to do searches on the live site and i am
seeing loads and loads of Internal error cloning object exception.
And worst of all today there was an out of memory error, i am wondering if
the repeated occurrence of cloning excpetion has got anything to
do with the out of memory error.

Regards
Dipu


2007-07-30 12:25:45:437 ERROR wicket.markup.html.WebPage
[http-8080-Processor25] - Page [Page class =
com.xmltravel.fab1.wicket.flights.FlightSearchResultPage , id = 1] couldn't
be cloned to move to another pagemap
wicket.WicketRuntimeException: Internal error cloning object
    at wicket.util.lang.Objects.cloneObject(Objects.java:466)
    at wicket.markup.html.WebPage.onNewBrowserWindow (WebPage.java:344)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java
:187)
    at
wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(
ListenerInterfaceRequestTarget.java:74)
    at wicket.request.compound.DefaultEventProcessorStrategy.processEvents(
DefaultEventProcessorStrategy.java:65)
    at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(
AbstractCompoundRequestCycleProcessor.java:57)
    at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896)
    at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929)
    at wicket.RequestCycle.step (RequestCycle.java:1010)
    at wicket.RequestCycle.steps(RequestCycle.java:1084)
    at wicket.RequestCycle.request(RequestCycle.java:454)
    at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java :252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke (
StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke (
StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
    at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
Http11BaseProtocol.java:664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java :80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.NotSerializableException:
org.apache.catalina.core.ApplicationContextFacade
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
:1369)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
    at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1284)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
    at java.io.ObjectOutputStream.defaultWriteFields (
ObjectOutputStream.java:1369)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java
:1341)
    at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1284)
    at java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java
:1073)
    at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
    at java.io.ObjectOutputStream.defaultWriteFields (
ObjectOutputStream.java:1369)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java
:1341)
    at java.io.ObjectOutputStream.writeOrdinaryObject(
ObjectOutputStream.java:1284)
    at java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java
:1073)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
    at wicket.util.lang.Objects.cloneObject(Objects.java:407)
    ... 31 more