[Building Sakai] Entity Broker Question

mizematr at notes.udayton.edu mizematr at notes.udayton.edu
Thu Apr 14 11:30:51 PDT 2011


I'm getting an Exception when attempting to use the fireEntityRequest 
command from EntityBroker:

caused by: java.lang.IllegalArgumentException: host parameter is null
    at 
org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:206)
    at 
org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:155)
    at 
org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnectionWithTimeout(SimpleHttpConnectionManager.java:175)
    at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
    at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at 
org.sakaiproject.entitybroker.util.http.HttpRESTUtils.fireRequest(HttpRESTUtils.java:243)
    at 
org.sakaiproject.entitybroker.util.http.HttpRESTUtils.fireRequest(HttpRESTUtils.java:115)
    at 
org.sakaiproject.entitybroker.rest.EntityHandlerImpl.fireEntityRequestInternal(EntityHandlerImpl.java:810)
    at 
org.sakaiproject.entitybroker.rest.EntityRESTProviderBase.handleEntityRequest(EntityRESTProviderBase.java:139)
    at 
org.sakaiproject.entitybroker.impl.EntityBrokerImpl.fireEntityRequest(EntityBrokerImpl.java:203)

I'm invoking the call thus:
   Map<String, String> parms = new HashMap<String, String>();
   parms.put("parm1", "awesome_test");
   fireEntityRequest("/pvt_msg", EntityView.VIEW_NEW, null, parms, null);

I do have a working EntityProvider tied to the pvt_msg reference, as I am 
able to successfully invoke the call 
entityBroker.entityExists("/pvt_msg/1") elsewhere.  I'm quite stuck at 
this point and was wondering if someone could give me some ideas to try.

Thanks in advance,
---------------------------------------------------------------------------
Matt Mize, Systems Administrator
 - Pay no attention to the man in the back office....
Matt.Mize at notes.udayton.edu
(937) 229-1024

UDit Department, University of Dayton
300 College Park, Dayton, OH, 45469-1302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110414/a5a593a0/attachment.html 


More information about the sakai-dev mailing list