<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Installation problem: NPE during db.create target in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72962#M47525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What java version, ant version etc are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 00:18:56 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-05-20T00:18:56Z</dc:date>
    <item>
      <title>Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72961#M47524</link>
      <description>I'm having trouble installing the demo.&amp;nbsp; I get to the db.create target and it fails with a NullPointerException as the root cause.&amp;nbsp; The entire stack trace of the failure is copied below.&amp;nbsp; It's quite long.&amp;nbsp; Any ideas about how to fix this?&amp;nbsp; Ant reports the build failed for the following reason:…\acti</description>
      <pubDate>Thu, 19 May 2011 17:53:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72961#M47524</guid>
      <dc:creator>lje67</dc:creator>
      <dc:date>2011-05-19T17:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72962#M47525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What java version, ant version etc are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 00:18:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72962#M47525</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-05-20T00:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72963#M47526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi lje67,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same problem. I believe that Activiti is not creating the database tables. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I just not know why … =/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS.: Sorry my bad english.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jul 2011 02:19:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72963#M47526</guid>
      <dc:creator>diogo</dc:creator>
      <dc:date>2011-07-17T02:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72964#M47527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what jdk, ant version etc are you using? There are minimal requirements, mentioned in the docs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jul 2011 10:14:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72964#M47527</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-07-17T10:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72965#M47528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally got it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps performed were as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Run Mysql Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# /etc/init.d/mysld start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Download JDK 6:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# &lt;/SPAN&gt;&lt;A href="http://download.oracle.com/otn-pub/java/jdk/6u26-b03/jdk-6u26-linux-i586-rpm.bin" rel="nofollow noopener noreferrer"&gt;http://download.oracle.com/otn-pub/java/jdk/6u26-b03/jdk-6u26-linux-i586-rpm.bin&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Run commands:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# chmod 777 -R jdk-6u26-linux-i586-rpm.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ./jdk-6u26-linux-i586-rpm.bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Download Ant 1.8.2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# &lt;/SPAN&gt;&lt;A href="http://ftp.unicamp.br/pub/apache//ant/binaries/apache-ant-1.8.2-bin.tar.gz" rel="nofollow noopener noreferrer"&gt;http://ftp.unicamp.br/pub/apache//ant/binaries/apache-ant-1.8.2-bin.tar.gz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Edit in "activiti-5.6/setup":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- build.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- build.mysql.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Delete file "slf4j-api-1.5.6.jar" in directory "activiti-5.6/setup/files/dependencies/libs"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Run commands:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# export ANT_HOME=/opt/ant-1.8.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# export JAVA_HOME=/opt/jdk1.6.0_22&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# export PATH=${PATH}:${ANT_HOME}/bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ant cfg.create&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Edit in "activiti-5.6/setup/build":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- activiti-cfg.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;9. Edit in "activiti-5.6/setup/build/activiti-cfg":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- activiti.cfg.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10. Run commands:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ant db.create&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ant demo.install&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ant demo.start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thats it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to all!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 03:28:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72965#M47528</guid>
      <dc:creator>diogo</dc:creator>
      <dc:date>2011-07-22T03:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72966#M47529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting back. Appreciate that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 07:45:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72966#M47529</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-07-22T07:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72967#M47530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your answer does not help at all. What values in these files did you have to edit?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying you had to edit the cfg jar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Ronald, I'm having the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My JDK version is 1.6.0_24 and my Ant Version is 1.8.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Diogo, please provide more details.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 05:09:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72967#M47530</guid>
      <dc:creator>emeka_kanu</dc:creator>
      <dc:date>2011-11-29T05:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Installation problem: NPE during db.create target</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72968#M47531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Right,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some more information. Diogo's solution only works for those who have not had to alter their JRE lib/endorsed directory with later versions of the XML api, xalan and xerces jars. I had to do that due to some other issue with XPath. As a result, I was getting the error described.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My guess is that the jars provided in the activiti dependencies directory have to be added to the ant internal.classpath for the desired classes to be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti, I'd advised that you change your setup script to do this, if this is the case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 08:53:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installation-problem-npe-during-db-create-target/m-p/72968#M47531</guid>
      <dc:creator>emeka_kanu</dc:creator>
      <dc:date>2011-11-29T08:53:21Z</dc:date>
    </item>
  </channel>
</rss>

