Fabric3

NPE if a junit component is marked as @Scope("CONVERSATION")

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 0.4
  • Fix Version/s: None
  • Component/s: Fabric
  • Labels:
    None
  • Number of attachments :
    0

Description

java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:157)
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:730)
at org.fabric3.fabric.services.store.NonExpiringMemoryStore.getWrapper(NonExpiringMemoryStore.java:47)
at org.fabric3.fabric.component.scope.StatefulScopeContainer.getWrapper(StatefulScopeContainer.java:63)
at org.fabric3.pojo.ComponentObjectFactory.getInstance(ComponentObjectFactory.java:43)
at org.fabric3.maven.runtime.impl.MavenEmbeddedRuntimeImpl.executeTest(MavenEmbeddedRuntimeImpl.java:144)
at org.fabric3.itest.SCATestSet.execute(SCATestSet.java:58)
at org.fabric3.itest.SCATestSuite.execute(SCATestSuite.java:71)
at org.fabric3.itest.SCATestSuite.execute(SCATestSuite.java:55)
at org.fabric3.itest.Fabric3ITestMojo.run(Fabric3ITestMojo.java:566)
at org.fabric3.itest.Fabric3ITestMojo.runSurefire(Fabric3ITestMojo.java:541)
at org.fabric3.itest.Fabric3ITestMojo.execute(Fabric3ITestMojo.java:370)

This is a misconfiguration as the service contract is not conversational but we should fail more gracefully.

Activity

Hide
Jim Marino added a comment -

To be replaced by distributed caching.

Show
Jim Marino added a comment - To be replaced by distributed caching.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: