PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

NullPointerException with OrclAuthPluginAuthenticate when running ElasticSearch query

edited Jul 26, 2020 1:14PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 2 commentsAnswered ✓

Fellow MOS Community members,

I ran into a problem running "get all" query in ElasticSearch. It gives me a null pointer in vanilla CS PUM 17:

curl -u PS:PS -XGET "http://mypum.oraclevcn.com:9200/psd_course_catalog/_search" -H 'Content-Type: application/json' -d'

{

  "query": {

    "match_all": {}

  }

}'

ES shows the following stack trace:

java.lang.NullPointerException: null

        at com.peoplesoft.pt.elasticsearch.security.orclauthentication.rest.OrclAuthPluginAuthenticate.authenticate(OrclAuthPluginAuthenticate.java:118) ~[orcl-security-plugin-7.0.0.jar:?]

        at com.peoplesoft.pt.elasticsearch.security.orclauthentication.rest.OrclAuthPluginRestFilter.handleRequest(OrclAuthPluginRestFilter.java:109) [orcl-security-plugin-7.0.0.jar:?]

        at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:240) [elasticsearch-7.0.0.jar:7.0.0]

        at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:337) [elasticsearch-7.0.0.jar:7.0.0]

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center