You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Lou DeGenaro (JIRA)" <de...@uima.apache.org> on 2013/07/10 18:25:49 UTC

[jira] [Commented] (UIMA-3065) DUCC webserver (WS) shows blank for new Service

    [ https://issues.apache.org/jira/browse/UIMA-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704713#comment-13704713 ] 

Lou DeGenaro commented on UIMA-3065:
------------------------------------

	private void handleDuccServletServiceSummaryData(String target,Request baseRequest,HttpServletRequest request,HttpServletResponse response) 
	throws IOException, ServletException
	{
		String methodName = "handleDuccServletServiceSummaryData";
		duccLogger.trace(methodName, null, messages.fetch("enter"));
		StringBuffer sb = new StringBuffer();
		
		sb.append("<table>");
		sb.append("<tr>");
		
		String name = request.getParameter("name");
		ServicesRegistry servicesRegistry = new ServicesRegistry();
		ServicesRegistryMapPayload payload = servicesRegistry.findService(name);
		Properties properties;
1907	----->	properties = payload.meta;
		// serviceid
		sb.append("<th title=\"The system assigned id for this service\">");
		sb.append("Id: ");
		sb.append(properties.getProperty(IServicesRegistry.numeric_id, "?"));
		sb.append("&nbsp");
                
> DUCC webserver (WS) shows blank for new Service
> -----------------------------------------------
>
>                 Key: UIMA-3065
>                 URL: https://issues.apache.org/jira/browse/UIMA-3065
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Lou DeGenaro
>            Assignee: Lou DeGenaro
>            Priority: Minor
>
> 10 Jul 2013 09:58:07,612  INFO WS.DuccHandler - handle     N/A  <null> java.lang.NullPointerException
> At:
>         org.apache.uima.ducc.ws.server.DuccHandler.handleDuccServletServiceSummaryData(DuccHandler.java:1907)
>         org.apache.uima.ducc.ws.server.DuccHandler.handleDuccRequest(DuccHandler.java:3470)
>         org.apache.uima.ducc.ws.server.DuccHandler.handle(DuccHandler.java:3620)
>         org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
>         org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
>         org.eclipse.jetty.server.Server.handle(Server.java:346)
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira