InvalidDefinitionException with ProGuard

Hi Amira,

Does your project work when you disable the obfuscation step of ProGuard using -dontobfuscate?

Since Spark is written in Scala, can you try keeping the Scala attributes as my colleague James explained in a different topic, here.

-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod,MethodParameters,ConstantValue,Module,ModulePackages,LocalVariableTable,LocalVariableTypeTable,Scala*

If that didn’t work either, can you please provide us with a sample that recreates the issue?

Kind regards,

Jonas