Hi there,
Bonita Studio 6.3.3, Java 1.7.0.67, Windows 8.1
I’ve created a Java connector with no inputs and only outputs. the purpose is to pull data from a parameters file and return to the process.
When return values are hard coded the connector works but when I use Source->Externalize Strings (to create a messages.properties file) and then I execute I get an error
java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
According to Oracle this exception says:
*Signals that an unexpected exception has occurred in a static initializer. An ExceptionInInitializerError is thrown to indicate that an exception occurred during evaluation of a static initializer or the initializer for a static variable.
*
I’ve had a look and I see the messages.java has static initializers, as this code is generated by Bonita how do we fix it?
Thanks and best regards
Seán