Results 1 to 2 of 2

Thread: Creating App Using Sencha Architect and Cmd Issues with theme generation

  1. #1
    Sencha MVP Team Member
    Join Date
    Sep 2016
    Location
    Kennewick, WA
    Posts
    150

    Default Creating App Using Sencha Architect and Cmd Issues with theme generation

    Cmd version 6.6.013
    Architect version 4.2.4.389

    When saving all in Architect

    Code:
    [WRN] the following remote package repository directories did not initialize properly :
    [WRN] - /Users/aallord/bin/Sencha/Architect/Cmd/repo/.sencha
    [WRN] - /Users/aallord/bin/Sencha/Architect/Cmd/repo/pkgs
    Exception in thread "Thread-23" com.sencha.exceptions.BasicException: com.sencha.exceptions.BasicException: javax/xml/bind/DatatypeConverter
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:55)
    at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:42)
    at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:65)
    at com.sencha.util.ThreadUtil$2.run(ThreadUtil.java:162)
    at java.base/java.lang.Thread.run(Thread.java:844)
    Caused by: com.sencha.exceptions.BasicException: javax/xml/bind/DatatypeConverter
    at com.sencha.exceptions.BasicException.wrap(BasicException.java:54)
    at com.sencha.exceptions.BasicException.stealthify(BasicException.java:43)
    at com.sencha.exceptions.BasicException.raise(BasicException.java:35)
    at com.sencha.cli.Command.dispatch(Command.java:62)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:289)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.cli.Commands.dispatch(Commands.java:64)
    at com.sencha.command.Sencha.dispatch(Sencha.java:80)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
    at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:52)
    ... 4 more
    Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
    at com.sencha.util.StringUtil.toBase64(StringUtil.java:207)
    at com.sencha.tools.generator.DataStoreImpl.get(DataStoreImpl.java:103)
    at com.sencha.tools.generator.Generator$2.doMerge(Generator.java:553)
    
    at com.sencha.tools.generator.Generator$Mode$3.dispatch(Generator.java:335)
    at com.sencha.tools.generator.Generator.generateFileToFile(Generator.java:538)
    at com.sencha.tools.generator.Generator.generateFileToDir(Generator.java:527)
    at com.sencha.tools.generator.Generator.generateDirToDir(Generator.java:518)
    at com.sencha.tools.generator.Generator.generateDirToDir(Generator.java:512)
    at com.sencha.tools.generator.Generator.generate(Generator.java:179)
    at com.sencha.tools.pkg.LocalRepository.init(LocalRepository.java:129)
    at com.sencha.tools.pkg.LocalRepository.init(LocalRepository.java:183)
    at com.sencha.command.environment.WorkspaceRepository.getLocalRepository(WorkspaceRepository.java:262)
    at com.sencha.command.environment.WorkspaceRepository.getLocalRepository(WorkspaceRepository.java:277)
    at com.sencha.command.environment.WorkspaceRepository.getCatalog(WorkspaceRepository.java:240)
    at com.sencha.command.environment.PackageDependency.getRequires(PackageDependency.java:246)
    at com.sencha.command.environment.PackageDependencies.load(PackageDependencies.java:38)
    at com.sencha.command.environment.PackageDependencies.(PackageDependencies.java:33)
    at com.sencha.command.environment.AppOrPackageEnvironment.getPackageDependencies(AppOrPackageEnvironment.java:621)
    at com.sencha.command.environment.AppOrPackageEnvironment.getPackageDependency(AppOrPackageEnvironment.java:629)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:185)
    at com.sencha.command.environment.AppOrPackageEnvironment.getRequiredPackages(AppOrPackageEnvironment.java:143)
    at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:728)
    at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:125)
    at com.sencha.command.generator.GeneratorCommands$ThemeCommand.execute(GeneratorCommands.java:1249)
    
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
    at com.sencha.cli.Command.dispatch(Command.java:43)
    ... 10 more
    Running sencha app refresh from the command line
    Code:
    Andrews-iMac:tryanything aallord$ sencha app refresh
    Sencha Cmd v6.6.0.13
    [INF] Processing Build Descriptor : default
    [ERR] Cannot satisfy requirements for "theme-triton-cb5ca6bb-0f84-4a85-9e60-6bcc38b5c5f6"!
    [ERR]    The following versions cannot be satisfied:
    [ERR]       MyApp: theme-triton-cb5ca6bb-0f84-4a85-9e60-6bcc38b5c5f6 (No matches!)
    [ERR] Cannot resolve package requirements
    Andrews-iMac:tryanything aallord$
    I both Java 10 and Java 8 installed with version 1.8 loading automatically on any terminal window. I made this change due to Sencha Cmd not supporting Java 10 and then causing much more havoc in trying to create a project.

    The project was created using Architect and the default theme for Modern applied. I'm not understanding how doing things this way would cause theme generation to fail... Any insight would be greatly appreciated.

  2. #2
    Sencha Premium Member poloyc's Avatar
    Join Date
    Jul 2010
    Location
    Torreon
    Posts
    8

    Default

    Same problem!

Similar Threads

  1. Replies: 5
    Last Post: 21 Mar 2017, 6:03 AM
  2. Creating a custom theme and use sencha watch on it
    By allemattio in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 30 Jan 2015, 9:47 AM
  3. Creating User Extension for Sencha Architect with Sencha CMD 5.0
    By BKrones in forum Sencha Architect 3.x: Q&A
    Replies: 0
    Last Post: 5 Aug 2014, 11:49 PM
  4. Replies: 0
    Last Post: 5 Aug 2014, 11:49 PM
  5. Replies: 0
    Last Post: 25 Apr 2013, 9:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •