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

Wilfried Sibla commented on ACE-440:
------------------------------------

Thx a lot, Marcel, for your fast reply.
Could verify all. Was my fault. Changed something in my ArtifactHelper and it 
wasn't correctly started.
Now all is fine....

willy close the issue

> 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)

Reply via email to