Zekr can not running on Ubuntu 9.10

12 views
Skip to first unread message

أخبار إسلام الشيخ

unread,
Nov 3, 2009, 2:25:58 AM11/3/09
to ze...@googlegroups.com
السلام عليكم ورحمة الله وبركاته

$ zekr
Launching Zekr...
java.lang.NullPointerException
    at org.apache.velocity.context.InternalContextAdapterImpl.put(InternalContextAdapterImpl.java:269)
    at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:213)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
    at org.apache.velocity.Template.merge(Template.java:328)
    at org.apache.velocity.Template.merge(Template.java:235)
    at net.sf.zekr.engine.theme.TemplateEngine.getUpdated(TemplateEngine.java:115)
    at net.sf.zekr.common.config.VelocityInputStream.<init>(VelocityInputStream.java:29)
    at net.sf.zekr.common.config.ResourceManager.<init>(ResourceManager.java:30)
    at net.sf.zekr.common.config.ResourceManager.getInstance(ResourceManager.java:40)
    at net.sf.zekr.ui.splash.AbstractSplachScreen.<init>(AbstractSplachScreen.java:16)
    at net.sf.zekr.ui.splash.AdvancedSplashScreen.<init>(AdvancedSplashScreen.java:31)
    at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:41)
    at net.sf.zekr.ZekrMain.main(ZekrMain.java:79)


--
==============================
إن إفتقدت رسائلي .. فأعلم أنني محتاج لدعاءك

نسألكم الدعاء
Message has been deleted
Message has been deleted

meho_r

unread,
Nov 3, 2009, 6:10:05 AM11/3/09
to zekr
Salaam

I can confirm that Zekr 0.7.1 doesn't run (Ubuntu 9.10, 64bit, any
java), although I get different messages. Here's what I get when
running Zekr from Terminal:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5d706592ae, pid=11266,
tid=140039885740304
#
# JRE version: 6.0-b16
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-
amd64 )
# Distribution: Ubuntu karmic (development branch), package
6b16-1.6.1-1ubuntu3
# Problematic frame:
# C [libxul.so+0x63e2ae]
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid11266.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

I tried with the following javas (update-alternatives output):

Selection Path Priority
Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061
auto mode
1 /usr/lib/jvm/ia32-java-6-sun/jre/bin/java 63
manual mode
* 2 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061
manual mode
3 /usr/lib/jvm/java-6-sun/jre/bin/java 63
manual mode

Actually, Zekr does start, idle for couple of seconds (seems to be
loading text in the main part of the window which is initially blank)
and then crashes.

Mohsen Saboorian

unread,
Nov 3, 2009, 6:26:01 AM11/3/09
to ze...@googlegroups.com
Salaam,

There was a blocker issue with new version of velocity which was fixed on Oct 31. Please check your etc/apt/sources.list and add only one of the followings based on your distribution:

In case of correct sources.list, you just need an update on the package.

Please give me the result of this command if Zekr still doesn't work:
dpkg -l zekr

Regards,
Mohsen

meho_r

unread,
Nov 3, 2009, 6:35:57 AM11/3/09
to zekr
Salaam

UPDATE: Works for me when installed from the repo for Karmic (only two
wrong ELF class: ELFCLASS32 messages, but Zekr works). I noticed the
version from repo pulled a dozen of additional packages which are not
installed when doing manual install.

meho_r

unread,
Nov 3, 2009, 6:57:21 AM11/3/09
to zekr
Salaam

Works partially. "Go to aya" doesn't work in 0.7.1 (except in view
"Other"). Ayah is marked, but the view stays at e.g. the beginning of
sura (in "Sura" view etc.) so one must scroll down. Neither of two
"Go" buttons does not work. Ideas? (No output in Terminal).

Mohsen Saboorian

unread,
Nov 3, 2009, 7:01:10 AM11/3/09
to ze...@googlegroups.com
What do you mean by view "Other"?
Can you tell me an step-by-step instruction to reproduce the behavior?

Mohsen
Message has been deleted

meho_r

unread,
Nov 3, 2009, 8:06:48 AM11/3/09
to zekr
Sorry, "Custom", not "Other". In "Custom" paging mode, Zekr puts the
correct aya in the view, but in any other it simply displays beginning
of respective view.
An example:

1. Switch view/paging mode to "Sura
2. Enter 5 for "Sura" and 55 for "Aya" in the main part of window and
press "Go"
3. Result: Sura Al-Ma'ida is displayed, but at the beginning of the
sura, not aya 55. I have to scroll down to aya 55 (which is, BTW,
marked).

I noticed this behaviour on Ubuntu Jaunty, but it happens only
occasionally.

If you try other paging modes except "Custom", it'll behave in the
same manner (view will be positioned at the beginning of hizb or juz'
not the aya which is searched for).

The problem is that there is nothing in Terminal, no error message
which will help to trace the problem.

Can anyone using Karmic confirm this issue?

P.S. No changes when different java is used.

Mohammad

unread,
Nov 13, 2009, 2:51:26 PM11/13/09
to ze...@googlegroups.com
Salaam,



I can reproduce this issue on Ubuntu 9.10, Karmic.

Mohammad
Reply all
Reply to author
Forward
0 new messages