BTW, I am using akka 2.4-SNAPSHOT
On Friday, May 8, 2015 at 3:54:41 PM UTC-7, TS wrote:
>
> This is what I have in the pom
>
> <dependency>
>
> <groupId>io.kamon</groupId>
>
> <artifactId>kamon-core_2.11</artifactId>
>
> <version>0.3.5</version>
>
> </dependency>
>
> <dependency>
>
> <groupId>io.kamon</groupId>
>
> <artifactId>kamon-log-reporter_2.11</artifactId>
>
> <version>0.3.5</version>
>
> </dependency>
>
> <plugin>
>
> <groupId>org.apache.maven.plugins</groupId>
>
> <artifactId>maven-surefire-plugin</artifactId>
>
> <version>2.18.1</version>
>
> <configuration>
>
> <argLine>-javaagent:<path to aspectjweaver-1.7.4.jar></argLine>
>
> </configuration>
>
> </plugin>
>
>
> and in my application.conf
>
>
> extensions = ["kamon.metric.Metrics"]
>
>
> a test like will cause the error to happen.
>
> @Test
>
> public void testForFoo() {
>
> final TestActorRef<FooActor> ref = TestActorRef.create(system,
> Props.create(FooActor.class), "testFoo");
>
> Object obj = ref.underlyingActor().testFoo(ByteString.fromArray(
> "abc".getBytes()));
>
> }
>
>
> On Friday, May 8, 2015 at 4:47:36 AM UTC-7, Ivan Topolnjak wrote:
>>
>> Hello TS,
>>
>> I have been trying to find some additional info regarding this issue, but
>> couldn't find anything yet :(... is it possible for you to provide us a
>> little example to reproduce the issue?
>>
>> On Fri, May 8, 2015 at 2:59 AM TS <[email protected]> wrote:
>>
>>> Ivan, Any updates on this. Thanks in advance.
>>>
>>>
>>> On Wednesday, May 6, 2015 at 11:05:54 AM UTC-7, TS wrote:
>>>>
>>>> Ivan, Sorry about the cross post. I was not sure where I should post. I
>>>> am using Kamon 0.3.5
>>>>
>>>> On Wednesday, May 6, 2015 at 5:51:27 AM UTC-7, Ivan Topolnjak wrote:
>>>>>
>>>>> Hello TS!
>>>>>
>>>>> I just replied to you other email, please disregard that thread and
>>>>> post your answer here.. what Kamon version are you using?
>>>>>
>>>>> On Wed, May 6, 2015 at 3:07 AM TS <[email protected]> wrote:
>>>>>
>>>>>> I just started using Kamon. I am getting an error while weaving (This
>>>>>> happens when my tests run. My surefire plugin has argLine with javaagent
>>>>>> pointing to aspectjweaver.jar
>>>>>>
>>>>>> Any words of wisdom would be appreciated.
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> TS
>>>>>>
>>>>>> java.lang.Exception: Unexpected exception,
>>>>>> expected<java.lang.ClassCastException> but
>>>>>> was<java.lang.IncompatibleClassChangeError>
>>>>>>
>>>>>> at
>>>>>> akka.instrumentation.ActorCellInstrumentation.afterCreation(ActorCellInstrumentation.scala:42)
>>>>>>
>>>>>> at akka.actor.ActorCell.<init>(ActorCell.scala:397)
>>>>>>
>>>>>> at akka.actor.LocalActorRef.newActorCell(ActorRef.scala:320)
>>>>>>
>>>>>> at akka.actor.LocalActorRef.<init>(ActorRef.scala:316)
>>>>>>
>>>>>> at
>>>>>> akka.actor.LocalActorRefProvider$$anon$1.<init>(ActorRefProvider.scala:574)
>>>>>>
>>>>>> at
>>>>>> akka.actor.LocalActorRefProvider.rootGuardian$lzycompute(ActorRefProvider.scala:574)
>>>>>>
>>>>>> at
>>>>>> akka.actor.LocalActorRefProvider.rootGuardian(ActorRefProvider.scala:573)
>>>>>>
>>>>>> at akka.actor.LocalActorRefProvider.init(ActorRefProvider.scala:628)
>>>>>>
>>>>>> at akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:663)
>>>>>>
>>>>>> at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:660)
>>>>>>
>>>>>> at akka.actor.ActorSystemImpl._start(ActorSystem.scala:660)
>>>>>>
>>>>>> at akka.actor.ActorSystemImpl.start(ActorSystem.scala:676)
>>>>>>
>>>>>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:143)
>>>>>>
>>>>>> at akka.actor.ActorSystem$.apply(ActorSystem.scala:110)
>>>>>>
>>>>>> at akka.actor.ActorSystem$.create(ActorSystem.scala:58)
>>>>>>
>>>>>> at akka.actor.ActorSystem.create(ActorSystem.scala:1)
>>>>>>
>>>>>> --
>>>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>> >>>>>>>>>> Check the FAQ:
>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>> >>>>>>>>>> Search the archives:
>>>>>> https://groups.google.com/group/akka-user
>>>>>> ---
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Akka User List" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>> --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ:
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>> Search the archives:
>>> https://groups.google.com/group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.