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

GitHub | simonredfern | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Check Kafka not invoked if Connector is not Kafka

    GitHub | 1 year ago | simonredfern
    java.lang.NullPointerException: An Empty Box was opened. The justification for allowing the openOrThrowException was no kafka.request_topic set
  2. 0

    GitHub comment 79#236343057

    GitHub | 9 months ago | djKooks
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. 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()
    2. Lift Common
      EmptyBox.openOrThrowException
      1. net.liftweb.common.EmptyBox.openOrThrowException(Box.scala:697)
      2. net.liftweb.common.EmptyBox.openOrThrowException(Box.scala:665)
      2 frames
    3. code.bankconnectors
      KafkaProducer$.$lessinit$greater$default$1
      1. code.bankconnectors.KafkaProducer$.$lessinit$greater$default$1(KafkaHelper.scala:132)
      1 frame
    4. code.model.dataAccess
      OBPUser$.getUserId
      1. code.model.dataAccess.OBPUser$.getUserViaKafka(OBPUser.scala:260)
      2. code.model.dataAccess.OBPUser$.getExternalUser(OBPUser.scala:313)
      3. code.model.dataAccess.OBPUser$.getUserId(OBPUser.scala:305)
      3 frames
    5. code.api
      DirectLogin$$anonfun$1.applyOrElse
      1. code.api.DirectLogin$.code$api$DirectLogin$$saveAuthorizationToken(directlogin.scala:261)
      2. code.api.DirectLogin$$anonfun$1.applyOrElse(directlogin.scala:103)
      3. code.api.DirectLogin$$anonfun$1.applyOrElse(directlogin.scala:90)
      3 frames
    6. Scala
      AbstractPartialFunction.apply
      1. scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)
      1 frame
    7. code.api
      DirectLogin$$anon$1.apply
      1. code.api.DirectLogin$$anon$1.apply(directlogin.scala:81)
      2. code.api.DirectLogin$$anon$1.apply(directlogin.scala:79)
      2 frames
    8. Lift WebKit
      RestHelper$class.apply
      1. net.liftweb.http.rest.RestHelper$class.apply(RestHelper.scala:522)
      1 frame
    9. code.api
      DirectLogin$.apply
      1. code.api.DirectLogin$.apply(directlogin.scala:74)
      2. code.api.DirectLogin$.apply(directlogin.scala:74)
      2 frames