Discussion:
[Openjmx-devel] [BUG] NullPointerException in RelationCommandProcessor
Jérôme BERNARD
2002-01-17 14:13:21 UTC
Permalink
When I start the HttpAdaptor example and click on the "Relations" tab
(http://localhost:8081/relation?instanceof=javax.management.relation.Relation&template=relation),
I have a NullPointerException thrown.

Here is the stack trace dumped on the console:
Exception during http request
java.lang.NullPointerException
at
openjmx.adaptor.http.RelationCommandProcessor.executeRequest(RelationCommandProcessor.java:53)
at
openjmx.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:585)

In RelationCommandProcessor.java at line 53 there is a call on the
proxy, so I guess this is the proxy that is null.
The few lines above initialize the proxy if the call to
checkRelationServiceIsRegistered returns true. So I suppose there is
something missing if the relation service is not registered.



Jerome.
jacobsrimell
2002-01-18 16:47:03 UTC
Permalink
Oops sorry direct reply meant to send to list :-)
-----Original Message-----
Sent: 18 January 2002 18:46
To: Jerome BERNARD
Subject: RE: [Openjmx-devel] [BUG] NullPointerException in
RelationCommandProcessor
Thanx :-)
Sorry i got this late - quick fix done for now, should not throw
any nore null pointers :-)
Bronwen
-----Original Message-----
BERNARD
Sent: 17 January 2002 16:12
Subject: [Openjmx-devel] [BUG] NullPointerException in
RelationCommandProcessor
When I start the HttpAdaptor example and click on the "Relations" tab
(http://localhost:8081/relation?instanceof=javax.management.relati
on.Relation&template=relation),
I have a NullPointerException thrown.
Exception during http request
java.lang.NullPointerException
at
openjmx.adaptor.http.RelationCommandProcessor.executeRequest(Relat
ionCommandProcessor.java:53)
at
openjmx.adaptor.http.HttpAdaptor$HttpClient.run(HttpAdaptor.java:585)
In RelationCommandProcessor.java at line 53 there is a call on the
proxy, so I guess this is the proxy that is null.
The few lines above initialize the proxy if the call to
checkRelationServiceIsRegistered returns true. So I suppose there is
something missing if the relation service is not registered.
Jerome.
_______________________________________________
Openjmx-devel mailing list
https://lists.sourceforge.net/lists/listinfo/openjmx-devel
Loading...