Bug 970487 - NullPointerException in CacheFactoryAdd when aliases aren't specified
Summary: NullPointerException in CacheFactoryAdd when aliases aren't specified
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EJB
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER1
: EAP 6.2.0
Assignee: David M. Lloyd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-04 06:58 UTC by Jaikiran Pai
Modified: 2013-12-15 16:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:19:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaikiran Pai 2013-06-04 06:58:39 UTC
A user has reported a NPE while adding a cache from the EJB subsystem. Here's the forum thread https://community.jboss.org/message/821146#821146 and the exception stacktrace:

./subsystem=ejb3/cache=my-cache:add(passivation-store=infinispan)

 

with the next outputs.

 

ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) JBAS014612: Operation ("add") failed - address: ([

    ("subsystem" => "ejb3"),

    ("cache" => "my-cache")

]): java.lang.NullPointerException

    at java.util.HashSet.<init>(HashSet.java:116) [rt.jar:1.6.0_24]

    at org.jboss.as.ejb3.subsystem.CacheFactoryAdd.installRuntimeServices(CacheFactoryAdd.java:83)

    at org.jboss.as.ejb3.subsystem.CacheFactoryAdd.performRuntime(CacheFactoryAdd.java:74)

    at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

    at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

Comment 2 Jan Martiska 2013-09-19 10:11:57 UTC
Verified in EAP 6.2.0.ER1.

Comment 8 Dimitris Andreadis 2013-10-24 18:28:52 UTC
Assigning jpai EJB issues to david.lloyd. Please re-assign to Cheng or others as needed.


Note You need to log in before you can comment on or make changes to this bug.