{"action":"created","issue":{"url":"https://api.github.com/repos/HotswapProjects/HotswapAgent/issues/102","labels_url":"https://api.github.com/repos/HotswapProjects/HotswapAgent/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/HotswapProjects/HotswapAgent/issues/102/comments","events_url":"https://api.github.com/repos/HotswapProjects/HotswapAgent/issues/102/events","html_url":"https://github.com/HotswapProjects/HotswapAgent/issues/102","id":120326443,"number":102,"title":"[STDOUT] HOTSWAP AGENT: 17:25:59.934 ERROR (org.hotswap.agent.annotation.handler.OnClassLoadedHandler) - InvocationTargetException in transform method on plugin 'class org.hotswap.agent.plugin.proxy.ProxyPlugin' class ~","user":{"login":"funsterisdafunniest","id":5591104,"avatar_url":"https://avatars.githubusercontent.com/u/5591104?v=3","gravatar_id":"","url":"https://api.github.com/users/funsterisdafunniest","html_url":"https://github.com/funsterisdafunniest","followers_url":"https://api.github.com/users/funsterisdafunniest/followers","following_url":"https://api.github.com/users/funsterisdafunniest/following{/other_user}","gists_url":"https://api.github.com/users/funsterisdafunniest/gists{/gist_id}","starred_url":"https://api.github.com/users/funsterisdafunniest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funsterisdafunniest/subscriptions","organizations_url":"https://api.github.com/users/funsterisdafunniest/orgs","repos_url":"https://api.github.com/users/funsterisdafunniest/repos","events_url":"https://api.github.com/users/funsterisdafunniest/events{/privacy}","received_events_url":"https://api.github.com/users/funsterisdafunniest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-04T03:46:55Z","updated_at":"2015-12-08T08:34:16Z","closed_at":null,"body":"Getting this error after migrating my development project to new machine.\r\n\r\nEnvironment : \r\nimac late 2013, el capitan with all updates installed\r\njdk 7u79 with dcevm (the latest dcevm light for java 7 that i can find) + hotswap agetn 0.3\r\nNetbeans IDE 8.1\r\nJboss 5.1.0 GA (still need to use it since my workplace uses it)\r\ndisabledplugin on the hotswap : hibernate (since obviously, since it's jboss 5, we're still using hibernate 3, which is not supported)\r\nthe project structure is\r\nApp.ear\r\n--App.war\r\n--App.ejb\r\n\r\nthe exception thrown everytime i save a file while debugging is as follow\r\n```\r\n17:25:59,934 INFO  [STDOUT] HOTSWAP AGENT: 17:25:59.934 ERROR (org.hotswap.agent.annotation.handler.OnClassLoadedHandler) - InvocationTargetException in transform method on plugin 'class org.hotswap.agent.plugin.proxy.ProxyPlugin' class '--edited--'.\r\njava.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.hotswap.agent.annotation.handler.OnClassLoadedHandler.transform(OnClassLoadedHandler.java:157)\r\n\tat org.hotswap.agent.annotation.handler.OnClassLoadedHandler$1.transform(OnClassLoadedHandler.java:76)\r\n\tat org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:129)\r\n\tat sun.instrument.TransformerManager.transform(TransformerManager.java:188)\r\n\tat sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:424)\r\nCaused by: java.lang.IllegalStateException: BaseClassLoader@6740931a{vfszip:/--edited--} classLoader is not connected to a domain (probably undeployed?) for class java.io.ByteArrayInputStream\r\n\tat org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:793)\r\n\tat org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\tat java.lang.Class.getDeclaredFields0(Native Method)\r\n\tat java.lang.Class.privateGetDeclaredFields(Class.java:2499)\r\n\tat java.lang.Class.getField0(Class.java:2804)\r\n\tat java.lang.Class.getField(Class.java:1582)\r\n\tat org.hotswap.agent.plugin.proxy.hscglib.GeneratorParametersTransformer.getGeneratorParamsMap(GeneratorParametersTransformer.java:83)\r\n\tat org.hotswap.agent.plugin.proxy.hscglib.GeneratorParametersTransformer.getGeneratorParams(GeneratorParametersTransformer.java:111)\r\n\tat org.hotswap.agent.plugin.proxy.ProxyPlugin.transformCglibProxy(ProxyPlugin.java:75)\r\n\t... 9 more\r\n```\r\n\r\nwhich is strange, since java.io.ByteArrayInputStream does not need classloader right? or am i wrong?"},"comment":{"url":"https://api.github.com/repos/HotswapProjects/HotswapAgent/issues/comments/162813168","html_url":"https://github.com/HotswapProjects/HotswapAgent/issues/102#issuecomment-162813168","issue_url":"https://api.github.com/repos/HotswapProjects/HotswapAgent/issues/102","id":162813168,"user":{"login":"erkieh","id":8049910,"avatar_url":"https://avatars.githubusercontent.com/u/8049910?v=3","gravatar_id":"","url":"https://api.github.com/users/erkieh","html_url":"https://github.com/erkieh","followers_url":"https://api.github.com/users/erkieh/followers","following_url":"https://api.github.com/users/erkieh/following{/other_user}","gists_url":"https://api.github.com/users/erkieh/gists{/gist_id}","starred_url":"https://api.github.com/users/erkieh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erkieh/subscriptions","organizations_url":"https://api.github.com/users/erkieh/orgs","repos_url":"https://api.github.com/users/erkieh/repos","events_url":"https://api.github.com/users/erkieh/events{/privacy}","received_events_url":"https://api.github.com/users/erkieh/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T08:34:16Z","updated_at":"2015-12-08T08:34:16Z","body":"The proxy plugin regenerates dynamic proxying classes that are created at runtime. \r\nIn this case the JBoss classloader seems to do some additional checks that I have not taken into account."}}