{"action":"created","issue":{"url":"https://api.github.com/repos/seasarorg/seasar2/issues/15","repository_url":"https://api.github.com/repos/seasarorg/seasar2","labels_url":"https://api.github.com/repos/seasarorg/seasar2/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/seasarorg/seasar2/issues/15/comments","events_url":"https://api.github.com/repos/seasarorg/seasar2/issues/15/events","html_url":"https://github.com/seasarorg/seasar2/issues/15","id":245914167,"number":15,"title":"java.lang.illegalargumentException","user":{"login":"michael2043","id":4134458,"avatar_url":"https://avatars1.githubusercontent.com/u/4134458?v=4","gravatar_id":"","url":"https://api.github.com/users/michael2043","html_url":"https://github.com/michael2043","followers_url":"https://api.github.com/users/michael2043/followers","following_url":"https://api.github.com/users/michael2043/following{/other_user}","gists_url":"https://api.github.com/users/michael2043/gists{/gist_id}","starred_url":"https://api.github.com/users/michael2043/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael2043/subscriptions","organizations_url":"https://api.github.com/users/michael2043/orgs","repos_url":"https://api.github.com/users/michael2043/repos","events_url":"https://api.github.com/users/michael2043/events{/privacy}","received_events_url":"https://api.github.com/users/michael2043/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-07-27T03:15:35Z","updated_at":"2017-07-28T06:23:47Z","closed_at":null,"body":"I use seasar2 first time as web project,In IndexAction.java when I use \r\n@resource\r\nprotected AbcService abcService\r\njava.lang.illegalargumentException happened\r\n\r\nbut when I only used \r\n@resource\r\nprotected AbcLogic abcLogic \r\neverhthing ok,only happned in \"Service\"??\r\n\r\npublic class AbcServiceImpl {\r\n\r\n\tpublic List<String> search(){\r\n\t\treturn null;\r\n\t}\r\n}\r\n\r\npublic interface AbcService {\t\r\n\tpublic List<String> search();\r\n}\r\n\r\nClass IndexAction\r\n\t@Resource\r\n\tprotected AbcLogic abcLogic;\r\n\t\r\n\t@Resource\r\n\tprotected AbcService abcService;\r\n\t\r\n\t@Execute(validator=false)\r\n\tpublic String index() throws Exception {\r\n\t\treturn \"index.jsp\";\r\n\t}\r\n\r\n\r\n\r\nCaused by: org.seasar.framework.exception.SIllegalArgumentException: [ESSR0094]IllegalArgumentExceptionがクラス(sra.action.IndexAction)[ModuleClassLoader for Module \"deployment.SysRelationApi.war:main\" from Service Module Loader]の型(sra.service.AbcService)[ModuleClassLoader for Module \"deployment.SysRelationApi.war:main\" from Service Module Loader]のフィールド(abcService)に型(sra.service.impl.AbcServiceImpl$$EnhancedByS2AOP$$854e9b)[ModuleClassLoader for Module \"deployment.SysRelationApi.war:main\" from Service Module Loader]の値(sra.service.impl.AbcServiceImpl$$EnhancedByS2AOP$$854e9b@b2e813)を設定するときに発生しました。対象のクラスは(sra.action.IndexAction$$EnhancedByS2AOP$$b01fc0)[ModuleClassLoader for Module \"deployment.SysRelationApi.war:main\" from Service Module Loader]です。\r\n\tat org.seasar.framework.util.FieldUtil.set(FieldUtil.java:171)\r\n\tat org.seasar.framework.container.assembler.AbstractBindingTypeDef.setValue(AbstractBindingTypeDef.java:346)\r\n\tat org.seasar.framework.container.assembler.AbstractBindingTypeDef.bindAuto(AbstractBindingTypeDef.java:151)\r\n\tat org.seasar.framework.container.assembler.BindingTypeMustDef.doBind(BindingTypeMustDef.java:45)\r\n\tat org.seasar.framework.container.assembler.AbstractBindingTypeDef.bind(AbstractBindingTypeDef.java:91)\r\n\tat org.seasar.framework.container.assembler.AccessTypeFieldDef.bind(AccessTypeFieldDef.java:50)\r\n\tat org.seasar.framework.container.assembler.AccessTypeFieldDef.bind(AccessTypeFieldDef.java:42)\r\n\tat org.seasar.framework.container.assembler.AutoPropertyAssembler.assemble(AutoPropertyAssembler.java:56)\r\n\tat org.seasar.framework.container.deployer.RequestComponentDeployer.deploy(RequestComponentDeployer.java:67)\r\n\tat org.seasar.framework.container.impl.ComponentDefImpl.getComponent(ComponentDefImpl.java:111)\r\n\tat org.seasar.struts.config.S2ActionMapping.getActionForm(S2ActionMapping.java:329)\r\n\tat org.seasar.struts.action.ActionFormWrapper.<init>(ActionFormWrapper.java:62)\r\n\tat org.seasar.struts.action.ActionFormWrapperClass.newInstance(ActionFormWrapperClass.java:82)\r\n\tat org.seasar.struts.config.S2FormBeanConfig.createActionForm(S2FormBeanConfig.java:44)\r\n\tat org.seasar.struts.action.S2RequestProcessor.processActionForm(S2RequestProcessor.java:211)\r\n\tat org.seasar.struts.action.S2RequestProcessor.process(S2RequestProcessor.java:103)\r\n\tat org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)\r\n\tat org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:687)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:790)\r\n\tat io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)\r\n\tat org.seasar.extension.filter.RequestDumpFilter.doFilter(RequestDumpFilter.java:127)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:71)\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)\r\n\tat io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)\r\n\tat io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)\r\n\tat io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:209)\r\n\tat io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:221)\r\n\t... 52 more\r\nCaused by: java.lang.IllegalArgumentException: Can not set sra.service.AbcService field sra.action.IndexAction.abcService to sra.service.impl.AbcServiceImpl$$EnhancedByS2AOP$$854e9b\r\n\tat sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)\r\n\tat sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)\r\n\tat sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)\r\n\tat java.lang.reflect.Field.set(Field.java:758)\r\n\tat org.seasar.framework.util.FieldUtil.set(FieldUtil.java:162)"},"comment":{"url":"https://api.github.com/repos/seasarorg/seasar2/issues/comments/318571101","html_url":"https://github.com/seasarorg/seasar2/issues/15#issuecomment-318571101","issue_url":"https://api.github.com/repos/seasarorg/seasar2/issues/15","id":318571101,"user":{"login":"michael2043","id":4134458,"avatar_url":"https://avatars1.githubusercontent.com/u/4134458?v=4","gravatar_id":"","url":"https://api.github.com/users/michael2043","html_url":"https://github.com/michael2043","followers_url":"https://api.github.com/users/michael2043/followers","following_url":"https://api.github.com/users/michael2043/following{/other_user}","gists_url":"https://api.github.com/users/michael2043/gists{/gist_id}","starred_url":"https://api.github.com/users/michael2043/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael2043/subscriptions","organizations_url":"https://api.github.com/users/michael2043/orgs","repos_url":"https://api.github.com/users/michael2043/repos","events_url":"https://api.github.com/users/michael2043/events{/privacy}","received_events_url":"https://api.github.com/users/michael2043/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T06:23:47Z","updated_at":"2017-07-28T06:23:47Z","body":"I solved the problem!!! by change hotdeploy to cool or warm ,but I don't know why....\r\nenv.txt\r\nct→ut   or ct→xx"}}
{"actor":{"display_login":"michael2043"}}