Menu
Sites
Language
web-signing cli fails

When I try to use the web-signing.bat command line script on windows, it fails with the error output shown below- is anyone else seeing this? Is there any way to fix? my Tizen SDK build id is 20130214-1647

 

c:\tizen-sdk\tools\ide\bin>web-signing -l debug -profile tizen_profile
[INFO] Executor.java(132) - ExecutionContextFactory :Policy :PolicyRegistry@48ed, Prompter :org.tizen.cli.exec.ConsolePrompter@155e402, File Handler :org.tizen.common.file.StandardFileHandler@2dec3ffd
 
[DEBUG] Main.java(173) - Profile option :tizen_profile
[DEBUG] StandardFileHandler.java(82) - File C:\tizen-sdk\tools\ide\bin\. for .
[DEBUG] Main.java(189) - Base directory :C:\tizen-sdk\tools\ide\bin
[DEBUG] Main.java(192) - Includes :<<null>>
[DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide\bin/.project is absolute path
[DEBUG] Main.java(238) - Profile name :tizen_profile
[DEBUG] Main.java(239) - Profiles file path :C:\tizen-sdk\tools\ide/conf/profiles.xml
[INFO] ReadSigningProfileFileCommand.java(73) - Read profile[tizen_profile] from C:\tizen-sdk\tools\ide/conf/profiles.xml
[DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path
[DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path
[DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path
[DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path
org/eclipse/core/runtime/IStatus
[ERROR] AbstractLauncher.java(432) - Command stop because of exception
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IStatus
        at org.tizen.common.util.CipherUtil.<clinit>(CipherUtil.java:64)
        at org.tizen.common.sign.util.SigningProfileUtil.createItem(SigningProfileUtil.java:124)
        at org.tizen.common.sign.util.SigningProfileUtil.create(SigningProfileUtil.java:160)
        at org.tizen.common.sign.util.SigningProfileUtil.extractProfile(SigningProfileUtil.java:237)
        at org.tizen.common.sign.util.SigningProfileUtil.parseProfileFile(SigningProfileUtil.java:287)
        at org.tizen.common.sign.command.ReadSigningProfileFileCommand.run(ReadSigningProfileFileCommand.java:92)
        at org.tizen.common.core.command.Executor.execute(Executor.java:164)
        at org.tizen.common.core.command.Executor.execute(Executor.java:150)
        at org.tizen.cli.exec.sign.Main.execute(Main.java:247)
        at org.tizen.cli.exec.AbstractLauncher.run(AbstractLauncher.java:382)
        at org.tizen.cli.exec.sign.Main.main(Main.java:139)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.IStatus
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 11 more
[ERROR] AbstractLauncher.java(439) - org/eclipse/core/runtime/IStatus

 

 

Edited on 18 03, 2014

Responses

3 Replies
Raghavendra Reddy Shiva
Tried running the web signing CLI command to verify the issue, but see below error. It's the same issue on both Windows and Linux platforms. Have raised a JIRA to address this issue. Please track the below JIRA for further details. https://bugs.tizen.org/jira/browse/TSDK-116 C:\Users\rshivax\workspace\SignInForm>C:\tizen-sdk\tools\ide\bin\web-signing.bat -l debug -p tizen_profile [INFO] Executor.java(132) - ExecutionContextFactory :Policy :PolicyRegistry@5b31, Prompter :org.tizen.cli.exec.ConsolePrompter@683c03e1, File Handler :org.tizen.common.file.StandardFileHandler@3c22de3d [DEBUG] Main.java(173) - Profile option :tizen_profile [DEBUG] StandardFileHandler.java(82) - File C:\Users\rshivax\workspace\SignInForm\. for . [DEBUG] Main.java(189) - Base directory :C:\Users\rshivax\workspace\SignInForm [DEBUG] Main.java(192) - Includes :<> [DEBUG] StandardFileHandler.java(78) - C:\Users\rshivax\workspace\SignInForm/.project is absolute path [DEBUG] Main.java(238) - Profile name :tizen_profile [DEBUG] Main.java(239) - Profiles file path :C:\tizen-sdk\tools\ide/conf/profiles.xml [INFO] ReadSigningProfileFileCommand.java(73) - Read profile[tizen_profile] from C:\tizen-sdk\tools\ide/conf/profiles.xml [DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path [DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path [DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path [DEBUG] StandardFileHandler.java(78) - C:\tizen-sdk\tools\ide/conf/profiles.xml is absolute path [INFO] Main.java(248) - Profiles file[C:\tizen-sdk\tools\ide/conf/profiles.xml] is read No Signing profile( tizen_profile ) item in C:\tizen-sdk\tools\ide/conf/profiles.xml
Miguel Angel Lazaro Solana
Hello. I have a similar problem, or maybe the same one. When I try to generate the package of a native application the IDE gives me the error that appears below during the signing process. Did you manage to solver this problem? How? Thank you. MA Signing... C: && cd C:\tizen-sdk\tools\smart-build-interface\..\ide\bin && cmd.exe /C native-signing.bat "C:\tizen-sdk\workspace\mediaapp\Release\.tpk" "C:\tizen-sdk\tools\certificate-generator\certificates\developer\tizen-developer-ca.cer" "C:\tizen-sdk\tools\certificate-generator\mini.p12" "****" "C:\tizen-sdk\tools\certificate-generator\certificates\distributor\tizen-distributor-signer.p12" "****" "C:\tizen-sdk\tools\certificate-generator\certificates\distributor\tizen-distributor-ca.cer" "" "****" "" "" El sistema no puede hallar el archivo especificado. java.lang.NoClassDefFoundError: org/tizen/common/sign/signer/TizenSigner Caused by: java.lang.ClassNotFoundException: org.tizen.common.sign.signer.TizenSigner at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: org.tizen.common.sign.signer.TizenSigner. Program will exit. Signing failed! Exception in thread "main"
Alan Savage
Native signing via the native-packaging CLI works for me so I guess this must be a different problem. I have updated to SDK 2.1, and the web-signing CLI still fails but with a different error (output below); it now creates the author-signature.xml file, but not the signature1.xml file. This is on Windows7 64-bit. Please help! c:\Temp\Tizen\PackageTest\testproj>web-signing -n -l info --profile gmtizen:C:\Users\AlanS\workspace\.metadata\.plugins\org.tizen.common.sign\profiles.xml [INFO] Executor.java(132) - ExecutionContextFactory :Policy :PolicyRegistry@6dce, Prompter :org.tizen.cli.exec.ConsolePrompter@19a60b9a, File Handler :org.tizen.common.file.StandardFileHandler@6443b89d [INFO] ReadSigningProfileFileCommand.java(80) - Read profile[gmtizen] from C:\Users\AlanS\workspace\.metadata\.plugins\org.tizen.common.sign\profiles.xml [INFO] Main.java(248) - Profiles file[C:\Users\AlanS\workspace\.metadata\.plugins\org.tizen.common.sign\profiles.xml] is read null [INFO] SignCommand.java(136) - Elapsed time for sign : 582ms [ERROR] Executor.java(170) - Error occured org.tizen.common.sign.exception.CertificationException: Can't create XML Signature file at org.tizen.common.sign.command.SignCommand.run(SignCommand.java:131) at org.tizen.common.core.command.Executor.execute(Executor.java:164) at org.tizen.common.core.command.Executor.execute(Executor.java:150) at org.tizen.cli.exec.sign.Main.execute(Main.java:259) at org.tizen.cli.exec.AbstractLauncher.run(AbstractLauncher.java:413) at org.tizen.cli.exec.sign.Main.main(Main.java:139) Caused by: java.lang.NullPointerException at org.tizen.common.sign.command.SignCommand.getContentFilePath(SignCommand.java:215) at org.tizen.common.sign.command.SignCommand.signDistributor1(SignCommand.java:182) at org.tizen.common.sign.command.SignCommand.run(SignCommand.java:119) ... 5 more