{"action":"created","issue":{"url":"https://api.github.com/repos/decebals/wicket-plugin/issues/8","repository_url":"https://api.github.com/repos/decebals/wicket-plugin","labels_url":"https://api.github.com/repos/decebals/wicket-plugin/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/decebals/wicket-plugin/issues/8/comments","events_url":"https://api.github.com/repos/decebals/wicket-plugin/issues/8/events","html_url":"https://github.com/decebals/wicket-plugin/issues/8","id":300796363,"number":8,"title":"Error while instantiating a Plugin","user":{"login":"mursch","id":2069691,"avatar_url":"https://avatars1.githubusercontent.com/u/2069691?v=4","gravatar_id":"","url":"https://api.github.com/users/mursch","html_url":"https://github.com/mursch","followers_url":"https://api.github.com/users/mursch/followers","following_url":"https://api.github.com/users/mursch/following{/other_user}","gists_url":"https://api.github.com/users/mursch/gists{/gist_id}","starred_url":"https://api.github.com/users/mursch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mursch/subscriptions","organizations_url":"https://api.github.com/users/mursch/orgs","repos_url":"https://api.github.com/users/mursch/repos","events_url":"https://api.github.com/users/mursch/events{/privacy}","received_events_url":"https://api.github.com/users/mursch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-02-27T21:18:35Z","updated_at":"2018-03-23T11:54:33Z","closed_at":"2018-03-23T11:54:33Z","author_association":"NONE","body":"I'm actually trying to make an existing wicket application extensible. Therefore I integrated wicket-plugin, wrote a first tiny plugin (only a static panel) and tried to add it to a page as shown in the demo app. \r\nAt startup the framework recognizes the plugin but wenn the plugin class is instantiated (in the class DefaultExtensionFactory) an Exception is thrown: \r\n\r\n<pre>\r\norg.apache.wicket.WicketRuntimeException: There is no application attached to current thread http-nio-8081-exec-9\r\n\tat org.apache.wicket.Application.get(Application.java:236)\r\n\tat org.apache.wicket.Component.getApplication(Component.java:1350)\r\n\tat org.apache.wicket.Component.<init>(Component.java:687)\r\n\tat org.apache.wicket.MarkupContainer.<init>(MarkupContainer.java:180)\r\n\tat org.apache.wicket.markup.html.WebMarkupContainer.<init>(WebMarkupContainer.java:53)\r\n\tat org.apache.wicket.markup.html.WebMarkupContainer.<init>(WebMarkupContainer.java:45)\r\n\tat org.apache.wicket.markup.html.panel.Panel.<init>(Panel.java:67)\r\n</pre>\r\n\r\nDo you know what went wrong or what might be the reason for this error?\r\n\r\nI start the application from eclipse with -Dpf4j.mode=development"},"comment":{"url":"https://api.github.com/repos/decebals/wicket-plugin/issues/comments/375635851","html_url":"https://github.com/decebals/wicket-plugin/issues/8#issuecomment-375635851","issue_url":"https://api.github.com/repos/decebals/wicket-plugin/issues/8","id":375635851,"user":{"login":"mursch","id":2069691,"avatar_url":"https://avatars1.githubusercontent.com/u/2069691?v=4","gravatar_id":"","url":"https://api.github.com/users/mursch","html_url":"https://github.com/mursch","followers_url":"https://api.github.com/users/mursch/followers","following_url":"https://api.github.com/users/mursch/following{/other_user}","gists_url":"https://api.github.com/users/mursch/gists{/gist_id}","starred_url":"https://api.github.com/users/mursch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mursch/subscriptions","organizations_url":"https://api.github.com/users/mursch/orgs","repos_url":"https://api.github.com/users/mursch/repos","events_url":"https://api.github.com/users/mursch/events{/privacy}","received_events_url":"https://api.github.com/users/mursch/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T11:54:33Z","updated_at":"2018-03-23T11:54:33Z","author_association":"NONE","body":"I'm looking forward to the new version!\r\nI close this issue because obviously I did something wrong in my first attempts integrating wicket-plugin. "}}
{"actor":{"display_login":"mursch"}}