ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-141) Deploy fails on a target
Date Tue, 07 Jun 2011 14:21:58 GMT

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

Karl Pauls commented on ACE-141:
--------------------------------

>From the stacktrace, it looks like what you actually did do was to click on the target.
Subsequently, the edit window as triggered which called to an extension that did throw an
exception because the gatewayobject wasn't there yet. 

I think that it makes sense to just catch the exceptions from ui extensions (as we never know
what they do) rather than trying to have the extension handle this case.

> Deploy fails on a target
> ------------------------
>
>                 Key: ACE-141
>                 URL: https://issues.apache.org/jira/browse/ACE-141
>             Project: Ace
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Karl Pauls
>             Fix For: 1.0.0
>
>
> After defining a bundle (in artifacts), a feature and a distribution, I launched a ACE
"agent" using ace-launcher (java -jar ).
> The target appears in Web UI but when I try to deploy the distribution to the target,
I have:
> Apr 27, 2011 3:04:34 PM com.vaadin.Application terminalError
> SEVERE: Terminal error:
> com.vaadin.event.ListenerMethod$MethodException
> Cause: java.lang.IllegalStateException: This StatefulGatewayObject is not backed by a
GatewayObject.
>         at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
>         at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:162)
>         at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1166)
>         at com.vaadin.ui.Table.handleClickEvent(Table.java:2183)
>         at com.vaadin.ui.Table.changeVariables(Table.java:1998)
>         at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1297)
>         at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1217)
>         at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:733)
>         at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)
>         at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:483)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
>         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
>         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>         at org.mortbay.jetty.Server.handle(Server.java:326)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>         at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
> Caused by: java.lang.IllegalStateException: This StatefulGatewayObject is not backed
by a GatewayObject.
>         at org.apache.ace.client.repository.stateful.impl.StatefulGatewayObjectImpl.ensureGatewayPresent(StatefulGatewayObjectImpl.java:409)
>         at org.apache.ace.client.repository.stateful.impl.StatefulGatewayObjectImpl.getTagKeys(StatefulGatewayObjectImpl.java:511)
>         at org.apache.ace.tageditor.ACETagEditorExtension.create(ACETagEditorExtension.java:50)
>         at org.apache.ace.webui.vaadin.EditWindow.<init>(EditWindow.java:57)
>         at org.apache.ace.webui.vaadin.VaadinClient$ObjectPanel.showEditWindow(VaadinClient.java:1117)
>         at org.apache.ace.webui.vaadin.VaadinClient$ObjectPanel.access$2800(VaadinClient.java:1062)
>         at org.apache.ace.webui.vaadin.VaadinClient$ObjectPanel$1.itemClick(VaadinClient.java:1089)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
>         ... 26 more
> Apr 27, 2011 3:06:25 PM com.vaadin.Application terminalError
> SEVERE: Terminal error:

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message