ZeroTurnaround Support Forum » JRebel Support

regression in 1.1.2 (and 1.2-M1)

(11 posts)

No tags yet.


  1. gandy

    Member
    Posts: 10

    When I deploy my webapp with JavaRebel 1.1.2 or 1.2-M1, I get a NullPointerException. The error is exactly the same in both versions. I did not have this problem in 1.1.1.

    This is my shortened backtrace (I can provide you the full backtrace, but it did not want to paste 128 lines on this forum):

    java.lang.NullPointerException
    at org.aspectj.weaver.reflect.Java15AnnotationFinder.getAnnotations(Java15AnnotationFinder.java:109)
    at org.aspectj.weaver.reflect.ReflectionBasedResolvedMemberImpl.unpackAnnotations(ReflectionBasedResolvedMemberImpl.java:174)
    at org.aspectj.weaver.reflect.ReflectionBasedResolvedMemberImpl.hasAnnotation(ReflectionBasedResolvedMemberImpl.java:158)
    at org.aspectj.weaver.patterns.ExactAnnotationTypePattern.matches(ExactAnnotationTypePattern.java:82)
    at org.aspectj.weaver.patterns.AnnotationPointcut.matchInternal(AnnotationPointcut.java:151)
    at org.aspectj.weaver.patterns.Pointcut.match(Pointcut.java:146)
    at org.aspectj.weaver.internal.tools.PointcutExpressionImpl.getShadowMatch(PointcutExpressionImpl.java:235)
    at org.aspectj.weaver.internal.tools.PointcutExpressionImpl.matchesExecution(PointcutExpressionImpl.java:101)
    at org.aspectj.weaver.internal.tools.PointcutExpressionImpl.matchesMethodExecution(PointcutExpressionImpl.java:92)
    at org.springframework.aop.aspectj.AspectJExpressionPointcut.getShadowMatch(AspectJExpressionPointcut.java:362)
    at org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:239)
    ...
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)
    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 org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:458)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    ...
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:619)

    Posted 2 years ago #
  2. ekabanov

    LeadRebel
    Posts: 546

    We've seen a similar error before, I will check how it was fixed and whether it's just a regression or a side effect of something else.

    Posted 2 years ago #
  3. ekabanov

    LeadRebel
    Posts: 546

    Confirm regression, unfortunately the auto test that we wrote for it previously missed it. Updated it to work properly. I uploaded the fixed nightly build, could you confirm that it fixes your problem?

    Posted 2 years ago #
  4. ekabanov

    LeadRebel
    Posts: 546

  5. gandy

    Member
    Posts: 10

    I tested it and it fixes my issue.

    Thanks!

    Posted 2 years ago #
  6. gandy

    Member
    Posts: 10

    This bug came back in 2.0-RC1 (maybe even in the 2.0 milestones?). It also still present in the latest Development Snapshot.

    Posted 1 year ago #
  7. gandy

    Member
    Posts: 10

    FYI: Note that I was using AspectJ Weaver 1.5.3. I can work around this problem by upgrading to it to 1.6.3.

    Posted 1 year ago #
  8. ekabanov

    LeadRebel
    Posts: 546

    Thanks, I'll try reproducing this again.

    Posted 1 year ago #
  9. ekabanov

    LeadRebel
    Posts: 546

    Hmm, this is a little weird, could you send us the whole current stacktrace and also JavaRebel log (add -Drebel.log=true)? AFAIK the problem should have been fixed,

    Posted 1 year ago #
  10. gandy

    Member
    Posts: 10

    I've sent the stacktrace and JavaRebel.log to your support email address.

    Posted 1 year ago #
  11. ekabanov

    LeadRebel
    Posts: 546

    Thank you very much for your report and test case. The problem is now solved in 2.0-RC2. Enjoy!

    Posted 1 year ago #

RSS feed for this topic

Reply

(required)

(required)

(optional)

(required)

Allowed markup: a blockquote code em strong ul ol li.
Put code in between `backticks`.

Olark Livehelp