Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 103938
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Thomas Matthijs (RETIRED) <axxo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Tacker <m@tacker.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 103938 depends on: Show dependency tree
Bug 103938 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-27 10:39 0000
$ 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


Reproducible: Always
Steps to Reproduce:
1. Run gallery-remote

------- Comment #1 From Markus Tacker 2005-08-27 10:40:23 0000 -------
$ emerge --info

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distcc distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa apm arts avi bcmath berkdb bitmap-fonts
browserplugin calendar cdr crypt ctype cups curl dba dv dvd dvdr dvdread eds
emboss encode esd fam foomaticdb fortran ftp gd gdbm gif gpm gtk gtk2 hal
ieee1394 imagemagick imlib inifile java jpeg junit kde kdeenablefinal libg++
libwww mad mikmod mime mmx motif mp3 mpeg mpm-worker mysql ncurses nls oggvorbis
opengl oss pam pcntl pdflib perl pic png python qt quicktime readline real samba
sdl session simplexml soap sockets spell spl sqlite sse ssl tcpd threads tidy
tiff tokenizer truetype truetype-fonts type1-fonts vhosts wddx win32codecs xml2
xmlrpc xsl xv xvid zlib video_cards_radeon linguas_de userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #2 From Markus Tacker 2005-08-28 00:18:17 0000 -------
The version from the bin installer works.
http://prdownloads.sourceforge.net/gallery/GalleryRemote.1.4.1.Linux.NoVM.bin?download

------- Comment #3 From Thomas Matthijs (RETIRED) 2005-09-08 06:44:41 0000 -------
which jdk/jre are you using?

------- Comment #4 From Markus Tacker 2005-09-08 07:29:58 0000 -------
(In reply to comment #3)
> which jdk/jre are you using?

dev-java/sun-jre-bin-1.5.0.04

------- Comment #5 From Thomas Matthijs (RETIRED) 2005-09-08 09:00:24 0000 -------
should be fixed in 1.4.1-r1 if you could give it a try

------- Comment #6 From Jim Laflin 2005-09-08 09:21:42 0000 -------
Still broken for me, took a bit longer for it to break though (waited for a few
seconds after "creating log file in /tmp"

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


Jim

------- Comment #7 From Thomas Matthijs (RETIRED) 2005-09-08 09:46:23 0000 -------
i'm probably gonna sound like an ass but:
are you sure you tried the 1.4.1-r1 version?
you replied 20 after i commited it, i don't think thats even enough time for it 
to hit rsync mirrors

------- Comment #8 From Jonathan Adamczewski 2005-09-08 21:23:51 0000 -------
I'm probably gonna sound like a prick but could you please put an entry in the
ChangeLog when you make a change?  Thanks.

------- Comment #9 From Thomas Matthijs (RETIRED) 2005-09-09 01:47:57 0000 -------
yeah seems like i forgot that

------- Comment #10 From Thomas Matthijs (RETIRED) 2005-09-09 02:00:26 0000 -------
closing again

------- Comment #11 From Markus Tacker 2005-09-09 06:21:32 0000 -------
(In reply to comment #5)
> should be fixed in 1.4.1-r1 if you could give it a try

/opt/blackdown-jdk-1.4.2.02/bin/java -jar lib/GalleryRemote.jar
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


/opt/sun-jre-bin-1.5.0.04/bin/java -jar lib/GalleryRemote.jar
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>(Unknown Source)
        at com.gallery.GalleryRemote.util.ImageUtils.loadJava(ImageUtils.java:172)
        at com.gallery.GalleryRemote.util.ImageUtils.<clinit>(ImageUtils.java:873)
        ... 5 more

------- Comment #12 From Thomas Matthijs (RETIRED) 2005-09-10 04:41:46 0000 -------
what about -r2 ? :)

------- Comment #13 From Jim Laflin 2005-09-14 12:33:17 0000 -------
(In reply to comment #7)
> are you sure you tried the 1.4.1-r1 version?
> you replied 20 after i commited it, i don't think thats even enough time for it 
> to hit rsync mirrors

Yes I did try -r1.. I pulled it from cvs :) 

> i'm probably gonna sound like an ass

No comment ;)

I am very sorry to report... with -r2...

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


Jim

------- Comment #14 From Jim Laflin 2005-09-14 12:34:17 0000 -------
Oh, someone removed amd64@g.o from the CC. Adding myself..

------- Comment #15 From Thomas Matthijs (RETIRED) 2005-09-14 12:40:53 0000 -------
can you post the output of 
equery files gallery-remote
(equery is in app-portage/gentoolkit)
and the version of dev-java/metadata-extractor you have installed

------- Comment #16 From Jim Laflin 2005-09-14 12:50:35 0000 -------
[ Searching for packages matching gallery-remote... ]
app-misc/gallery-remote-1.4.1-r2
* Contents of app-misc/gallery-remote-1.4.1-r2:
/usr
/usr/bin
/usr/bin/gallery-remote
/usr/share
/usr/share/doc
/usr/share/doc/gallery-remote-1.4.1-r2
/usr/share/doc/gallery-remote-1.4.1-r2/ChangeLog.gz
/usr/share/doc/gallery-remote-1.4.1-r2/README.gz
/usr/share/gallery-remote
/usr/share/gallery-remote/imagemagick
/usr/share/gallery-remote/imagemagick/im.properties
/usr/share/gallery-remote/img
/usr/share/gallery-remote/img/Copy16.gif
/usr/share/gallery-remote/img/Cut16.gif
/usr/share/gallery-remote/img/Delete16.gif
/usr/share/gallery-remote/img/Down16.gif
/usr/share/gallery-remote/img/FlipHoriz24.gif
/usr/share/gallery-remote/img/Information16.gif
/usr/share/gallery-remote/img/New16.gif
/usr/share/gallery-remote/img/Open16.gif
/usr/share/gallery-remote/img/Paste16.gif
/usr/share/gallery-remote/img/Preferences16.gif
/usr/share/gallery-remote/img/RotateLeft24.gif
/usr/share/gallery-remote/img/RotateRight24.gif
/usr/share/gallery-remote/img/Save16.gif
/usr/share/gallery-remote/img/Stop16.gif
/usr/share/gallery-remote/img/Up16.gif
/usr/share/gallery-remote/img/WebComponent16.gif
/usr/share/gallery-remote/img/WebComponentAdd16.gif
/usr/share/gallery-remote/img/computer.gif
/usr/share/gallery-remote/img/default.gif
/usr/share/gallery-remote/img/uploading.gif
/usr/share/gallery-remote/jpegtran
/usr/share/gallery-remote/jpegtran/jpegtran.properties
/usr/share/gallery-remote/lib
/usr/share/gallery-remote/lib/GalleryRemote.jar
/usr/share/gallery-remote/lib/metadata-extractor-2.1.jar ->
/usr/share/metadata-extractor/lib/metadata-extractor.jar
/usr/share/gallery-remote/package.env


And metadata-extractor was upgraded for me along with gallery-remote
 
* dev-java/metadata-extractor
     Available versions:  2.2.2-r1
     Installed:           2.2.2-r1

Jim

------- Comment #17 From Thomas Matthijs (RETIRED) 2005-09-14 14:42:05 0000 -------
Hmm, i must have been sleeping last week

It should be realy fixed now

Sorry everyone :\

------- Comment #18 From Jim Laflin 2005-09-14 15:27:10 0000 -------
Works fine here, thanks for your time

Jim

------- Comment #19 From N Addy 2005-11-08 19:59:18 0000 -------
Getting the same error on gallery-remote-1.4.1-r3.  I tried re-emerging the
ebuild this evening.  Still no joy.

I'm running blackdown-jdk-1.4.2.02 and metadata-extractor-2.2.2-r1.

Trace shows the following:

<snip>
     27|TRACE|UsrProps  |useJavaResize= |true|
     27|TRACE|UsrProps  |useProxy= |false|
     27|TRACE|UsrProps  |username.0= |admin|
     27|TRACE|UsrProps  |username.1= |admin|
     27|TRACE|UsrProps  |version= |1.4.1|
     35|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)

     36|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)

     49|TRACE|PropsFile |Trying to find Gallery Remote.lax in Classpath
     49|TRACE|PropsFile |Trying to find Gallery Remote.lax in Current Working Dir
     49|INFO |Update    |LAX file not found: probably running from Ant or IDE...
   1399|INFO |GRI18n    |
   1425|INFO |ImageUtils|tmpDir: /tmp/thumbs
   1426|TRACE|PropsFile |Trying to find im.properties in Classpath
   1427|TRACE|PropsFile |Trying to find im.properties in Current Working Dir
   1427|CRITI|ImageUtils|java.io.FileNotFoundException: im.properties (No such
file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at
com.gallery.GalleryRemote.prefs.PropertiesFile.read(PropertiesFile.java:186)
        at com.gallery.GalleryRemote.util.ImageUtils.<clinit>(ImageUtils.java:829)
        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)

What was done to fix this?  

# emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emacs
emboss encode esd flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm
gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit libg++ libwww mad
mikmod motif mozilla mp3 mpeg mysql nas ncurses nls odbc ogg oggvorbis opengl
oss pam pdflib perl png postgres python quicktime readline ruby samba sdl
session slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts udev vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug