Issue 71: Error when changing event
http://code.google.com/p/webical/issues/detail?id=71

New issue report by [EMAIL PROTECTED]:
What happened?
I got an error when I changed an event

What steps will reproduce the problem?
1. Go to demo.webical.org
2. Login
3. Click an event
4. Change the description
5. Click 'edit' to save (weird name for this button, but I digress)
6. The changes are not saved. You get the following error:
Method onFormSubmitted of interface
org.apache.wicket.markup.html.form.IFormSubmitListener targeted at
component [MarkupContainer [Component id = eventForm, page =
org.webical.web.pages.BasePage, path =
0:contentPanel:calendarViewPanel:eventForm.EventFormPanel$1, isVisible =
true, isVersioned = true]] threw an exception

 The application returned the following (possible) causes for the error:

    * Event could not be saved
    * Could not storeEvent
    * Could not store Event
    * No row with the given identifier exists: [org.webical.Calendar#5]

Stack:

org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of
interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted
at component [MarkupContainer [Component id = eventForm, page =
org.webical.web.pages.BasePage, path =
0:contentPanel:calendarViewPanel:eventForm.EventFormPanel$1, isVisible =
true, isVersioned = true]] threw an exception
        at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:194)
        at
org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
        at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)
        at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1094)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1248)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
        at 
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:343)
        at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:193)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:514)
        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:868)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
        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(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:183)
        ... 23 more
Caused by: org.webical.web.app.WebicalWebAplicationException: Event could
not be saved
        at
org.webical.web.component.calendar.CalendarPanel.storeEvent(CalendarPanel.java:572)
        at
org.webical.web.component.calendar.CalendarPanel.internalOnAction(CalendarPanel.java:362)
        at
org.webical.web.component.calendar.CalendarPanel.access$1(CalendarPanel.java:279)
        at
org.webical.web.component.calendar.CalendarPanel$6.onAction(CalendarPanel.java:329)
        at
org.webical.web.component.event.EventFormPanel$1.onAction(EventFormPanel.java:71)
        at
org.webical.web.component.event.EventForm.alterAllEventInstances(EventForm.java:660)
        at 
org.webical.web.component.event.EventForm.onSubmit(EventForm.java:574)
        at 
org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1275)
        at 
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:769)
        ... 27 more
Caused by: org.webical.manager.WebicalException: Could not storeEvent
        at
org.webical.manager.impl.EventManagerImpl.storeEvent(EventManagerImpl.java:137)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:410)
        at org.apache.wicket.proxy.$Proxy16.storeEvent(Unknown Source)
        at
org.webical.web.component.calendar.CalendarPanel.storeEvent(CalendarPanel.java:563)
        ... 35 more
Caused by: org.webical.dao.DaoException: Could not store Event
        at
org.webical.dao.hibernateImpl.EventDaoWebDavHibernateBufferedImpl.storeEvent_aroundBody0(EventDaoWebDavHibernateBufferedImpl.java:131)
        at
org.webical.dao.hibernateImpl.EventDaoWebDavHibernateBufferedImpl.storeEvent_aroundBody1$advice(EventDaoWebDavHibernateBufferedImpl.java:129)
        at
org.webical.dao.hibernateImpl.EventDaoWebDavHibernateBufferedImpl.storeEvent(EventDaoWebDavHibernateBufferedImpl.java:1)
        at
org.webical.manager.impl.EventManagerImpl.storeEvent(EventManagerImpl.java:131)
        ... 42 more
Caused by: org.hibernate.ObjectNotFoundException: No row with the given
identifier exists: [org.webical.Calendar#5]
        at
org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
        at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128)
        at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
        at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
        at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:862)
        at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:830)
        at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
        at org.hibernate.type.EntityType.resolve(EntityType.java:303)
        at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
        at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
        at org.hibernate.loader.Loader.doQuery(Loader.java:717)
        at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
        at org.hibernate.loader.Loader.doList(Loader.java:2145)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
        at org.hibernate.loader.Loader.list(Loader.java:2024)
        at 
org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1533)
        at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
        at
org.webical.dao.hibernateImpl.EventDaoWebDavHibernateBufferedImpl.storeEvent_aroundBody0(EventDaoWebDavHibernateBufferedImpl.java:89)
        ... 45 more


Issue attributes:
        Status: New
        Owner: ----
        Labels: Type-Defect Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"webical-developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/webical-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to