[Isis-users] JISIS error on Linux

Leandro Vicente leandro_biblioteca at hotmail.com
Thu Dec 9 15:14:24 CET 2010





Hi Jean-Claude


Thanks for your fast response to the issue.
I believe the connection problem was related do Linux itself. I've tried to start up J-ISIS in many ways and most of them I've got the connection problem anyway.
The way it worked fine was creating a bash with file permission 777 in /home/<username>/jisis/jisis_suite/bin/ and calling jisis_suite binary with sudo command.
If we create a lnk file in Desktop to the bash trying to call the binary, it doesn't connect do localhost (we get the java.lang.NullPointerException error).
If we create a Gnome menu Applications entry to call the bash file, it doesn't connect as well.
So the way it worked, as I've experienced, is opening the folder /home/<username>/jisis/jisis_suite/bin/ manually and double clicking the bash file. Of course, it is not the faster way to start up some application, but worked fine.
Thanks for posting the new release.


Leandro
São Vicente, Brazil


Date: Wed, 8 Dec 2010 22:27:57 +0100
Subject: Re: [Isis-users] JISIS error on Linux
From: jc.dauphin at gmail.com
To: leandro_biblioteca at hotmail.com
CC: isis-users at iccisis.org

Hello Leandro,

I have uploaded a new release of J-ISIS on Kenai Web site. This release contains many improvements that need to be documented (Client Z3950, Data Entry, PFT in default value, etc.)
I have some more improvements and yet missing features to implement before updating the documentation.However, this new release solves the Linux problem with Mozilla.
Would you please try this new version and let me know if you always have this problem. 
http://kenai.com/projects/j-isis/downloads


http://kenai.com/projects/j-isis/downloads/download/jisis_suite%25208%2520December%25202010.zip
Best wishes,

Jean-Claude


On Tue, Dec 7, 2010 at 8:54 PM, Leandro Vicente <leandro_biblioteca at hotmail.com> wrote:












Mr. Dauphin


I've got a problem with JISIS and I would appreciate some help. I'm using Ubuntu 10.04 and my Java installation is



java version "1.6.0_22"

Java(TM) SE Runtime Environment (build 1.6.0_22-b04)

Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)



The permissions settings are fine, but even running jisis_suite with sudo, when I try to open a connection (default local host, default settings) I've got this error message: A java.lang.NullPointerException exception has occurred.




Do you have any tip of what may be going wrong?

The error log is:

java.lang.NullPointerException
    at org.unesco.jisis.corelib.client.ConnectionNIO.toString(ConnectionNIO.java:133)

    at org.unesco.jisis.corelib.client.ConnectionInfo.toString(ConnectionInfo.java:63)
    at javax.swing.JTree.convertValueToText(JTree.java:1568)
    at javax.swing.tree.DefaultTreeCellRenderer.getTreeCellRendererComponent(DefaultTreeCellRenderer.java:366)

    at org.unesco.jisis.windows.connection.ConnTreeCellRenderer.getTreeCellRendererComponent(ConnTreeCellRenderer.java:40)
    at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2751)

    at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
    at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1359)
    at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1495)

    at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1287)
    at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:742)
    at javax.swing.tree.VariableHeightLayoutCache.setModel(VariableHeightLayoutCache.java:108)

    at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:410)
    at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3364)
    at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:298)

    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:291)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:229)
    at java.awt.Component.firePropertyChange(Component.java:8090)

    at javax.swing.JTree.setModel(JTree.java:868)
    at org.unesco.jisis.windows.connection.ConnTopComponent.refresh(ConnTopComponent.java:173)
    at org.unesco.jisis.wizards.connopen.connOpenWizardAction.finished(connOpenWizardAction.java:99)

    at org.unesco.jisis.wizards.connopen.connOpenWizardAction.performAction(connOpenWizardAction.java:39)
    at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:129)
    at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)

    at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
    at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
    at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:126)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)

    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
    at java.awt.Component.processMouseEvent(Component.java:6175)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

    at java.awt.Component.processEvent(Component.java:5940)
    at java.awt.Container.processEvent(Container.java:2105)
    at java.awt.Component.dispatchEventImpl(Component.java:4536)
    at java.awt.Container.dispatchEventImpl(Container.java:2163)

    at java.awt.Component.dispatchEvent(Component.java:4362)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
    at java.awt.Container.dispatchEventImpl(Container.java:2149)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4362)

[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)

Thanks,

Leandro

 		 	   		  

_______________________________________________

isis-users mailing list

isis-users at iccisis.org

http://lists.iccisis.org/listinfo/isis-users




-- 
Jean-Claude Dauphin

jc.dauphin at gmail.com
jc.dauphin at afus.unesco.org


http://kenai.com/projects/j-isis/
http://www.unesco.org/isis/
http://www.unesco.org/idams/

http://www.greenstone.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20101209/f87c50e7/attachment.htm>


More information about the isis-users mailing list