Menu

#154 MessageReader$BoundedInputStream.available() throws NPE

WBEM_Services_1.0
open
nobody
3
2005-01-14
2004-10-20
No

Submitting a request using the M-POST HTTP method to
the CIMOM triggers a NullPointerException in
javax.wbem.client.adapter.http.transport.MessageReader
$BoundedInputStream.available().

Stack Trace:

java.lang.NullPointerException
at
javax.wbem.client.adapter.http.transport.MessageReader
$BoundedInputStream.available(MessageReader.java:203)
at
javax.wbem.client.adapter.http.transport.MessageReader
.availableContent(MessageReader.java:118)
at
javax.wbem.client.adapter.http.transport.MessageReader
.readTrailer(MessageReader.java:132)
at
javax.wbem.client.adapter.http.transport.HttpServerConn
ection$Dispatcher.handleBadRequest
(HttpServerConnection.java:158)
at
javax.wbem.client.adapter.http.transport.HttpServerConn
ection$Dispatcher.run(HttpServerConnection.java:134)
at
javax.wbem.client.adapter.http.transport.ThreadPool$Wo
rker.run(ThreadPool.java:123)
at java.lang.Thread.run(Thread.java:534)

Discussion

  • Jim Davis

    Jim Davis - 2005-01-14

    Logged In: YES
    user_id=149117

    M-Post is no required as of 1.2. so this needs to send back
    the proper HTTP response and should not get to the XML code.
    (I have raised the priority and set tot the proper cat)

     
  • Jim Davis

    Jim Davis - 2005-01-14
    • labels: 348297 --> CIM-XML Protocol Adapter
    • priority: 5 --> 3
    • assigned_to: jim_davis --> nobody
     

Log in to post a comment.