Opened 14 years ago

Closed 14 years ago

#111 closed defect (fixed)

Uncaught exception по потврдувањето на откажувањето на испит

Reported-by: Vangel Ajanovski Owned by: Vangel Ajanovski
Priority: critical Milestone: M007 - 06.2011
Component: Enrollment Version: trunk
Severity: Not possible to complete task Keywords:
Cc:

Description

[ERROR] ioc.Registry Index: 0, Size: 0 [ERROR] ioc.Registry Operations trace: [ERROR] ioc.Registry [ 1] Triggering event 'action' on ExamScheduleDelete:dateexam.form [ERROR] ioc.Registry [ 2] Triggering event 'success' on ExamScheduleDelete:dateexam.form [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Index: 0, Size: 0 org.apache.tapestry5.runtime.ComponentEventException: Index: 0, Size: 0 [at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 2]

at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1152) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3000(ComponentPageElementImpl.java:72) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$7.invoke(ComponentPageElementImpl.java:1077) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$7.invoke(ComponentPageElementImpl.java:1075) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1063) at org.apache.tapestry5.internal.structure.ComponentPageElementResourcesImpl.invoke(ComponentPageElementResourcesImpl.java:141) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1073) at org.apache.tapestry5.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:81) at org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42) at $ComponentEventRequestHandler_12f845f81d0.handle($ComponentEventRequestHandler_12f845f81d0.java) at org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42) at $ComponentEventRequestHandler_12f845f81d0.handle($ComponentEventRequestHandler_12f845f81d0.java) at org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:75) at $ComponentEventRequestHandler_12f845f81d0.handle($ComponentEventRequestHandler_12f845f81d0.java) at org.apache.tapestry5.services.TapestryModule$39.handle(TapestryModule.java:2583) at $ComponentEventRequestHandler_12f845f81d0.handle($ComponentEventRequestHandler_12f845f81d0.java) at $ComponentEventRequestHandler_12f845f8102.handle($ComponentEventRequestHandler_12f845f8102.java) at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43) at org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39) at $ComponentRequestHandler_12f845f8104.handleComponentEvent($ComponentRequestHandler_12f845f8104.java) at mk.edu.ii.isii.upisi.services.AccessController.handleComponentEvent(AccessController.java:102) at $ComponentRequestHandler_12f845f8104.handleComponentEvent($ComponentRequestHandler_12f845f8104.java) at $ComponentRequestHandler_12f845f80e3.handleComponentEvent($ComponentRequestHandler_12f845f80e3.java) at org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46) at $Dispatcher_12f845f80e5.dispatch($Dispatcher_12f845f80e5.java) at $Dispatcher_12f845f80e0.dispatch($Dispatcher_12f845f80e0.java) at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:321) at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26) at $RequestHandler_12f845f80e1.service($RequestHandler_12f845f80e1.java) at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:984) at $RequestHandler_12f845f80e1.service($RequestHandler_12f845f80e1.java) at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:974) at $RequestHandler_12f845f80e1.service($RequestHandler_12f845f80e1.java) at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90) at $RequestHandler_12f845f80e1.service($RequestHandler_12f845f80e1.java) at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90) at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81) at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85) at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103) at $RequestHandler_12f845f80e1.service($RequestHandler_12f845f80e1.java) at $RequestHandler_12f845f80d7.service($RequestHandler_12f845f80d7.java) at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:272) at org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:44) at $HttpServletRequestHandler_12f845f80d9.service($HttpServletRequestHandler_12f845f80d9.java) at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) at $HttpServletRequestHandler_12f845f80d9.service($HttpServletRequestHandler_12f845f80d9.java) at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) at $HttpServletRequestFilter_12f845f80d5.service($HttpServletRequestFilter_12f845f80d5.java) at $HttpServletRequestHandler_12f845f80d9.service($HttpServletRequestHandler_12f845f80d9.java) at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:928) at $HttpServletRequestHandler_12f845f80d9.service($HttpServletRequestHandler_12f845f80d9.java) at $HttpServletRequestHandler_12f845f80d3.service($HttpServletRequestHandler_12f845f80d3.java) at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:62) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:196) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:93) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:65) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at mk.edu.ii.isii.upisi.util.UTF8Filter.doFilter(UTF8Filter.java:28) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Caused by: org.apache.tapestry5.ioc.internal.OperationException: Index: 0, Size: 0 [at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 2]

at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:102) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:69) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68) at org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1063) at org.apache.tapestry5.internal.structure.ComponentPageElementResourcesImpl.invoke(ComponentPageElementResourcesImpl.java:141) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1073) at org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.triggerContextEvent(InternalComponentResourcesImpl.java:287) at org.apache.tapestry5.corelib.components.Form._$advised$onAction(Form.java:565) at org.apache.tapestry5.corelib.components.Form$onAction$invocation_12f845faf1e.invokeAdvisedMethod(Form$onAction$invocation_12f845faf1e.java) at org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:77) at org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:37) at org.apache.tapestry5.internal.transform.LogWorker$1.advise(LogWorker.java:54) at org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) at org.apache.tapestry5.corelib.components.Form.onAction(Form.java) at org.apache.tapestry5.corelib.components.Form$MethodAccess_onAction_12f845f82a8.invoke(Form$MethodAccess_onAction_12f845f82a8.java) at org.apache.tapestry5.internal.transform.BaseEventHandlerMethodInvoker.invokeEventHandlerMethod(BaseEventHandlerMethodInvoker.java:52) at org.apache.tapestry5.internal.transform.OnEventWorker$4.invokeEventHandlers(OnEventWorker.java:157) at org.apache.tapestry5.internal.transform.OnEventWorker$4.advise(OnEventWorker.java:136) at org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) at org.apache.tapestry5.corelib.components.Form.dispatchComponentEvent(Form.java) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:950) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1132) … 81 more

Caused by: org.apache.tapestry5.runtime.ComponentEventException: Index: 0, Size: 0 [at classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 2]

at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1152) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.access$3000(ComponentPageElementImpl.java:72) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$7.invoke(ComponentPageElementImpl.java:1077) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$7.invoke(ComponentPageElementImpl.java:1075) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65) … 101 more

Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at mk.edu.ii.isii.upisi.dao.hibernate3.ExamSessionDaoImpl.deleteExamDate(ExamSessionDaoImpl.java:732) at $ExamSessionDao_12f845f8672.deleteExamDate($ExamSessionDao_12f845f8672.java) at $ExamSessionDao_12f845f8673.deleteExamDate($ExamSessionDao_12f845f8673.java) at $ExamSessionDao_12f845f8671.deleteExamDate($ExamSessionDao_12f845f8671.java) at mk.edu.ii.isii.upisi.services.impl.ExamSessionManagerImpl.deleteExamDate(ExamSessionManagerImpl.java:143) at $ExamSessionManager_12f845f866f.deleteExamDate($ExamSessionManager_12f845f866f.java) at Invocation$ExamSessionManager$deleteExamDate$12f845facfe.invokeDelegateMethod(Invocation$ExamSessionManager$deleteExamDate$12f845facfe.java) at org.apache.tapestry5.ioc.internal.services.AbstractInvocation.proceed(AbstractInvocation.java:124) at org.apache.tapestry5.internal.hibernate.HibernateTransactionAdvisorImpl$1.advise(HibernateTransactionAdvisorImpl.java:40) at org.apache.tapestry5.ioc.internal.services.AbstractInvocation.proceed(AbstractInvocation.java:128) at $ExamSessionManager_12f845f8670.deleteExamDate($ExamSessionManager_12f845f8670.java) at $ExamSessionManager_12f845f8279.deleteExamDate($ExamSessionManager_12f845f8279.java) at mk.edu.ii.isii.upisi.pages.ExamScheduleDelete.onSuccess(ExamScheduleDelete.java:75) at mk.edu.ii.isii.upisi.pages.ExamScheduleDelete$MethodAccess_onSuccess_12f845f8753.invoke(ExamScheduleDelete$MethodAccess_onSuccess_12f845f8753.java) at org.apache.tapestry5.internal.transform.BaseEventHandlerMethodInvoker.invokeEventHandlerMethod(BaseEventHandlerMethodInvoker.java:52) at org.apache.tapestry5.internal.transform.OnEventWorker$4.invokeEventHandlers(OnEventWorker.java:157) at org.apache.tapestry5.internal.transform.OnEventWorker$4.advise(OnEventWorker.java:136) at org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) at mk.edu.ii.isii.upisi.pages.ExamScheduleDelete.dispatchComponentEvent(ExamScheduleDelete.java) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:942) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1132) … 105 more

Change History (2)

comment:1 by Vangel Ajanovski, 14 years ago

Owner: set to Vangel Ajanovski
Status: newassigned

Паѓа само кај некоректно креирани настани кај кои не е во ред пополнет Event или Slot, па не се ни креирани такви записи.

comment:2 by Vangel Ajanovski, 14 years ago

Resolution: fixed
Status: assignedclosed

Поправено со [1743]

Note: See TracTickets for help on using tickets.