[jsword-devel] another bible viewer based on JSword API

Peter von Kaehne refdoc at gmx.net
Mon Apr 28 07:06:38 MST 2008


Running a search (Moses) on the Genesis 1 section of a commentary
(clarke) resulted in a Null pointer exception:

java.lang.NullPointerException
	at
org.crosswire.jsword.index.lucene.LuceneIndex.deactivate(LuceneIndex.java:320)
	at org.crosswire.common.activate.Activator.deactivate(Activator.java:82)
	at org.crosswire.jsword.index.lucene.LuceneIndex.find(LuceneIndex.java:270)
	at org.crosswire.jsword.index.query.BaseQuery.find(BaseQuery.java:53)
	at
org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:86)
	at
org.crosswire.jsword.index.lucene.LuceneSearcher.search(LuceneSearcher.java:76)
	at org.crosswire.jsword.book.basic.AbstractBook.find(AbstractBook.java:116)
	at
kiyut.alkitab.swing.ParallelBookViewerPane.search(ParallelBookViewerPane.java:608)
	at
kiyut.alkitab.swing.ParallelBookViewerPane$8.actionPerformed(ParallelBookViewerPane.java:371)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)





Peter von Kaehne wrote:
> Failed to install here successfully.
> 
> Ubuntu Linux 7.10 on i386, Java 1.6
> 
> What happened was that during the install process - after unzipping into
> a folder ~/Kiyut - a chmod a+x failed. Unfortunately the actual name of
> the file supposed to get changed was cut of. I then looked into kiyut
> and followed the path into the bin folder and made alkitab there
> executable (it was not). executing was partially successful -a wlarge
> window opened after a spalsh screen and on the left a window with all my
> crosswire modules appeared. teh right sign of the window screen was blank
> 
> Peter
> 
> 
> 
> 
> DM Smith wrote:
>> Tonny Kohar wrote:
>>> Hi,
>>>
>>> Just released Alkitab 0.6 which following enhancements:
>>> - Added Search Panel (Advanced)
>>> - Added some icon
>>> - Various UI Improvement
>>> - Fix Java 1.5 compatibility problem
>>>
>>> It is available at http://www.kiyut.com/products/alkitab/ and the
>>> source code is available at the usual location (under Developer
>>> Section)
>>>
>>> Note: Mac OSX build is available as well. If anyone have tried the Mac
>>> OSX build, it will be very appreciated if  could you give us feedback
>>> regarding the Mac OSX build especially
>>> - installation (is it easy/user friendly enough ?)
>>> - program running (does it look native mac osx enough ?)
>>>
>>> Any feedback is very appreciated
>>>
>>>   
>> Tonny,
>> This works well on my Mac. But it is not quite "Mac" like.
>> Installation:
>> The installer is just a zip and without a Mac you won't be able to 
>> create a *.dmg ("disk image") instead. But Mac users expect a *.dmg and 
>> not a *.zip.
>>
>> On Leopard, the latest version of the OS, the zip is downloaded into the 
>> "Downloads" folder and the user has to dig for it.
>>
>> On Tiger, and earlier versions of OSX, the zip is downloaded to the Desktop.
>>
>> Unless the user has changed default settings, the zip is automatically 
>> unzipped.
>>
>> The "app" that you built probably should begin with a capital "A".
>>
>> FYI, the experience a user gets for a *.dmg is that it is automatically 
>> mounted and shown in it's own Finder view. The view typically has the 
>> application and frequently a shortcut to the Applications folder. The 
>> background image typically includes a banner or splash for the 
>> application and some kind of indication that the user should drag the 
>> application to the Applications folder. This indicator may be text or if 
>> there is a shortcut to the folder present a visual representation of the 
>> drag.
>>
>> Application:
>> The About and Preferences are in the expected location.
>> On Leopard, a Help menu is automatically provided and it contains a 
>> "Spotlight" for the app's menu. (This is not present on earlier OSX). 
>> This makes the absence of any kind of application help stand out.
>> The menu's the adhere to the Mac UI guidelines (i.e. no underlined 
>> mnemonics),  but the Preferences -> Advanced have mnemonics indicated 
>> with an &.
>> Probably because the application is in an early state of development, 
>> there is too much NetBeans showing through as menu items.
>> The big problem I have is that the font being used is way too small for 
>> me to comfortably read Bible text. This should be a simple CSS change or 
>> you need to let the user establish their preferred font and size.
>>
>> Other than that I like what I see!
>>
>> Congrats.
>>
>> In Him,
>>     DM
>>
>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
> 
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel




More information about the jsword-devel mailing list