[jboss-dev-forums] [JBoss AS7 Development] - Re: NPE when deploying on latest nightly build
guinotphil
do-not-reply at jboss.com
Wed Aug 31 04:47:04 EDT 2011
guinotphil [http://community.jboss.org/people/guinotphil] created the discussion
"Re: NPE when deploying on latest nightly build"
To view the discussion, visit: http://community.jboss.org/message/623940#623940
--------------------------------------------------------------
Hi!
I've been tracking all the method annoted by @TransactionAttribute and commented them until I find the only that caused the problem.
I finally found out the cause was the following method :
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public Long[] getStats(long mId, long eId) {
...
}
I changed the definition to :
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public List<Long> getStats(long mId, long eId)
And now it works :)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/623940#623940]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110831/8e816548/attachment.html
More information about the jboss-dev-forums
mailing list