JBoss Community

Re: NPE when deploying on latest nightly build

created by guinotphil in JBoss AS7 Development - View the full discussion

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

Start a new discussion in JBoss AS7 Development at Community