What happened?
Error screen when Submit add event
What steps will reproduce the problem?
1. Add an event
2. Name: A Monthly event
3. When from: 21/02/2009 10:17
4. When to: 21/02/2009 11:17
5. Where: Here
6. Repeat: Mountly
7. Add
What is the expected output? What do you see instead?
The application returned the following error message:
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
What version of the product are you using? On what operating system?
Nightly Demo, cfr you system ;-)
Please provide any additional information below.
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.ListenerInterfaceRequestTarg
et.processEvents(ListenerInterfaceRequestTarget.java:73)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRe
questCycleProcessor.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(ApplicationFilt
erChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.jav
a: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.processConne
ction(Http11BaseProtocol.java:663)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
7)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1125.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: java.lang.NullPointerException
at org.webical.ical.RecurrenceUtil.setRecurrenceRule(RecurrenceUtil.java:64)
at
org.webical.web.component.event.EventWrapper.storeRecurrence(EventWrapper.java:1
81)
at
org.webical.web.component.event.EventForm.alterAllEventInstances(EventForm.java:
602)
at org.webical.web.component.event.EventForm.onSubmit(EventForm.java:577)
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
Original issue reported on code.google.com by yani...@gmail.com on 13 Feb 2009 at 9:28
Original issue reported on code.google.com by
yani...@gmail.com
on 13 Feb 2009 at 9:28