MarkupCache's modification listener fails with 'no Application in this thread' 
error
------------------------------------------------------------------------------------

                 Key: WICKET-2992
                 URL: https://issues.apache.org/jira/browse/WICKET-2992
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M1
         Environment: Any
            Reporter: Martin Grigorov


Start the quickstart application in debug mode in Eclipse and edit 
HomePage.html fails with:


ERROR - Task                       - Unhandled exception thrown by user code in 
task ModificationWatcher
org.apache.wicket.WicketRuntimeException: There is no application attached to 
current thread ModificationWatcher Task
        at org.apache.wicket.Application.get(Application.java:237)
        at 
org.apache.wicket.markup.MarkupCache.removeMarkup(MarkupCache.java:170)
        at org.apache.wicket.markup.MarkupCache$1.onChange(MarkupCache.java:461)
        at 
org.apache.wicket.util.listener.ChangeListenerSet.notifyListener(ChangeListenerSet.java:35)
        at 
org.apache.wicket.util.listener.ChangeListenerSet.notifyListener(ChangeListenerSet.java:27)
        at 
org.apache.wicket.util.listener.ListenerSet.notifyListeners(ListenerSet.java:62)
        at 
org.apache.wicket.util.watch.ModificationWatcher$1.run(ModificationWatcher.java:162)
        at org.apache.wicket.util.thread.Task$1.run(Task.java:115)
        at java.lang.Thread.run(Thread.java:595)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to