| Issue 151: | JBoss5でAOPをすると、InternalError | |
| 1 person starred this issue and may be notified of changes. | Back to list |
JBoss5でAOPをすると、InternalErrorとなる。
javassistで置き換えられるはずの$class変数が置き換わっていないようだ。
HTTPステータス 500 -
type 例外レポート
メッセージ
説明 The server encountered an internal error () that prevented it from
fulfilling this request.
例外
javax.servlet.ServletException:
commons.exception.IllegalPropertyRuntimeException:
[ECMN0006]hoge.foo.bar.service.impl.ChatServiceImplのプロパティ
executorに値を設定できませんでした(理由:lucy.exception.AspectException:
[ELCY0901]AOPでのエンハンス時に例外(java.lang.RuntimeException: $class:
internal error)が発生しました.).
org.t2framework.handler.impl.GlobalExceptionHandlerImpl.handleException(GlobalExceptionHandlerImpl.java:41)
org.t2framework.filter.T2Filter.doFilter(T2Filter.java:142)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
原因
commons.exception.IllegalPropertyRuntimeException:
[ECMN0006]hoge.foo.bar.service.impl.ChatServiceImplのプロパティ
executorに値を設定できませんでした(理由:lucy.exception.AspectException:
[ELCY0901]AOPでのエンハンス時に例外(java.lang.RuntimeException: $class:
internal error)が発生しました.).
commons.meta.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:169)
lucy.inject.PropertyInjector.injectPropertyDesc(PropertyInjector.java:45)
lucy.inject.PropertyInjector.inject(PropertyInjector.java:39)
lucy.behavior.InjectBehavior.execute(InjectBehavior.java:77)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processBehavior(ComponentBuilderFactory.java:65)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processMethodAndProperties(ComponentBuilderFactory.java:83)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.build(ComponentBuilderFactory.java:50)
lucy.LucyImpl.buildComponent(LucyImpl.java:161)
lucy.LucyImpl.get(LucyImpl.java:118)
lucy.inject.PropertyInjector.prepareComponent(PropertyInjector.java:106)
lucy.inject.PropertyInjector.prepareArg(PropertyInjector.java:59)
lucy.inject.PropertyInjector.inject(PropertyInjector.java:38)
lucy.behavior.InjectBehavior.execute(InjectBehavior.java:77)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processBehavior(ComponentBuilderFactory.java:65)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processMethodAndProperties(ComponentBuilderFactory.java:83)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.build(ComponentBuilderFactory.java:50)
lucy.LucyImpl.buildComponent(LucyImpl.java:161)
lucy.LucyImpl.getBeanDesc(LucyImpl.java:112)
org.t2framework.adapter.LucyContainerAdapter.getBeanDesc(LucyContainerAdapter.java:73)
org.t2framework.contexts.impl.WebApplicationImpl.loadPageDescMap(WebApplicationImpl.java:271)
org.t2framework.contexts.impl.WebApplicationImpl.getPageDescMap(WebApplicationImpl.java:260)
org.t2framework.filter.T2Filter.doFilter(T2Filter.java:127)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
原因
lucy.exception.AspectException: [ELCY0901]AOPでのエンハンス時に例外
(java.lang.RuntimeException: $class: internal error)が発生しました.
hoge.foo.bar.service.impl.ChatServiceImpl$$LucyAop$$520b3c.setExecutor(ChatServiceImpl$$LucyAop$$520b3c.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
commons.util.Reflections$MethodUtil.invoke(Reflections.java:458)
commons.meta.impl.MethodDescImpl.invoke(MethodDescImpl.java:87)
commons.meta.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:167)
lucy.inject.PropertyInjector.injectPropertyDesc(PropertyInjector.java:45)
lucy.inject.PropertyInjector.inject(PropertyInjector.java:39)
lucy.behavior.InjectBehavior.execute(InjectBehavior.java:77)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processBehavior(ComponentBuilderFactory.java:65)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processMethodAndProperties(ComponentBuilderFactory.java:83)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.build(ComponentBuilderFactory.java:50)
lucy.LucyImpl.buildComponent(LucyImpl.java:161)
lucy.LucyImpl.get(LucyImpl.java:118)
lucy.inject.PropertyInjector.prepareComponent(PropertyInjector.java:106)
lucy.inject.PropertyInjector.prepareArg(PropertyInjector.java:59)
lucy.inject.PropertyInjector.inject(PropertyInjector.java:38)
lucy.behavior.InjectBehavior.execute(InjectBehavior.java:77)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processBehavior(ComponentBuilderFactory.java:65)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processMethodAndProperties(ComponentBuilderFactory.java:83)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.build(ComponentBuilderFactory.java:50)
lucy.LucyImpl.buildComponent(LucyImpl.java:161)
lucy.LucyImpl.getBeanDesc(LucyImpl.java:112)
org.t2framework.adapter.LucyContainerAdapter.getBeanDesc(LucyContainerAdapter.java:73)
org.t2framework.contexts.impl.WebApplicationImpl.loadPageDescMap(WebApplicationImpl.java:271)
org.t2framework.contexts.impl.WebApplicationImpl.getPageDescMap(WebApplicationImpl.java:260)
org.t2framework.filter.T2Filter.doFilter(T2Filter.java:127)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
原因
java.lang.RuntimeException: $class: internal error
javassist.runtime.Desc.getClazz(Desc.java:55)
hoge.foo.bar.service.impl.ChatServiceImpl$$LucyAop$$520b3c.setExecutor(ChatServiceImpl$$LucyAop$$520b3c.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
commons.util.Reflections$MethodUtil.invoke(Reflections.java:458)
commons.meta.impl.MethodDescImpl.invoke(MethodDescImpl.java:87)
commons.meta.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:167)
lucy.inject.PropertyInjector.injectPropertyDesc(PropertyInjector.java:45)
lucy.inject.PropertyInjector.inject(PropertyInjector.java:39)
lucy.behavior.InjectBehavior.execute(InjectBehavior.java:77)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processBehavior(ComponentBuilderFactory.java:65)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processMethodAndProperties(ComponentBuilderFactory.java:83)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.build(ComponentBuilderFactory.java:50)
lucy.LucyImpl.buildComponent(LucyImpl.java:161)
lucy.LucyImpl.get(LucyImpl.java:118)
lucy.inject.PropertyInjector.prepareComponent(PropertyInjector.java:106)
lucy.inject.PropertyInjector.prepareArg(PropertyInjector.java:59)
lucy.inject.PropertyInjector.inject(PropertyInjector.java:38)
lucy.behavior.InjectBehavior.execute(InjectBehavior.java:77)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processBehavior(ComponentBuilderFactory.java:65)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.processMethodAndProperties(ComponentBuilderFactory.java:83)
lucy.ComponentBuilderFactory$DefaultComponentBuilderImpl.build(ComponentBuilderFactory.java:50)
lucy.LucyImpl.buildComponent(LucyImpl.java:161)
lucy.LucyImpl.getBeanDesc(LucyImpl.java:112)
org.t2framework.adapter.LucyContainerAdapter.getBeanDesc(LucyContainerAdapter.java:73)
org.t2framework.contexts.impl.WebApplicationImpl.loadPageDescMap(WebApplicationImpl.java:271)
org.t2framework.contexts.impl.WebApplicationImpl.getPageDescMap(WebApplicationImpl.java:260)
org.t2framework.filter.T2Filter.doFilter(T2Filter.java:127)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
注意 原因のすべてのスタックトレースは、JBoss Web/2.1.1.CR7のログに記録さ
れています
JBoss Web/2.1.1.CR7
Dec 9, 2008
Project Member
#1
shinpei.ohtani@gmail.com
Status:
Started
|