This is an exception I was getting while trying to do some hibernate stuff.
It turned out that this is not a hibernate or jboss exception at all. The actual cause of this was a
NullPointerException somewhere in the flow of the application. This caused the transaction to end and re-enter a loop when the transaction was not active and this was thrown. So if you ever get this exception I suggest you put some break points in your code and see where it fails. It’s likely that there is an unchecked exception thrown somewhere in your programme.