[
https://issues.apache.org/jira/browse/WICKET-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914257#action_12914257
]
Ivaylo Stoykov commented on WICKET-3077:
----------------------------------------
I'm using Jetty server. I've forgotten I was experimenting with subdomains.
I've set [new
WebAppContext().getSessionHandler().getSessionManager().setSessionDomain(".localhost.com");]
on the server but I accessed the application from http://localhost:8080.
When I use http://localhost.com:8080 everything works fine.
Sorry...
> ModalWindow not closing
> -----------------------
>
> Key: WICKET-3077
> URL: https://issues.apache.org/jira/browse/WICKET-3077
> Project: Wicket
> Issue Type: Bug
> Components: wicket-extensions
> Affects Versions: 1.5-M2.1
> Environment: Windows 7, Chrome 6.0, Firefox 3.6.10, IE8
> Reporter: Ivaylo Stoykov
>
> Hi,
> I'm migrating to wicket 1.5-M2.1.
> I've the following problem:
> I'm using ModalWindow
> (org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow) and it
> works fine in Google Chrome browser. But in Firefox and IE it won't close
> when I press the close (X) button.
> I get an exception:
> org.apache.wicket.WicketRuntimeException: Method onRequest of interface
> org.apache.wicket.behavior.IBehaviorListener targeted at behavior
> org.apache.wicket.extensions.ajax.markup.html.modal.modalwindow$closebuttonbehav...@1bb4831
> on component [ModalWindow [Component id = parts_book_window]] threw an
> exception
> at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:267)
> at
> org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:199)
> at
> org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:173)
> at
> org.apache.wicket.request.RequestHandlerStack.executeRequestHandler(RequestHandlerStack.java:84)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:219)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:259)
> at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:131)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:184)
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:421)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
> at org.eclipse.jetty.server.Server.handle(Server.java:347)
> at
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
> at
> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1042)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
> at
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
> at
> org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:241)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.reflect.InvocationTargetException
> 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:597)
> at
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:257)
> ... 27 more
> Caused by: java.lang.IllegalArgumentException: Argument 'url' may not be null.
> at org.apache.wicket.util.lang.Args.notNull(Args.java:37)
> at org.apache.wicket.request.Url.parse(Url.java:119)
> at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
> ... 32 more
> Regards,
> Ivaylo Stoykov
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.