You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Sanjeev N (JIRA)" <ji...@apache.org> on 2013/02/08 13:11:12 UTC

[jira] [Created] (CLOUDSTACK-1214) InvocationTargetException while deploying DB with latest ASF build

Sanjeev N created CLOUDSTACK-1214:
-------------------------------------

             Summary: InvocationTargetException while deploying DB with latest ASF build
                 Key: CLOUDSTACK-1214
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1214
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.1.0
         Environment: Latest ASF master :commit 12cbaad69147edb9c91e4025fe19d1ed6275a198
            Reporter: Sanjeev N
            Assignee: Rohit Yadav
            Priority: Blocker


Trying to build CloudStack on master branch by following the instructions given @
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch#Howtobuildonmasterbranch-BuildingCloudStack

Building CloudStack was successful , however deploying DB failed with following exception:


[INFO] Building Apache CloudStack Developer Tools 4.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ cloud-developer ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-developer ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer ---
[WARNING]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
        at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.ExceptionInInitializerError
        at com.cloud.upgrade.DatabaseCreator.main(DatabaseCreator.java:159)
        ... 6 more
Caused by: java.lang.NullPointerException
        at java.io.FileInputStream.<init>(FileInputStream.java:133)
        at com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKeyChecker.java:65)
        at com.cloud.utils.db.Transaction.<clinit>(Transaction.java:101)
        ... 7 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.331s
[INFO] Finished at: Fri Feb 08 12:30:36 EST 2013
[INFO] Final Memory: 19M/46M



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira