Announcement Announcement Module
Collapse
No announcement yet.
infinitest NullPointerException with STS 2.7.2Release Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • infinitest NullPointerException with STS 2.7.2Release

    Anyone else is seing NullPointerException around the time when building a project and with Infinitest set to run tests continously? This is new for me in STS 2.7.2.

    I think it's around the same time the app is crashing. My installations have crashed for a very long time, well since 2.3. Lately it seems this typically happens when building. Then I reopen STS, do a clean build and rebuild the project without crashes and without any problems too. This doesn't happen with simple projects, but it could be when source code is midway to change and perhaps unstable (Which is why I need to run tests of course). So I try and avoid building on save.

    a short bit from the logs:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.infinitest.EventNormalizer$1$1.run(EventNormal izer.java:158)
    at org.infinitest.eclipse.SwtEventQueue$InfinitestJob .processEvent(SwtEventQueue.java:102)
    at org.infinitest.eclipse.SwtEventQueue$InfinitestJob .run(SwtEventQueue.java:81)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)
    Caused by: java.lang.NullPointerException
    at org.infinitest.eclipse.markers.AbstractMarkerInfo. createMarker(AbstractMarkerInfo.java:38)
    at org.infinitest.eclipse.markers.GenericMarkerRegist ry.addMarkerToSource(GenericMarkerRegistry.java:91 )
    at org.infinitest.eclipse.markers.GenericMarkerRegist ry.addMarker(GenericMarkerRegistry.java:58)
    at org.infinitest.eclipse.SlowTestObserver.runStatsUp dated(SlowTestObserver.java:61)
    at org.infinitest.eclipse.SlowTestObserver.testCaseCo mplete(SlowTestObserver.java:73)
    ... 7 more
    Root exception:
    java.lang.NullPointerException
    at org.infinitest.eclipse.markers.AbstractMarkerInfo. createMarker(AbstractMarkerInfo.java:38)
    at org.infinitest.eclipse.markers.GenericMarkerRegist ry.addMarkerToSource(GenericMarkerRegistry.java:91 )
    at org.infinitest.eclipse.markers.GenericMarkerRegist ry.addMarker(GenericMarkerRegistry.java:58)
    at org.infinitest.eclipse.SlowTestObserver.runStatsUp dated(SlowTestObserver.java:61)
    at org.infinitest.eclipse.SlowTestObserver.testCaseCo mplete(SlowTestObserver.java:73)
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.infinitest.EventNormalizer$1$1.run(EventNormal izer.java:158)
    at org.infinitest.eclipse.SwtEventQueue$InfinitestJob .processEvent(SwtEventQueue.java:102)
    at org.infinitest.eclipse.SwtEventQueue$InfinitestJob .run(SwtEventQueue.java:81)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)

    !ENTRY org.infinitest.eclipse 4 0 2011-09-15 16:02:07.037
    !MESSAGE Error executing event runnable: Processing Results
    !STACK 0
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at org.infinitest.EventNormalizer$1$1.run(EventNormal izer.java:168)
    at org.infinitest.eclipse.SwtEventQueue$InfinitestJob .processEvent(SwtEventQueue.java:102)
    at org.infinitest.eclipse.SwtEventQueue$InfinitestJob .run(SwtEventQueue.java:81)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor37.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.infinitest.EventNormalizer$1$1.run(EventNormal izer.java:158)
    ... 3 more
    Caused by: java.lang.NullPointerException
    at org.infinitest.eclipse.markers.AbstractMarkerInfo. createMarker(AbstractMarkerInfo.java:38)
    at org.infinitest.eclipse.markers.GenericMarkerRegist ry.addMarkerToSource(GenericMarkerRegistry.java:91 )
    at org.infinitest.eclipse.markers.GenericMarkerRegist ry.addMarker(GenericMarkerRegistry.java:58)
    at org.infinitest.eclipse.SlowTestObserver.runStatsUp dated(SlowTestObserver.java:61)
    at org.infinitest.eclipse.SlowTestObserver.testCaseCo mplete(SlowTestObserver.java:73)
    ... 7 more

    !ENTRY org.infinitest.eclipse 1 0 2011-09-15 16:02:07.061
    !MESSAGE Update complete. Status FAILING
    Last edited by MiB; Sep 15th, 2011, 04:00 PM.

  • #2
    I haven't seen this problem before and a quick google search hasn't shown anything either. Perhaps you should raise a bug report for infinitest:
    https://github.com/infinitest/infinitest/issues

    If you do, please link to the bug report here so that if any other users are seeing the same problem they can have an easy way to track progress on a solution.

    Comment

    Working...
    X