Recently a co-worker and I started to experience a problem with our WebLogic development environments. Suddenly we can no longer deploy our project.
The application builds in Eclipse, but when we deploy to our local WebLogic instance we receive an IllegalArgumentException
SEVERE: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
Caused by: javax.faces.FacesException: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
Caused by: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
Caused by: java.lang.ExceptionInInitializerError
Caused by: java.lang.IllegalArgumentException: You have attempted to set a value of type class ca.<orgdomain>.domain.FolderTransactionType for parameter 1 with expected type of class ca.<orgdomain>.domain.FolderTransactionType from query string select result from TransactionFee result where result.folderTransactionType = ?1 .
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setParameterInternal(EJBQueryImpl.java:1202)
The key confusion point for me is that the "attemped" type and the "expected" type are identical.
(Possible Red-Herring)I'm not sure if it is relevant, but both of the affected systems are on different development branches (we forked a week ago), but we both started experiencing the problem today. Another developer on the same branch as me is not experiencing the problem.