java.lang.SecurityException: Configuration Error: Line 6: expected [controlFlag]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.SecurityException: Configuration Error: Line 6: expected [controlFlag] at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:110) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at javax.security.auth.login.Configuration$2.run(Configuration.java:258) at javax.security.auth.login.Configuration$2.run(Configuration.java:250) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.Configuration.getConfiguration(Configuration.java:249) at org.apache.kafka.common.security.kerberos.Login.login(Login.java:291) at org.apache.kafka.common.security.kerberos.Login.<init>(Login.java:104) at kafka.common.security.LoginManager$.init(LoginManager.scala:36) at kafka.producer.Producer.<init>(Producer.scala:50) at kafka.producer.Producer.<init>(Producer.scala:73) at kafka.javaapi.producer.Producer.<init>(Producer.scala:26) at com.ct.test.kafka.TestProducer.main(TestProducer.java:51) Caused by: java.io.IOException: Configuration Error: Line 6: expected [controlFlag] at com.sun.security.auth.login.ConfigFile.match(ConfigFile.java:563) at com.sun.security.auth.login.ConfigFile.parseLoginEntry(ConfigFile.java:413) at com.sun.security.auth.login.ConfigFile.readConfig(ConfigFile.java:383) at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:283) at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:219) at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:108)

Users with the same issue

Unknown visitor1 times, last one,
Unknown visitor1 times, last one,