Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1311

Android: Fix/update soasta make app touch testable to work with java 9/10

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Story Points:
      5
    • Sprint:
      2018 Sprint 07 Tooling

      Description

      This appears to be an issue with java 9/10. Works with java 8.

      Steps to reproduce:

      1. Try to create a titanium app from CLI/studio.
      2. When asked to enable test services enter yes.
      3. Enter password when prompted.

      Actual result:

      1. The test enablement fails:

      2018-03-30T17:42:38.979Z | ERROR  | Failure to enable Test service: Error: Command failed: java -jar "/Users/**user**/Library/Application/plugins/com.appcelerator.test/versions/8244.293.5/MakeAppTouchTestable/MakeAppTouchTestable.jar" -project "/Users/**user**/Desktop/tester" -url https://appctest-2.appcelerator.com/concerto -username **username**/100000675 -password "********" -appobjectname "tester_3986d055-be02-4855-9222-6ac4e1b91ffa" -overwriteapp
       
      2018-03-30T17:42:38.980Z | ERROR  | 
      2018-03-30T17:42:38.980Z | DEBUG  | 
      Unexpected error, cannot proceed. javax/activation/DataSource
       
      java.lang.NoClassDefFoundError: javax/activation/DataSource
      	at org.codehaus.xfire.aegis.type.basic.Base64Type.<clinit>(Base64Type.java:27)
      	at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:392)
      	at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:304)
      	at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:130)
      	at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:118)
      	at org.codehaus.xfire.aegis.AegisBindingProvider.<init>(AegisBindingProvider.java:64)
      	at org.codehaus.xfire.annotations.AnnotationServiceFactory.<init>(AnnotationServiceFactory.java:66)
      	at org.codehaus.xfire.annotations.AnnotationServiceFactory.<init>(AnnotationServiceFactory.java:55)
      	at com.soasta.common.xfire.ClientFactory.b(ClientFactory.java:99)
      	at com.soasta.common.xfire.ClientFactory.a(ClientFactory.java:65)
      	at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.access$100(RepositoryServiceClientFactory.java:21)
      	at com.soasta.common.repository.webservice.RepositoryServiceClientFactory$SingletonHolder.<clinit>(RepositoryServiceClientFactory.java:30)
      	at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:58)
      	at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:53)
      	at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:41)
      	at com.soasta.a.a.d.a(d.java:606)
      	at com.soasta.a.a.d.a(d.java:523)
      	at com.soasta.a.a.d.c(d.java:1357)
      	at com.soasta.a.a.d.a(d.java:1008)
      	at com.soasta.a.a.d.b(d.java:266)
      	at com.soasta.a.a.e.a(e.java:71)
      	at com.soasta.makeapptouchtestable.Main.main(Main.java:26)
      Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
      	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
      	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
      	... 22 more
      
      

      Expected result:

      1. Test service should be successfully enabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                lchoudhary Lokesh Choudhary
                Reviewer:
                Feon Sua Xin Miao
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code