WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

[Building Sakai] Entity Broker Question

View: New views
1 Messages — Rating Filter:   Alert me  

[Building Sakai] Entity Broker Question

by mizematr :: Rate this Message:

Reply (Restricted by the Administrator) | View Threaded | Show Only this Message

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@...
(937) 229-1024

UDit Department, University of Dayton
300 College Park, Dayton, OH, 45469-1302

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"