]
Tristan Tarrant commented on ISPN-4755:
---------------------------------------
I recently had the misfortune to use the transportconfigurationbuilder and I would welcome
anything that could improve things.
TransportConfigurationBuilder.read(...) assumes Transport instance
has default constructor
------------------------------------------------------------------------------------------
Key: ISPN-4755
URL:
https://issues.jboss.org/browse/ISPN-4755
Project: Infinispan
Issue Type: Enhancement
Components: Configuration
Affects Versions: 7.0.0.Beta2
Reporter: Paul Ferraro
While upgrading WildFly to Infinispan 7.0, I encountered an InstantiationException in a
call to GlobalConfigurationBuilder.read(...). The culprit is the following commit:
https://github.com/infinispan/infinispan/commit/b6190774725ed38f67ee7787a...
Specifically, during TransportConfigurationBuilder.read(...) a new Transport instance is
constructed using the default constructor of the transport class. However, the Transport
object might not have a default constructor. Such is the case with WildFly's
ChannelTransport.
See:
https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/src/...