java.lang.NullPointerException: An Empty Box was opened. The justification for allowing the openOrThrowException was no kafka.request_topic set

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by simonredfern
, 1 year ago
An Empty Box was opened. The justification for allowing the openOrThrowException was no kafka.request_topic set
via Google Groups by Omar Otoniel Soto, 1 year ago
An Empty Box was opened. The justification for allowing the openOrThrowException was Legacy method implementation
via GitHub by djKooks
, 1 year ago
An Empty Box was opened. The justification for allowing the openOrThrowException was OBP-00001: Hostname not specified. Could not get hostname from Props. Please edit your props file. Here are some example settings: hostname=http://127.0.0.1:8080 or hostname=https://www.example.com
java.lang.NullPointerException: An Empty Box was opened. The justification for allowing the openOrThrowException was no kafka.request_topic set
at net.liftweb.common.EmptyBox.openOrThrowException(Box.scala:697)
at code.bankconnectors.KafkaProducer$.$lessinit$greater$default$1(KafkaHelper.scala:132)
at code.model.dataAccess.OBPUser$.getUserViaKafka(OBPUser.scala:260)
at code.model.dataAccess.OBPUser$.getExternalUser(OBPUser.scala:313)
at code.model.dataAccess.OBPUser$.getUserId(OBPUser.scala:305)
at code.api.DirectLogin$.code$api$DirectLogin$$saveAuthorizationToken(directlogin.scala:261)
at code.api.DirectLogin$$anonfun$1.applyOrElse(directlogin.scala:103)
at code.api.DirectLogin$$anonfun$1.applyOrElse(directlogin.scala:90)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
at code.api.DirectLogin$$anon$1.apply(directlogin.scala:81)
at code.api.DirectLogin$$anon$1.apply(directlogin.scala:79)
at code.api.DirectLogin$.apply(directlogin.scala:74)
at code.api.DirectLogin$.apply(directlogin.scala:74)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.