ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-440) Login not possible if a resource processor is missed
Date Wed, 04 Dec 2013 07:51:35 GMT

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

Marcel Offermans commented on ACE-440:
--------------------------------------

The error message you are getting is not about the RP itself being there or not, but the ArtifactHelper.
That is a service that should be present and (for example using the shell) you can probably
verify if this service is indeed available or not. You have written a bundle for it (as it's
a custom type that's not part of the standard ACE distribution).

> Login not possible if a resource processor is missed
> ----------------------------------------------------
>
>                 Key: ACE-440
>                 URL: https://issues.apache.org/jira/browse/ACE-440
>             Project: ACE
>          Issue Type: Bug
>          Components: Client Repository, Repository
>    Affects Versions: 1.0.0
>            Reporter: Wilfried Sibla
>
> If there is a resource in the repo but no corresponding resource processor login in not
possible. Neither in the UI nor by using the client API.
> Unfortunately I don't know how the resource processor disapeared. I assume that adding
a resource without having a certain RP could normally not be committed.
> Thus so problem could not be fixed by adding the ressource processor (again). Possibly
I have to delete and rebuild the shop repo again.
> Output from the GoGo-Shell after trying to login (Client API)
> gogo: ConversionException: java.lang.IllegalArgumentException: There are no ArtifactHelpers
known for type 'application/vnd.apache.ace.cfgfilesjar'.
> ---- Debugging information ----
> message             : java.lang.IllegalArgumentException: There are no ArtifactHelpers
known for type 'application/vnd.apache.ace.cfgfilesjar'.
> cause-exception     : java.lang.IllegalArgumentException
> cause-message       : java.lang.IllegalArgumentException: There are no ArtifactHelpers
known for type 'application/vnd.apache.ace.cfgfilesjar'.
> class               : org.apache.ace.client.repository.impl.RepositorySerializer
> required-type       : org.apache.ace.client.repository.impl.RepositorySerializer
> path                : /repository/artifacts/artifact[94]
> line number         : 1410
> Stacktrace excerpt form UI login attempt:
> [Warn ] [   ] Login failed! Destroying session...
> com.thoughtworks.xstream.converters.ConversionException: java.lang.IllegalArgumentException:
There are no ArtifactHelpers known for type 'application/vnd.apache.ace.cfgfilesjar'.
> ---- Debugging information ----
> message             : java.lang.IllegalArgumentException: There are no ArtifactHelpers
known for type 'application/vnd.apache.ace.cfgfilesjar'.
> cause-exception     : java.lang.IllegalArgumentException
> cause-message       : java.lang.IllegalArgumentException: There are no ArtifactHelpers
known for type 'application/vnd.apache.ace.cfgfilesjar'.
> class               : org.apache.ace.client.repository.impl.RepositorySerializer
> required-type       : org.apache.ace.client.repository.impl.RepositorySerializer
> path                : /repository/artifacts/artifact[94]
> line number         : 1410
> -------------------------------
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
>         at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
>         at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833)
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:816)
>         at org.apache.ace.client.repository.impl.RepositorySerializer.fromXML(RepositorySerializer.java:114)
>         at org.apache.ace.client.repository.impl.RepositorySet.read(RepositorySet.java:198)
>         at org.apache.ace.client.repository.impl.RepositorySet.checkout(RepositorySet.java:234)
>         at org.apache.ace.client.repository.impl.RepositoryAdminImpl.checkout(RepositoryAdminImpl.java:283)
>         at org.apache.ace.webui.vaadin.VaadinClient.login(VaadinClient.java:1043)
>         at org.apache.ace.webui.vaadin.VaadinClient.login(VaadinClient.java:542)
>         at org.apache.ace.webui.vaadin.LoginWindow$1.buttonClick(LoginWindow.java:81)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message