frjaeger220 / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

profiling swing application with tptp #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys,

today I tried to profile my Swing application with Eclipse TPTP profiler. I
use Java 6 as runtime. After configuring and starting I always get an
exception after approx. 7seconds of run:

Exception in thread "AWT-EventQueue-0" java.lang.AssertionError:
java.lang.VerifyError: (class:
sk/seges/corpis/trapas/gui/TransactionsFrame$$FastClassByGuice$$ee270b0f,
method: invoke signature:
(ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;) Inconsistent
stack height 2 != 1
    at com.google.inject.InjectorImpl.getImplicitBinding(InjectorImpl.java:984)
    at
com.google.inject.BindingBuilderImpl$ImplicitImplementation$1.run(BindingBuilder
Impl.java:327)
    at com.google.inject.InjectorImpl.withDefaultSource(InjectorImpl.java:142)
    at
com.google.inject.BindingBuilderImpl$ImplicitImplementation.notify(BindingBuilde
rImpl.java:325)
    at com.google.inject.BinderImpl.createInjector(BinderImpl.java:264)
    at com.google.inject.Guice.createInjector(Guice.java:79)
    at com.google.inject.Guice.createInjector(Guice.java:53)
    at com.google.inject.Guice.createInjector(Guice.java:43)
    at sk.seges.corpis.trapas.TrapasApplication.startup(TrapasApplication.java:29)
    at org.jdesktop.application.Application$1.run(Application.java:174)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.VerifyError: (class:
sk/seges/corpis/trapas/gui/TransactionsFrame$$FastClassByGuice$$ee270b0f,
method: invoke signature:
(ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;) Inconsistent
stack height 2 != 1
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getDeclaredConstructor(Unknown Source)
    at
com.google.inject.cglib.core.ReflectUtils.getConstructor(ReflectUtils.java:244)
    at
com.google.inject.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:220)
    at
com.google.inject.cglib.reflect.FastClass$Generator.firstInstance(FastClass.java
:76)
    at
com.google.inject.cglib.core.AbstractClassGenerator.create(AbstractClassGenerato
r.java:225)
    at
com.google.inject.cglib.reflect.FastClass$Generator.create(FastClass.java:64)
    at com.google.inject.util.GuiceFastClass.create(GuiceFastClass.java:38)
    at com.google.inject.util.GuiceFastClass.create(GuiceFastClass.java:30)
    at
com.google.inject.DefaultConstructionProxyFactory.get(DefaultConstructionProxyFa
ctory.java:59)
    at
com.google.inject.ProxyFactory.createConstructionProxy(ProxyFactory.java:92)
    at com.google.inject.ProxyFactory$1.create(ProxyFactory.java:57)
    at com.google.inject.ProxyFactory$1.create(ProxyFactory.java:56)
    at com.google.inject.util.ReferenceCache.create(ReferenceCache.java:53)
    at
com.google.inject.util.AbstractReferenceCache.internalCreate(AbstractReferenceCa
che.java:59)
    at
com.google.inject.util.AbstractReferenceCache.get(AbstractReferenceCache.java:11
6)
    at com.google.inject.ProxyFactory.get(ProxyFactory.java:204)
    at com.google.inject.ConstructorInjector.<init>(ConstructorInjector.java:41)
    at com.google.inject.InjectorImpl$7.create(InjectorImpl.java:601)
    at com.google.inject.InjectorImpl$7.create(InjectorImpl.java:594)
    at com.google.inject.util.ReferenceCache.create(ReferenceCache.java:53)
    at
com.google.inject.util.AbstractReferenceCache.internalCreate(AbstractReferenceCa
che.java:59)
    at
com.google.inject.util.AbstractReferenceCache.get(AbstractReferenceCache.java:11
6)
    at com.google.inject.InjectorImpl.getConstructor(InjectorImpl.java:765)
    at com.google.inject.InjectorImpl.getImplicitBinding(InjectorImpl.java:973)
    ... 17 more

Can you tell me what could be a problem?

Thanks in advance,
Laco

Original issue reported on code.google.com by eldz...@gmail.com on 19 Oct 2007 at 3:22

GoogleCodeExporter commented 9 years ago
I'm also getting a similar exception when profiling my application with tptp

Original comment by Galv...@gmail.com on 7 Feb 2008 at 11:11

GoogleCodeExporter commented 9 years ago
Same problem here...

Original comment by Martin.Mauch@gmail.com on 9 Feb 2008 at 3:59

GoogleCodeExporter commented 9 years ago
Duplicate of 168.

Original comment by limpbizkit on 9 Jun 2008 at 5:45