[ 
https://issues.apache.org/jira/browse/ACE-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Pauls resolved ACE-149.
----------------------------

    Resolution: Fixed

Changed the way we handle identity across the board. We now do it based on the 
definintion of an repository object and not on the url of the local file 
anymore. This should fix this issue in trunk.

Please close if it works for you.

> Upload of two bundles with same bsn & version, but different jar name, breaks 
> artifact column
> ---------------------------------------------------------------------------------------------
>
>                 Key: ACE-149
>                 URL: https://issues.apache.org/jira/browse/ACE-149
>             Project: Ace
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 0.8.0
>            Reporter: Angelo van der Sijpt
>            Assignee: Karl Pauls
>
> Scenario:
> - upload a bundle,
> - click 'store',
> - upload the same bundle, but with a different jar name,
> - click 'store', click 'retrieve'
> This 'breaks' the artifact column in such a way that no new bundles can be 
> added anymore.
> com.vaadin.event.ListenerMethod$MethodException
> Cause: java.lang.NullPointerException
>       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.Button.fireClick(Button.java:380)
>       at com.vaadin.ui.Button.changeVariables(Button.java:196)
>       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:212)
>       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.NullPointerException
>       at 
> org.apache.ace.webui.vaadin.VaadinClient$12.add(VaadinClient.java:587)
>       at 
> org.apache.ace.webui.vaadin.VaadinClient$12.populate(VaadinClient.java:560)
>       at 
> org.apache.ace.webui.vaadin.VaadinClient.updateTableData(VaadinClient.java:1047)
>       at 
> org.apache.ace.webui.vaadin.VaadinClient.access$1500(VaadinClient.java:128)
>       at 
> org.apache.ace.webui.vaadin.VaadinClient$9.buttonClick(VaadinClient.java:499)
>       at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>       at java.lang.reflect.Method.invoke(Unknown Source)
>       at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
>       ... 26 more

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

        

Reply via email to