ASSERTION ERROR ON ACCESSING REMOTE METHOD WITH GENERIC (LIST<T>) (Doc ID 1252416.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3 to 10.3
Information in this document applies to any platform.

Symptoms

With WLS 10.3 version, if an EJB interface contains Generic Type, any method's call leads either to NoSuchMethodException or java.lang.AssertionError as the following :


java.lang.AssertionError on a remote method with Generic (List<Type>) return
  type when connecting a web app running on the AdminServer 7001 to an application running on a managed server(port 7003)
 
 Error:
 
  java.lang.AssertionError: Can not find generic method public abstract
  java.util.List<mil.cnodb.persistence.DbInfo> getByDbInfoName(java.lang.String
  arg0) in EJB Object
 
  at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:159)
  at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
  at $Proxy211.getByDbInfoName(Unknown Source)
  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms