It's all about the answers!

Ask a question

What could be causing a 400 bad request on item retrieval in DNG?


Mara Puisite (111) | asked Apr 30 '18, 9:21 p.m.

 DNG version: 6.0.5


When we create an item in DNG via our API integration, when we try to retrieve the same item, we get a 400 bad request without much more detail. 
Some more pieces that we tracked down from our logs were around a lot of warnings about an invalid cookie with the expiry being in 1994 for the LtpaToken2 cookie (unsure if those are related).
We also took a look at the DNG logs that GM sent us and saw "<unauthenticated>" as a part of it, so it seems that maybe this is related to the LtpaToken2.

Also, these entries seemed to be connected: 
java.lang.NullPointerException
at com.hp.hpl.jena.rdf.model.impl <wbr> .ModelCom.add(ModelCom.java: <wbr> 1089)
at com.hp.hpl.jena.rdf.model.impl <wbr> .ResourceImpl.addProperty(Reso <wbr> urceImpl.java:280)

Any ideas/pointers as to what to look at to figure this out?


Comments
Donald Nong commented Apr 30 '18, 10:05 p.m.

The LtpaToken2 expiry warnings are definitely unrelated. The NullPointerException appears to be caused by some corruption in the DNG index, but whether it is related is a different story. I expect a bit more information returned in the HTTP response body or the rm.log file for the HTTP 400 error.


Mara Puisite commented May 01 '18, 11:53 a.m.

I attached what we found in the DNG logs in more length, as far as the API response, we are not getting much.  


Mara Puisite commented May 01 '18, 11:57 a.m.

 2018-04-26 17:10:25,712 [Default Executor-thread-24934 @@ 17:10 <unauthenticated> <Apache-HttpClient/4.5.3 (Java/1.8.0_152)@10.127.157.80> /rm/resources/_1sGcUUjFEeicSvyzNxjX_g] ERROR server.services.calm.internal.OSLC20ContentHandler  - TRACER (10) >>>

=STEP= CALL: OSLC20ContentHandler::handleProcessProperties
=STEP= CALL: OSLC20ContentHandler::handleProcessProperties


Mara Puisite commented May 01 '18, 11:58 a.m.

 2018-04-26 16:59:42,992 [Default Executor-thread-2524 @@ 16:59 <unauthenticated> <Apache-HttpClient/4.5.3 (Java/1.8.0_152)@10.127.157.80> /rm/resources/_1gXtcUjFEeicSvyzNxjX_g] ERROR ibm.rdm.fronting.server.services.RMRestServiceBase  - CRRRS1007E  A problem occurred in the Requirements Management (RM) server: Entry [826528af870faa90]

java.lang.NullPointerException
at com.hp.hpl.jena.rdf.model.impl.ModelCom.add(ModelCom.java:1089)
at com.hp.hpl.jena.rdf.model.impl.ResourceImpl.addProperty(ResourceImpl.java:280)
at com.ibm.rdm.fronting.server.services.calm.internal.OSLC20ContentHandler.processAttributes(OSLC20ContentHandler.java:1560)
at com.ibm.rdm.fronting.server.services.calm.internal.OSLC20ContentHandler.addProperties(OSLC20ContentHandler.java:1437)
at 


Mara Puisite commented May 01 '18, 11:58 a.m.

 space is limited and i dont see where to add an attachment file.. 


Donald Nong commented May 01 '18, 8:57 p.m.

This forum is not meant for troubleshooting issues like this. If log files needs to be examined, you should contact IBM Support and upload the log files to the ticket.

showing 5 of 6 show 1 more comments

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.