When using Multiple incontainer Deployments with different Content in combination with @OperatesOnDeployment @Tests might fail due to CNFE.
CNFE is thrown by the Container because the TestClass is refers to Classes from the 'other' deployment and can't be loaded, even tho they are not executed.
Arquillian should Filter and Rewrite the TestClass before it is deployed so only the @Test methods that are targeted to a specific Deployment are visible runtime.
javaassist is a very common lib and version conflicts are easy to occur. Shard javassist under a org.jboss.arq namespace?