Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gallery-remote crashes when starting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mslinn
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 206
Location: Half Moon Bay, CA

PostPosted: Thu Aug 04, 2005 4:59 am    Post subject: Gallery-remote crashes when starting Reply with quote

I'm running sun-jdk-1.4.2.08 and have not been able to get gallery-remote 1.4.1 started.
Code:
$ gallery-remote
Instanciating Gallery Remote...
Logger thread running
Creating log file in /tmp
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.gallery.GalleryRemote.PictureInspector.jbInit(PictureInspector.java:195)
        at com.gallery.GalleryRemote.PictureInspector.<init>(PictureInspector.java:91)
        at com.gallery.GalleryRemote.MainFrame.<init>(MainFrame.java:150)
        at com.gallery.GalleryRemote.GalleryRemoteMainFrame.initializeGR(GalleryRemoteMainFrame.java:58)
        at com.gallery.GalleryRemote.GalleryRemote.main(GalleryRemote.java:187)
Caused by: java.lang.NullPointerException
        at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
        at com.gallery.GalleryRemote.util.ImageUtils.loadJava(ImageUtils.java:172)
        at com.gallery.GalleryRemote.util.ImageUtils.<clinit>(ImageUtils.java:873)
        ... 5 more
$ cat /tmp/GalleryRemoteLog.txt
      3|INFO |SysProps  |apple.awt.brushMetalLook= |true|
      3|INFO |SysProps  |apple.awt.showGrowBox= |false|
      3|INFO |SysProps  |apple.laf.useScreenMenuBar= |true|
      3|INFO |SysProps  |com.apple.mrj.application.apple.menu.about.name= |Gallery Remote|
      3|INFO |SysProps  |file.encoding= |ANSI_X3.4-1968|
      3|INFO |SysProps  |file.encoding.pkg= |sun.io|
      4|INFO |SysProps  |file.separator= |/|
      4|INFO |SysProps  |java.awt.graphicsenv= |sun.awt.X11GraphicsEnvironment|
      4|INFO |SysProps  |java.awt.printerjob= |sun.print.PSPrinterJob|
      4|INFO |SysProps  |java.class.path= |lib/GalleryRemote.jar|
      4|INFO |SysProps  |java.class.version= |48.0|
      4|INFO |SysProps  |java.endorsed.dirs= |/opt/sun-jdk-1.4.2.08/jre/lib/endorsed|
      4|INFO |SysProps  |java.ext.dirs= |/opt/sun-jdk-1.4.2.08/jre/lib/ext|
      4|INFO |SysProps  |java.home= |/opt/sun-jdk-1.4.2.08/jre|
      4|INFO |SysProps  |java.io.tmpdir= |/tmp|
      4|INFO |SysProps  |java.library.path= |/opt/sun-jdk-1.4.2.08/jre/lib/i386/client:/opt/sun-jdk-1.4.2.08/jre/lib/i386:/opt/sun-jdk-1.4.2.08/jre/../lib/i386|
      4|INFO |SysProps  |java.runtime.name= |Java(TM) 2 Runtime Environment, Standard Edition|
      4|INFO |SysProps  |java.runtime.version= |1.4.2_08-b03|
      4|INFO |SysProps  |java.specification.name= |Java Platform API Specification|
      4|INFO |SysProps  |java.specification.vendor= |Sun Microsystems Inc.|
      4|INFO |SysProps  |java.specification.version= |1.4|
      4|INFO |SysProps  |java.util.prefs.PreferencesFactory= |java.util.prefs.FileSystemPreferencesFactory|
      4|INFO |SysProps  |java.vendor= |Sun Microsystems Inc.|
      4|INFO |SysProps  |java.vendor.url= |http://java.sun.com/|
      4|INFO |SysProps  |java.vendor.url.bug= |http://java.sun.com/cgi-bin/bugreport.cgi|
      4|INFO |SysProps  |java.version= |1.4.2_08|
      4|INFO |SysProps  |java.vm.info= |mixed mode|
      4|INFO |SysProps  |java.vm.name= |Java HotSpot(TM) Client VM|
      4|INFO |SysProps  |java.vm.specification.name= |Java Virtual Machine Specification|
      4|INFO |SysProps  |java.vm.specification.vendor= |Sun Microsystems Inc.|
      4|INFO |SysProps  |java.vm.specification.version= |1.0|
      4|INFO |SysProps  |java.vm.vendor= |Sun Microsystems Inc.|
      4|INFO |SysProps  |java.vm.version= |1.4.2_08-b03|
      4|INFO |SysProps  |line.separator= |
|
      4|INFO |SysProps  |os.arch= |i386|
      4|INFO |SysProps  |os.name= |Linux|
      5|INFO |SysProps  |os.version= |2.6.12-gentoo-r4|
      5|INFO |SysProps  |path.separator= |:|
      5|INFO |SysProps  |sun.arch.data.model= |32|
      5|INFO |SysProps  |sun.boot.class.path= |/opt/sun-jdk-1.4.2.08/jre/lib/rt.jar:/opt/sun-jdk-1.4.2.08/jre/lib/i18n.jar:/opt/sun-jdk-1.4.2.08/jre/lib/sunrsasign.jar:/opt/sun-jdk-1.4.2.08/jre/lib/jsse.jar:/opt/sun-jdk-1.4.2.08/jre/lib/jce.jar:/opt/sun-jdk-1.4.2.08/jre/lib/charsets.jar:/opt/sun-jdk-1.4.2.08/jre/classes|
      5|INFO |SysProps  |sun.boot.library.path= |/opt/sun-jdk-1.4.2.08/jre/lib/i386|
      5|INFO |SysProps  |sun.cpu.endian= |little|
      5|INFO |SysProps  |sun.cpu.isalist= ||
      5|INFO |SysProps  |sun.io.unicode.encoding= |UnicodeLittle|
      5|INFO |SysProps  |sun.java2d.fontpath= ||
      5|INFO |SysProps  |sun.os.patch.level= |unknown|
      5|INFO |SysProps  |swing.noxp= |true|
      5|INFO |SysProps  |user.country= |US|
      5|INFO |SysProps  |user.dir= |/usr/share/gallery-remote|
      5|INFO |SysProps  |user.home= |/home/mslinn|
      5|INFO |SysProps  |user.language= |en|
      6|INFO |SysProps  |user.name= |mslinn|
      6|INFO |SysProps  |user.timezone= |US/Pacific|
      6|TRACE|PropsFile |Trying to find defaults.properties in Classpath
     21|TRACE|PropsFile |Trying to find /home/mslinn/.GalleryRemote/GalleryRemote.properties in Current Working Dir
     22|TRACE|UsrProps  |aboutText= |Gallery Remote


A part of the Gallery Open-Source Project
http://gallery.sourceforge.net


Maintained by:

Pierre-Luc Paour


Initial version by Chris Smith


Contributors:

Tim Miller
Dolan Halbrook
Markus Cozowicz
Scott Gartner
Amedeo Paglione
Chris Schwerdt


Artwork by Ross A. Reyman


Bundled software:

ImageMagick
JSX
Java look and feel Graphics Repository icons
jpegtran, Guido Vollbeding's version
MetadataExtractor|
     25|TRACE|UsrProps  |albumPictureDividerLocation= |180|
     25|TRACE|UsrProps  |appletDividerLocation= |250|
     25|TRACE|UsrProps  |appletShowResize= |true|
     26|TRACE|UsrProps  |captionStripExtension= |false|
     26|TRACE|UsrProps  |captionStripMetadataComment= |false|
     26|TRACE|UsrProps  |exifAutorotate= |true|
     26|TRACE|UsrProps  |htmlEscapeCaptions= |false|
     26|TRACE|UsrProps  |inspectorDividerLocation= |450|
     26|TRACE|UsrProps  |loadLastMRU= |false|
     26|TRACE|UsrProps  |logLevel= |3|
     26|TRACE|UsrProps  |mainBounds= |0,0,700,650|
     26|TRACE|UsrProps  |mruCount= |4|
     26|TRACE|UsrProps  |previewBounds= |700,0,500,650|
     26|TRACE|UsrProps  |previewCacheSize= |10|
     26|TRACE|UsrProps  |proxyHost= |proxy.host.com|
     26|TRACE|UsrProps  |proxyPassword= ||
     26|TRACE|UsrProps  |proxyPort= |80|
     26|TRACE|UsrProps  |proxyUsername= ||
     26|TRACE|UsrProps  |releaseDate= |2004/08/26|
     26|TRACE|UsrProps  |resizeBeforeUpload= |false|
     26|TRACE|UsrProps  |resizeTo= |0,0|
     26|TRACE|UsrProps  |resizeTo1= |0|
     26|TRACE|UsrProps  |resizeToDefault= |600,600|
     26|TRACE|UsrProps  |resizeToDefault1= |600|
     26|TRACE|UsrProps  |savePasswords= |true|
     26|TRACE|UsrProps  |setCaptionsWithFilenames= |true|
     26|TRACE|UsrProps  |showPath= |true|
     26|TRACE|UsrProps  |showPreview= |true|
     26|TRACE|UsrProps  |showThumbnails= |true|
     26|TRACE|UsrProps  |slideshowCaptionLocation= |30|
     26|TRACE|UsrProps  |slideshowDelay= |7|
     26|TRACE|UsrProps  |slideshowExtraLocation= |24|
     26|TRACE|UsrProps  |slideshowLowRez= |true|
     26|TRACE|UsrProps  |slideshowMaxPictures= |0|
     26|TRACE|UsrProps  |slideshowNoStretch= |false|
     26|TRACE|UsrProps  |slideshowPreloadAll= |false|
     27|TRACE|UsrProps  |slideshowProgressLocation= |12|
     27|TRACE|UsrProps  |slideshowRandom= |false|
     27|TRACE|UsrProps  |slideshowRecursive= |false|
     27|TRACE|UsrProps  |slideshowUrlLocation= |0|
     27|TRACE|UsrProps  |suppressWarningCorrupted= |false|
     27|TRACE|UsrProps  |suppressWarningIM= |false|
     27|TRACE|UsrProps  |suppressWarningJava= |false|
     27|TRACE|UsrProps  |suppressWarningJpegtran= |false|
     27|TRACE|UsrProps  |thumbnailSize= |64,64|
     27|TRACE|UsrProps  |toSysOut= |false|
     27|TRACE|UsrProps  |uiLocale= ||
     27|TRACE|UsrProps  |uiLocaleDev= |false|
     27|TRACE|UsrProps  |updateCheck= |true|
     27|TRACE|UsrProps  |updateCheckBeta= |false|
     27|TRACE|UsrProps  |updateUrl= |http://gallery.sourceforge.net/gallery_remote_version_check.php|
     27|TRACE|UsrProps  |updateUrlBeta= |http://gallery.sourceforge.net/gallery_remote_version_check_beta.php|
     27|TRACE|UsrProps  |useJavaResize= |true|
     27|TRACE|UsrProps  |useProxy= |false|
     27|TRACE|UsrProps  |version= |1.4.1|
     36|ERROR|GalRem    |java.lang.NullPointerException
        at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
        at com.gallery.GalleryRemote.GalleryRemote.loadIcons(GalleryRemote.java:252)
        at com.gallery.GalleryRemote.GalleryRemoteMainFrame.loadIcons(GalleryRemoteMainFrame.java:89)
        at com.gallery.GalleryRemote.GalleryRemote.initializeGR(GalleryRemote.java:103)
        at com.gallery.GalleryRemote.GalleryRemoteMainFrame.initializeGR(GalleryRemoteMainFrame.java:50)
        at com.gallery.GalleryRemote.GalleryRemote.main(GalleryRemote.java:187)

     37|ERROR|GalRem    |java.lang.NullPointerException
        at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
        at com.gallery.GalleryRemote.GalleryRemoteMainFrame.loadIcons(GalleryRemoteMainFrame.java:92)
        at com.gallery.GalleryRemote.GalleryRemote.initializeGR(GalleryRemote.java:103)
        at com.gallery.GalleryRemote.GalleryRemoteMainFrame.initializeGR(GalleryRemoteMainFrame.java:50)
        at com.gallery.GalleryRemote.GalleryRemote.main(GalleryRemote.java:187)

     91|TRACE|PropsFile |Trying to find Gallery Remote.lax in Classpath
     91|TRACE|PropsFile |Trying to find Gallery Remote.lax in Current Working Dir
     91|INFO |Update    |LAX file not found: probably running from Ant or IDE...
    811|INFO |GRI18n    |
    843|INFO |ImageUtils|tmpDir: /tmp/thumbs
    844|TRACE|PropsFile |Trying to find imagemagick/im.properties in Current Working Dir
    844|INFO |ImageUtils|useIM: true
    844|INFO |ImageUtils|imPath: convert
    844|INFO |ImageUtils|imIgnoreErrorCode: true
    844|CRITI|ImageUtils|ImageMagick path is not fully qualified, presence won't be tested until later


I notice that Gallery Remote.lax isn't present on the system. ImageMagick is v6.2.2.3-r1

Any ideas?

Mike
Back to top
View user's profile Send private message
basiaf
n00b
n00b


Joined: 25 Feb 2005
Posts: 38
Location: Dortmund

PostPosted: Fri Aug 05, 2005 10:41 am    Post subject: Reply with quote

same problem here, except for that i use the Blackdown-VM
Back to top
View user's profile Send private message
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 50

PostPosted: Wed Sep 07, 2005 9:00 pm    Post subject: Reply with quote

hello,

please help

i cant get gallery-remte to work ...

thanx
liu
Back to top
View user's profile Send private message
mslinn
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 206
Location: Half Moon Bay, CA

PostPosted: Wed Sep 07, 2005 9:29 pm    Post subject: Reply with quote

Liu,

You'll need to type out a descriptive problem report if you want someone to be able to help.

Mike
Back to top
View user's profile Send private message
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 50

PostPosted: Thu Sep 08, 2005 6:07 am    Post subject: Reply with quote

when i start gallery-remote i get:

~ $ gallery-remote
Instanciating Gallery Remote...
Logger thread running
Creating log file in /tmp
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.gallery.GalleryRemote.PictureInspector.jbInit(PictureInspector.java:195)
at com.gallery.GalleryRemote.PictureInspector.<init>(PictureInspector.java:91)
at com.gallery.GalleryRemote.MainFrame.this(MainFrame.java:150)
at com.gallery.GalleryRemote.MainFrame.<init>(MainFrame.java:58)
at com.gallery.GalleryRemote.GalleryRemoteMainFrame.initializeGR(GalleryRemoteMainFrame.java:58)
at com.gallery.GalleryRemote.GalleryRemote.main(GalleryRemote.java:187)
Caused by: java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
at com.gallery.GalleryRemote.util.ImageUtils.loadJava(ImageUtils.java:172)
at com.gallery.GalleryRemote.util.ImageUtils.<clinit>(ImageUtils.java:873)
... 6 more


thanx!
Liu
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Mon Oct 03, 2005 9:44 pm    Post subject: Reply with quote

Hello...

I, too, am unable to get gallery-remote to work. I get the following:
Code:
cgmd # gallery-remote
/usr/bin/gallery-remote: line 3: java: command not found


It appears I need a proper command to start java, and then to edit line 3 of the gallery-remote script to evoke that command...

...whatever that means! :?

I could use some help...

Thanks...
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Thu Oct 06, 2005 1:20 pm    Post subject: Reply with quote

I likewise have the same error:
Code:
 $ gallery-remote
Instanciating Gallery Remote...
Logger thread running
Creating log file in /tmp
Can't write to log file. Disabling log...
Logger thread shutting down
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.gallery.GalleryRemote.PictureInspector.jbInit(PictureInspector.java:195)
        at com.gallery.GalleryRemote.PictureInspector.<init>(PictureInspector.java:91)
        at com.gallery.GalleryRemote.MainFrame.<init>(MainFrame.java:150)
        at com.gallery.GalleryRemote.GalleryRemoteMainFrame.initializeGR(GalleryRemoteMainFrame.java:58)
        at com.gallery.GalleryRemote.GalleryRemote.main(GalleryRemote.java:187)
Caused by: java.lang.NullPointerException
        at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
        at com.gallery.GalleryRemote.util.ImageUtils.loadJava(ImageUtils.java:172)
        at com.gallery.GalleryRemote.util.ImageUtils.<clinit>(ImageUtils.java:873)
        ... 5 more


There may be a necessary additional package to start up Gallery-Remote:
Code:
InstallGalleryRemote.jar

...at least that has been mentioned elsewhere. I have been unable to find a source for that file, though. My thread about this in the Gallery Forum has only been somewhat helpful regarding this...

Does anyone have additional thoughts?

Thanks...
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Fri Oct 14, 2005 12:20 am    Post subject: Reply with quote

After a week long struggle with this, I finally have Gallery Remote up and running. Out of curiosity, I simply upgraded to:
Code:
app-misc/gallery-remote-1.4.1-r3

...and, voila, GR started right up!

Thought I'd pass this along to anyone still struggling with that problem... :D
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
cajzell
Apprentice
Apprentice


Joined: 07 Jan 2004
Posts: 171
Location: Falkenberg, Sweden

PostPosted: Sun May 28, 2006 9:47 pm    Post subject: Reply with quote

Me too, I just did

Code:
echo "app-misc/gallery-remote ~x86" >> /etc/portage/package.keywords
emerge -av gallery-remote


and it came up.

Still 1.4 though, 1.5 is out, hopefully in portage soon.
_________________
"Prediction is very difficult, especially about the future."
-Niels Bohr
Back to top
View user's profile Send private message
Kraymer
Guru
Guru


Joined: 27 Aug 2003
Posts: 349
Location: Germany

PostPosted: Thu Sep 21, 2006 10:11 am    Post subject: 1.4.1-r3 working, 1.5 experimental ebuild Reply with quote

I had the same problem and -r3 fixed it too for me.
cajzell wrote:
Still 1.4 though, 1.5 is out, hopefully in portage soon.

Look bug report here for 1.5 ebuild.. Don't know if it's worth trying, would have to have a look at the 1.5 changelog..

EDIT: hm, there are quite some changes/bug fixes in v1.5, especially for use with G2. Hope the ebuild will make it to portage soon.
Back to top
View user's profile Send private message
gordonp
n00b
n00b


Joined: 23 May 2005
Posts: 43

PostPosted: Sat May 05, 2007 2:44 pm    Post subject: Reply with quote

Is 1.5 baked, and ready for release? It's like a year and a half since this thread began, and since GR 1.5 was released.

Thanks!
-GordP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum