Uploaded image for project: 'ACE'
  1. ACE
  2. ACE-440

Login not possible if a resource processor is missed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.0.0
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            wilsib Wilfried Sibla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: