[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Exception in log may be useful: at org.aspectj.apache.bcel.classfile.annotation.RuntimeParameterAnnotations.getAnnotationsOnParameter(RuntimeParameterAnnotations.java:55)

Indeed not.  It was raised a little while ago as bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=241861 . I haven't fixed it yet.  Might be worth checking it is due to the same reason as discussed in that bug report - the user of non static inner classes that have parameter annotations.

Andy.

2008/9/24 Jason Weinstein <Jason.Weinstein@xxxxxxx>
Doesn't look like something that should ever happen:


---- AspectJ Properties ---
AspectJ Compiler 1.6.1 built on Thursday Jul 3, 2008 at 18:35:41 GMT
---- Dump Properties ---
Dump file: ajcore.20080922.185322.809.txt
Dump reason: java.lang.IndexOutOfBoundsException
Dump on exception: true
Dump at exit condition: abort
---- Exception Information ---
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  at java.util.ArrayList.RangeCheck(ArrayList.java:547)
  at java.util.ArrayList.get(ArrayList.java:322)
  at org.aspectj.apache.bcel.classfile.annotation.RuntimeParameterAnnotations.getAnnotationsOnParameter(RuntimeParameterAnnotations.java:55)
  at org.aspectj.apache.bcel.classfile.Method.ensureParameterAnnotationsUnpacked(Method.java:248)
  at org.aspectj.apache.bcel.classfile.Method.getParameterAnnotations(Method.java:276)
  at org.aspectj.weaver.bcel.BcelMethod.ensureParameterAnnotationsRetrieved(BcelMethod.java:391)
  at org.aspectj.weaver.bcel.BcelMethod.evictWeavingState(BcelMethod.java:530)
  at org.aspectj.weaver.bcel.BcelObjectType.evictWeavingState(BcelObjectType.java:825)
  at org.aspectj.weaver.bcel.BcelObjectType.weavingCompleted(BcelObjectType.java:836)
  at org.aspectj.weaver.bcel.BcelWeaver.weaveAndNotify(BcelWeaver.java:1409)
  at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1213)
  at org.aspectj.weaver.tools.WeavingAdaptor.getWovenBytes(WeavingAdaptor.java:394)
  at org.aspectj.weaver.tools.WeavingAdaptor.weaveClass(WeavingAdaptor.java:281)
  at org.aspectj.weaver.loadtime.Aj.preProcess(Aj.java:91)
  at org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:52)
  at sun.instrument.TransformerManager.transform(TransformerManager.java:169)
  at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:365)
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  at com.sun.appserv.server.util.ASURLClassLoader.loadClass(ASURLClassLoader.java:144)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  at com.sun.xml.ws.binding.WebServiceFeatureList.iterator(WebServiceFeatureList.java:174)
  at com.sun.xml.ws.binding.WebServiceFeatureList.addAll(WebServiceFeatureList.java:215)
  at com.sun.xml.ws.binding.WebServiceFeatureList.mergeFeatures(WebServiceFeatureList.java:237)
  at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:203)
  at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
  at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:510)
  at com.sun.enterprise.webservice.EjbRuntimeEndpointInfo.prepareInvocation(EjbRuntimeEndpointInfo.java:299)
  at com.sun.enterprise.webservice.EjbRuntimeEndpointInfo.initRuntimeInfo(EjbRuntimeEndpointInfo.java:342)
  at com.sun.enterprise.webservice.WebServiceEjbEndpointRegistry.registerEjbWebServiceEndpoint(WebServiceEjbEndpointRegistry.java:122)
  at com.sun.ejb.containers.StatelessSessionContainer.initializeWebService(StatelessSessionContainer.java:340)
  at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:599)
  at com.sun.enterprise.server.EJBModuleLoader.doLoad(EJBModuleLoader.java:171)
  at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:245)
  at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:225)
  at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:211)
  at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
  at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
  at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
  at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users