You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using jfconfg 4.1.12 with a Dropwizard 1.3.0+ application causes a JVM error when the JFConfig class is loaded :
java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
com/energizedwork/justConf/JFConfig.envVarSubstitution(Lio/dropwizard/configuration/ConfigurationSourceProvider;)Lio/dropwizard/configuration/ConfigurationSourceProvider; @13: invokespecial
Reason:
Type 'io/dropwizard/configuration/EnvironmentVariableSubstitutor' (current frame, stack[3]) is not assignable to 'org/apache/commons/lang3/text/StrSubstitutor'
Current Frame:
bci: @13
flags: { }
locals: { 'io/dropwizard/configuration/ConfigurationSourceProvider' }
stack: { uninitialized 0, uninitialized 0, 'io/dropwizard/configuration/ConfigurationSourceProvider', 'io/dropwizard/configuration/EnvironmentVariableSubstitutor' }
Bytecode:
0000000: bb00 0259 2abb 0003 5903 b700 04b7 0005
0000010: b0
at net.mytestorg.test.MicroServiceConfigurationTest.testConfiguration(MicroServiceConfigurationTest.java:34)
Appears to be a class incompatibility with jfconfig build dependencies.
i.e. Rebuilding jfconfig using the 1.3.0 dropwizard BOM instead of 1.1.4 produces an artifact that doesn't cause this issue.
The text was updated successfully, but these errors were encountered:
Using
jfconfg 4.1.12
with a Dropwizard 1.3.0+ application causes a JVM error when theJFConfig
class is loaded :Appears to be a class incompatibility with jfconfig build dependencies.
i.e. Rebuilding jfconfig using the 1.3.0 dropwizard BOM instead of 1.1.4 produces an artifact that doesn't cause this issue.
The text was updated successfully, but these errors were encountered: