isisaddons-legacy / isis-wicket-excel

As of v1.15.0, incorporated into Incode Platform (http://incodehq.github.io)
Apache License 2.0
5 stars 4 forks source link

Downloading Excel file throws an error #3

Closed jcvanderwal closed 7 years ago

jcvanderwal commented 9 years ago

Here's the stack trace:

Stack trace:
org.apache.wicket.WicketRuntimeException
Method onLinkClicked of interface org.apache.wicket.markup.html.link.ILinkListener targeted at [ExcelFileDownloadLink [Component id = download]] on component [ExcelFileDownloadLink [Component id = download]] threw an exception
org.apache.wicket.RequestListenerInterface#internalInvoke(RequestListenerInterface.java:268)
org.apache.wicket.RequestListenerInterface#invoke(RequestListenerInterface.java:216)
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#invokeListener(ListenerInterfaceRequestHandler.java:243)
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#respond(ListenerInterfaceRequestHandler.java:236)
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:862)
org.apache.wicket.request.RequestHandlerStack#execute(RequestHandlerStack.java:64)
org.apache.wicket.request.cycle.RequestCycle#execute(RequestCycle.java:261)
org.apache.wicket.request.cycle.RequestCycle#processRequest(RequestCycle.java:218)
org.apache.wicket.request.cycle.RequestCycle#processRequestAndDetach(RequestCycle.java:289)
org.apache.wicket.protocol.http.WicketFilter#processRequestCycle(WicketFilter.java:259)
org.apache.wicket.protocol.http.WicketFilter#processRequest(WicketFilter.java:201)
org.apache.wicket.protocol.http.WicketFilter#doFilter(WicketFilter.java:282)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter#doFilter(IsisLogOnExceptionFilter.java:52)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.togglz.servlet.TogglzFilter#doFilter(TogglzFilter.java:100)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.apache.shiro.web.servlet.AbstractShiroFilter#executeChain(AbstractShiroFilter.java:449)
org.apache.shiro.web.servlet.AbstractShiroFilter$1#call(AbstractShiroFilter.java:365)
org.apache.shiro.subject.support.SubjectCallable#doCall(SubjectCallable.java:90)
org.apache.shiro.subject.support.SubjectCallable#call(SubjectCallable.java:83)
org.apache.shiro.subject.support.DelegatingSubject#execute(DelegatingSubject.java:383)
org.apache.shiro.web.servlet.AbstractShiroFilter#doFilterInternal(AbstractShiroFilter.java:362)
org.apache.shiro.web.servlet.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:125)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.eclipse.jetty.servlet.ServletHandler#doHandle(ServletHandler.java:585)
org.eclipse.jetty.server.handler.ScopedHandler#handle(ScopedHandler.java:143)
org.eclipse.jetty.security.SecurityHandler#handle(SecurityHandler.java:577)
org.eclipse.jetty.server.session.SessionHandler#doHandle(SessionHandler.java:223)
org.eclipse.jetty.server.handler.ContextHandler#doHandle(ContextHandler.java:1127)
org.eclipse.jetty.servlet.ServletHandler#doScope(ServletHandler.java:515)
org.eclipse.jetty.server.session.SessionHandler#doScope(SessionHandler.java:185)
org.eclipse.jetty.server.handler.ContextHandler#doScope(ContextHandler.java:1061)
org.eclipse.jetty.server.handler.ScopedHandler#handle(ScopedHandler.java:141)
org.eclipse.jetty.server.handler.HandlerWrapper#handle(HandlerWrapper.java:97)
org.eclipse.jetty.server.Server#handle(Server.java:499)
org.eclipse.jetty.server.HttpChannel#handle(HttpChannel.java:310)
org.eclipse.jetty.server.HttpConnection#onFillable(HttpConnection.java:257)
org.eclipse.jetty.io.AbstractConnection$2#run(AbstractConnection.java:540)
org.eclipse.jetty.util.thread.QueuedThreadPool#runJob(QueuedThreadPool.java:635)
org.eclipse.jetty.util.thread.QueuedThreadPool$3#run(QueuedThreadPool.java:555)
java.lang.Thread#run(Thread.java:745)
Caused by:
java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl#invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl#invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl#invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method#invoke(Method.java:497)
org.apache.wicket.RequestListenerInterface#internalInvoke(RequestListenerInterface.java:258)
org.apache.wicket.RequestListenerInterface#invoke(RequestListenerInterface.java:216)
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#invokeListener(ListenerInterfaceRequestHandler.java:243)
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#respond(ListenerInterfaceRequestHandler.java:236)
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:862)
org.apache.wicket.request.RequestHandlerStack#execute(RequestHandlerStack.java:64)
org.apache.wicket.request.cycle.RequestCycle#execute(RequestCycle.java:261)
org.apache.wicket.request.cycle.RequestCycle#processRequest(RequestCycle.java:218)
org.apache.wicket.request.cycle.RequestCycle#processRequestAndDetach(RequestCycle.java:289)
org.apache.wicket.protocol.http.WicketFilter#processRequestCycle(WicketFilter.java:259)
org.apache.wicket.protocol.http.WicketFilter#processRequest(WicketFilter.java:201)
org.apache.wicket.protocol.http.WicketFilter#doFilter(WicketFilter.java:282)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter#doFilter(IsisLogOnExceptionFilter.java:52)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.togglz.servlet.TogglzFilter#doFilter(TogglzFilter.java:100)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.apache.shiro.web.servlet.AbstractShiroFilter#executeChain(AbstractShiroFilter.java:449)
org.apache.shiro.web.servlet.AbstractShiroFilter$1#call(AbstractShiroFilter.java:365)
org.apache.shiro.subject.support.SubjectCallable#doCall(SubjectCallable.java:90)
org.apache.shiro.subject.support.SubjectCallable#call(SubjectCallable.java:83)
org.apache.shiro.subject.support.DelegatingSubject#execute(DelegatingSubject.java:383)
org.apache.shiro.web.servlet.AbstractShiroFilter#doFilterInternal(AbstractShiroFilter.java:362)
org.apache.shiro.web.servlet.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:125)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.eclipse.jetty.servlet.ServletHandler#doHandle(ServletHandler.java:585)
org.eclipse.jetty.server.handler.ScopedHandler#handle(ScopedHandler.java:143)
org.eclipse.jetty.security.SecurityHandler#handle(SecurityHandler.java:577)
org.eclipse.jetty.server.session.SessionHandler#doHandle(SessionHandler.java:223)
org.eclipse.jetty.server.handler.ContextHandler#doHandle(ContextHandler.java:1127)
org.eclipse.jetty.servlet.ServletHandler#doScope(ServletHandler.java:515)
org.eclipse.jetty.server.session.SessionHandler#doScope(SessionHandler.java:185)
org.eclipse.jetty.server.handler.ContextHandler#doScope(ContextHandler.java:1061)
org.eclipse.jetty.server.handler.ScopedHandler#handle(ScopedHandler.java:141)
org.eclipse.jetty.server.handler.HandlerWrapper#handle(HandlerWrapper.java:97)
org.eclipse.jetty.server.Server#handle(Server.java:499)
org.eclipse.jetty.server.HttpChannel#handle(HttpChannel.java:310)
org.eclipse.jetty.server.HttpConnection#onFillable(HttpConnection.java:257)
org.eclipse.jetty.io.AbstractConnection$2#run(AbstractConnection.java:540)
org.eclipse.jetty.util.thread.QueuedThreadPool#runJob(QueuedThreadPool.java:635)
org.eclipse.jetty.util.thread.QueuedThreadPool$3#run(QueuedThreadPool.java:555)
java.lang.Thread#run(Thread.java:745)
Caused by:
java.lang.NoSuchMethodError
org.apache.isis.core.metamodel.spec.feature.ObjectAssociation.get(Lorg/apache/isis/core/metamodel/adapter/ObjectAdapter;)Lorg/apache/isis/core/metamodel/adapter/ObjectAdapter;
org.isisaddons.wicket.excel.cpt.ui.ExcelFileModel#setCellValue(ExcelFileModel.java:148)
org.isisaddons.wicket.excel.cpt.ui.ExcelFileModel#createFile(ExcelFileModel.java:120)
org.isisaddons.wicket.excel.cpt.ui.ExcelFileModel#load(ExcelFileModel.java:79)
org.isisaddons.wicket.excel.cpt.ui.ExcelFileModel#load(ExcelFileModel.java:52)
org.apache.wicket.model.LoadableDetachableModel#getObject(LoadableDetachableModel.java:121)
org.apache.wicket.Component#getDefaultModelObject(Component.java:1590)
org.apache.wicket.markup.html.link.Link#getModelObject(Link.java:438)
org.isisaddons.wicket.excel.cpt.ui.ExcelFileDownloadLink#onClick(ExcelFileDownloadLink.java:45)
org.apache.wicket.markup.html.link.Link#onLinkClicked(Link.java:190)
sun.reflect.NativeMethodAccessorImpl#invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl#invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl#invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method#invoke(Method.java:497)
org.apache.wicket.RequestListenerInterface#internalInvoke(RequestListenerInterface.java:258)
org.apache.wicket.RequestListenerInterface#invoke(RequestListenerInterface.java:216)
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#invokeListener(ListenerInterfaceRequestHandler.java:243)
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler#respond(ListenerInterfaceRequestHandler.java:236)
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:862)
org.apache.wicket.request.RequestHandlerStack#execute(RequestHandlerStack.java:64)
org.apache.wicket.request.cycle.RequestCycle#execute(RequestCycle.java:261)
org.apache.wicket.request.cycle.RequestCycle#processRequest(RequestCycle.java:218)
org.apache.wicket.request.cycle.RequestCycle#processRequestAndDetach(RequestCycle.java:289)
org.apache.wicket.protocol.http.WicketFilter#processRequestCycle(WicketFilter.java:259)
org.apache.wicket.protocol.http.WicketFilter#processRequest(WicketFilter.java:201)
org.apache.wicket.protocol.http.WicketFilter#doFilter(WicketFilter.java:282)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter#doFilter(IsisLogOnExceptionFilter.java:52)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.togglz.servlet.TogglzFilter#doFilter(TogglzFilter.java:100)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.apache.shiro.web.servlet.AbstractShiroFilter#executeChain(AbstractShiroFilter.java:449)
org.apache.shiro.web.servlet.AbstractShiroFilter$1#call(AbstractShiroFilter.java:365)
org.apache.shiro.subject.support.SubjectCallable#doCall(SubjectCallable.java:90)
org.apache.shiro.subject.support.SubjectCallable#call(SubjectCallable.java:83)
org.apache.shiro.subject.support.DelegatingSubject#execute(DelegatingSubject.java:383)
org.apache.shiro.web.servlet.AbstractShiroFilter#doFilterInternal(AbstractShiroFilter.java:362)
org.apache.shiro.web.servlet.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:125)
org.eclipse.jetty.servlet.ServletHandler$CachedChain#doFilter(ServletHandler.java:1652)
org.eclipse.jetty.servlet.ServletHandler#doHandle(ServletHandler.java:585)
org.eclipse.jetty.server.handler.ScopedHandler#handle(ScopedHandler.java:143)
org.eclipse.jetty.security.SecurityHandler#handle(SecurityHandler.java:577)
org.eclipse.jetty.server.session.SessionHandler#doHandle(SessionHandler.java:223)
org.eclipse.jetty.server.handler.ContextHandler#doHandle(ContextHandler.java:1127)
org.eclipse.jetty.servlet.ServletHandler#doScope(ServletHandler.java:515)
org.eclipse.jetty.server.session.SessionHandler#doScope(SessionHandler.java:185)
org.eclipse.jetty.server.handler.ContextHandler#doScope(ContextHandler.java:1061)
org.eclipse.jetty.server.handler.ScopedHandler#handle(ScopedHandler.java:141)
org.eclipse.jetty.server.handler.HandlerWrapper#handle(HandlerWrapper.java:97)
org.eclipse.jetty.server.Server#handle(Server.java:499)
org.eclipse.jetty.server.HttpChannel#handle(HttpChannel.java:310)
org.eclipse.jetty.server.HttpConnection#onFillable(HttpConnection.java:257)
org.eclipse.jetty.io.AbstractConnection$2#run(AbstractConnection.java:540)
org.eclipse.jetty.util.thread.QueuedThreadPool#runJob(QueuedThreadPool.java:635)
org.eclipse.jetty.util.thread.QueuedThreadPool$3#run(QueuedThreadPool.java:555)
java.lang.Thread#run(Thread.java:745)
danhaywood commented 7 years ago

Closing, believe has been fixed.