brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetoslav Neykov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-462) Invalid icon for "server" entity
Date Tue, 11 Apr 2017 13:54:42 GMT

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

Svetoslav Neykov commented on BROOKLYN-462:
-------------------------------------------

Corresponding HTML:
{noformat}
<div style="min-width: 46px; min-height: 24px; max-height: 40px; display: inline-block;
margin-right: 4px; vertical-align: middle;">
        <div style="position: absolute; left: 0px; margin: auto; top: 2px; bottom: 0px;">
            <img src="./assets/img/icon-status-running.png" style="max-width: 16px; max-height:
16px; margin: auto; position: absolute; top: -1px; bottom: 0px;">
        </div>
            <img src="/v1/applications/o7omc1vvto/entities/u2k72k4ats/icon" style="max-width:
30px; max-height: 30px; position: absolute; padding-left: 5px; left: 16px; top: 0; bottom:
0; margin: auto;">
      </div>
{noformat}

Request for {{/v1/applications/o7omc1vvto/entities/u2k72k4ats/icon}} returns status code 500
with a response body:
{noformat}
{"message":"Error getting resource 'classpath://brooklyn/icons/server.svg' for AggregateClassLoader[AggregateClassLoader[org.apache.brooklyn.core
[120], AggregateClassLoader[], AggregateClassLoader[]]]: IOException: Error accessing classpath://brooklyn/icons/server.svg:
java.io.IOException: brooklyn/icons/server.svg not found on classpath","details":"org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
Error getting resource 'classpath://brooklyn/icons/server.svg' for AggregateClassLoader[AggregateClassLoader[org.apache.brooklyn.core
[120], AggregateClassLoader[], AggregateClassLoader[]]]: IOException: Error accessing classpath://brooklyn/icons/server.svg:
java.io.IOException: brooklyn/icons/server.svg not found on classpath\n\tat org.apache.brooklyn.util.exceptions.Exceptions.collapse(Exceptions.java:351)\n\tat
org.apache.brooklyn.util.exceptions.Exceptions.collapse(Exceptions.java:265)\n\tat org.apache.brooklyn.util.exceptions.Exceptions.collapse(Exceptions.java:252)\n\tat
org.apache.brooklyn.rest.util.DefaultExceptionMapper.toResponse(DefaultExceptionMapper.java:117)\n\tat
org.apache.cxf.jaxrs.utils.ExceptionUtils.convertFaultToResponse(ExceptionUtils.java:86)\n\tat
org.apache.cxf.jaxrs.utils.JAXRSUtils.convertFaultToResponse(JAXRSUtils.java:1635)\n\tat org.apache.cxf.jaxrs.JAXRSInvoker.handleFault(JAXRSInvoker.java:331)\n\tat
org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:203)\n\tat org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)\n\tat
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)\n\tat
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)\n\tat
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)\n\tat
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)\n\tat
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262)\n\tat
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)\n\tat
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)\n\tat
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)\n\tat
org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)\n\tat
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)\n\tat
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:223)\n\tat
javax.servlet.http.HttpServlet.service(HttpServlet.java:687)\n\tat org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)\n\tat
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)\n\tat
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)\n\tat
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)\n\tat
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)\n\tat
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)\n\tat
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat
org.ops4j.pax.web.service.jetty.internal.JettyServerHandl
{noformat}

> Invalid icon for "server" entity
> --------------------------------
>
>                 Key: BROOKLYN-462
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-462
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Svetoslav Neykov
>         Attachments: brooklyn462-classic-with-icon.png, Screen Shot 2017-04-11 at 16.42.32.png
>
>
> Deploying the following bluepritn:
> {noformat}
> services:
> - type: server
> {noformat}
> results in broken icon in the left pane.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message