zekr won't start because of problem with velocity.properties line 120

Bug #491457 reported by Bijan Soleymani
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zekr (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: zekr

I installed zekr version 0.5.1.dfsg-1.1ubuntu1 on Ubuntu 9.10. Trying to run zekr fails, but commenting out the following line in /usr/share/zekr/res/config/lib/velocity.properties solves the problem (line 120):
#velocimacro.library = VM_global_library.vm

Without this change the error output is as follows:
11:38:41 [INFO] (Zekr:65) - System information:
OS info: Linux - 2.6.31-14-generic - i386
JVM info: OpenJDK Runtime Environment - Sun Microsystems Inc. - 1.6.0_0
User info: /home/bijan - /usr/share/zekr - en-CA
Encoding info: UTF-8
11:38:41 [INFO] (Zekr:99) - Starting The Zekr Platform 0.5.1 (Wed Dec 02 11:38:41 EST 2009)
11:38:41 [INFO] (Zekr:99) - Velocity Template Engine for Zekr initialized.
11:38:41 [ERROR] (TemplateEngine:143) - [Exception stack trace for "org.apache.velocity.exception.VelocityException: Velocimacro : Error using VM library : VM_global_library.vm"]
11:38:41 [ERROR] (TemplateEngine:146) - org.apache.velocity.runtime.VelocimacroFactory.initVelocimacro(VelocimacroFactory.java:219)
11:38:41 [ERROR] (TemplateEngine:146) - org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:261)
11:38:41 [ERROR] (TemplateEngine:146) - org.apache.velocity.runtime.RuntimeSingleton.init(RuntimeSingleton.java:114)
11:38:41 [ERROR] (TemplateEngine:146) - org.apache.velocity.app.Velocity.init(Velocity.java:79)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.engine.theme.TemplateEngine.<init>(TemplateEngine.java:46)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.engine.theme.TemplateEngine.getInstance(TemplateEngine.java:59)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.common.config.VelocityInputStream.<init>(VelocityInputStream.java:29)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.common.config.ResourceManager.<init>(ResourceManager.java:30)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.common.config.ResourceManager.getInstance(ResourceManager.java:40)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ui.splash.AbstractSplachScreen.<init>(AbstractSplachScreen.java:16)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ui.splash.AdvancedSplashScreen.<init>(AdvancedSplashScreen.java:31)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:41)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ZekrMain.main(ZekrMain.java:79)
11:38:41 [ERROR] (TemplateEngine:148) - [/"org.apache.velocity.exception.VelocityException: Velocimacro : Error using VM library : VM_global_library.vm"]
11:38:41 [ERROR] (TemplateEngine:143) - [Exception stack trace for "java.lang.IllegalArgumentException: Argument cannot be null"]
11:38:41 [ERROR] (TemplateEngine:146) - org.eclipse.swt.SWT.error(SWT.java:3761)
11:38:41 [ERROR] (TemplateEngine:146) - org.eclipse.swt.SWT.error(SWT.java:3695)
11:38:41 [ERROR] (TemplateEngine:146) - org.eclipse.swt.SWT.error(SWT.java:3666)
11:38:41 [ERROR] (TemplateEngine:146) - org.eclipse.swt.graphics.Image.<init>(Image.java:530)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ui.splash.AbstractSplachScreen.<init>(AbstractSplachScreen.java:28)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ui.splash.AdvancedSplashScreen.<init>(AdvancedSplashScreen.java:31)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:41)
11:38:41 [ERROR] (TemplateEngine:146) - net.sf.zekr.ZekrMain.main(ZekrMain.java:79)
11:38:41 [ERROR] (TemplateEngine:148) - [/"java.lang.IllegalArgumentException: Argument cannot be null"]
11:38:41 [INFO] (TemplateEngine:99) - Zekr is now down.

ahwebd (ahwebd)
description: updated
Revision history for this message
bing (ingrambj) wrote :

Marked as duplicate of 491906

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.3 KiB)

This bug was fixed in the package zekr - 0.7.5~beta3+repack-1

---------------
zekr (0.7.5~beta3+repack-1) unstable; urgency=low

  [ Mohammad Derakhshani ]
  * New upstream release. (Closes: #561730, #561115, #444240)
                          (LP: #267412, #491457, #491906)
    + Works with velocity 1.6 (Closes: #561115)
  * debian/control:
    + Update SWT dependency to 3.5
    + Added sound related java packages to Build-Depends.
    + libjs-jquery added to the Depends field
    + Extended description reviewed.
    + ttf-sil-scheherazade | ttf-kacst (>= 1.6.2+mry-1) | ttf-farsiweb moved
      from Recommends to Depends.
    + Remove java1-runtime from Depends: field since zekr is not compatible
      with java1-runtime.
  * debian/zekr.sh:
    + Added sound related java packages to CLASSPATH
    + Changed VM_ARGS value to "-Xms10m -Xmx80m".
  * Added a patch 03_mozilla_five_home.diff, to set
   'options.browser.useMozilla = true' in res/config/config.properties
  * All relations to ttf-bitstream-vera have been removed (Closes: #461299).
  * “msttcorefonts” is not suggested anymore (Closes: #490031).
  * debian/zekr.links: added a symbolic link to jquery.js from libjs-jquery
  * Added a patch 03_mozilla_five_home.diff, to set
   'options.browser.useMozilla = true' in res/config/config.properties
  * fix LP: #279935: a typo in mangage is fixed.
  * debian/postinst:
    + Index installed Quran translations.

  [ أحمد المحمودي (Ahmed El-Mahmoudy) ]
  * Use 3.0 (quilt) source format.
  * Use debhelper 7 instead of cdbs
  * debian/control:
    + Replace java dependencies in Depends with ${java:Depends}
    + Bump xulrunner dependency to 1.9.1
    + Remove browser alternatives from Depends.
    + Bump lucene2 dependency to >= 2.9.0
  * Added build_manifest.diff patch to add Class-Path & Main-Class
    attributes to manifest
  * Added debian/install, debian/docs, debian/README.source
  * Add jogg.jar to class path
  * debian/control: Added Vcs-* headers
  * According to debian/copyright, zekr should be in non-free
  * debian/zekr.sh:
    + Do not define org.eclipse.swt.browser.XULRunnerPath, not
      needed.
    + Pass -Djava.net.preferIPv4Stack=true as an argument to java to
      workaround the problem reported in #560056, this should be removed once
      the bug got fixed.
  * debian/rules: Delete res/images/sura-header.png from orig tarball since
    its license is unknown.
  * Add a free (under same license of the package) sura-header.png
  * A watch file has been added in 0.7.1-3~ppa5 (Closes: #561732).

  [ Mehdi Dogguy ]
  * Set debian-islamic-maintainers as Maintainer and set former
    maintainer as an uploader.
  * Add myself as an uploader.
  * Reformat debian/control so that it becomes easier to read.
  * get-orig-source: Fix a typo 'images' -> 'image'

zekr (0.7.0~beta2-1~ppa4) intrepid; urgency=low

  [ Mohammad Derakhshani ]
  * Provide the online recitation files with zekr packages, hence:
    + Added zekr-quran-recitation-online-* to Provides field.
    + Added zekr-quran-recitation-online-* (<< 0.7.0~beta2-1) to Replaces and
      Conflicts fields.

zekr (0.7.0~beta1-3~ppa8) hardy; urgency=low

  * source package produces two...

Read more...

Changed in zekr (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.