yes i managed to do it same locally.
the reason of the issue is still here.

https://www.mail-archive.com/search?l=us...@tomee.apache.org&q=subject:%22Re%5C%3A+Java+8+Type+Annotations+cause+error+%5C-+is+that+expected%5C%3F%22&o=newest&f=1

excluding shaded dependency from latest release of openejb and adding it
dependency list of component seems resolving it.
not sure if it is a good practice but maybe we can do it till xbean
upgraded in openejb.

On Thu, May 10, 2018 at 1:38 PM, Babak Vahdat <babak.vah...@swissonline.ch>
wrote:

> Hi
>
> I managed to fix the failing camel-ejb tests locally. Let’s wait for the
> next CI-build.
>
> Babak
>
> > On 10 May 2018, at 07:39, Onder SEZGIN <ondersez...@gmail.com> wrote:
> >
> > Interestingly, it does not fail in IDE(intellij).
> > It fails on mvn prompt as Tomohisa mentioned.
> > after running mvn clean on the prompt and fire the test on IDE, it is ok.
> > i did not dive into it yet.
> > this is my initial observation.
> >
> > On Thu, May 10, 2018 at 1:16 AM, Tomohisa Igarashi <
> tm.igara...@gmail.com>
> > wrote:
> >
> >> Yep, actually this fails for me. I noticed that I get this weird
> exception
> >> when I run "mvn test -Dtest=GreaterTest"
> >> -----------------------------
> >> WARNING - Unable to scrape for @Stateful, @Stateless, @Singleton or
> >> @MessageDriven annotations. AnnotationFinder failed.
> >> java.lang.RuntimeException
> >>        at org.apache.xbean.asm5.MethodVisitor.visitParameter(Unknown
> >> Source)
> >>        at org.apache.xbean.asm5.ClassReader.b(Unknown Source)
> >>        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
> >>        at org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
> >>        at org.apache.xbean.finder.AnnotationFinder.readClassDef(
> >> AnnotationFinder.java:1170)
> >> ...
> >> -----------------------------
> >>
> >> I found a SO thread saying OpenEJB 4.6 + JDK8 get similar symptom, but
> >> we're using OpenEJB 4.7.5 and shouldn't be a problem...
> >>
> >> Thanks,
> >> Tomo
> >>
> >> On Thu, 2018-05-10 at 00:09 +0200, Zoran Regvart wrote:
> >>> On Wed, May 9, 2018 at 5:40 PM, Onder SEZGIN <ond...@apache.org>
> wrote:
> >>>> I can help with some of them by tomorrow.
> >>>
> >>> Awesome, thank you. I think Tomohisa is also taking a look. Now only
> >>> the camel-ejb tests are failing[1]. Its strange I can't reproduce this
> >>> locally, other failures were pretty straightforward to fix, I can't
> >>> wrap my head around this one,
> >>>
> >>> zoran
> >>>
> >>> [1] https://builds.apache.org/view/C/view/Apache%20Camel/
> >> job/Camel/job/master/lastCompletedBuild/testReport/
> >>
>
>

Reply via email to