Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115949 - firefox - Error:document has no properties'
Summary: firefox - Error:document has no properties'
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-18 08:59 UTC by Mark Knecht
Modified: 2005-12-18 09:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Knecht 2005-12-18 08:59:10 UTC
At this web site Linux Firefox/Java is reacting different than both Mac Safari/Java or IE6/java:

http://www.smithandnoble.com/sn/photoGalleryDetail.jsp?catID=-14150

If I click the pictures at the right nothing happens under Linux. The browser shows "javascript:switchImage(0)" in the lower left, but when I click on any of the small photos I get no new image. This works on other platforms but fails here on both a P4HT (x86) and an AMD64 machine, in both 64-bit mode and in a 32-bit chroot'ed environment.

I see the following in the Java console:

Error: document.frm_bundle.heroImage has no properties
Source File: http://www.smithandnoble.com/sn/photoGalleryDetail.jsp?catID=-14150
Line: 114

I know almost nothing about Java. I have tried the blackdown-jre, blackdown-jdk and sun-jre-bin. All seem to fail the same way.

lightning ~ # emerge info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-rt22 x86_64)
=================================================================
System uname: 2.6.14-rt22 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.gentoo.gr.jp http://www.zentek-international.com/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cdb cdr crypt cups curl dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac fluidsynth foomaticdb fortran gif gimp gimpprint glut gnome gpm gstreamer gtk gtk2 i8x0 idn imagemagick imlib ipv6 jack jack-tmpfs java jpeg kde ladspa lcms lirc lzw lzw-tiff mad mjpeg mng mp3 mpeg mysql mythtv ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png ppds python qt quicktime radeon readline real sdl sndfile spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis xine xml2 xpm xscreensaver xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

lightning ~ #
lightning ~ # java-config -L
[blackdown-jre-1.4.2.02] "Blackdown JRE 1.4.2.02" (/etc/env.d/java/20blackdown-jre-1.4.2.02)
[blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03) *
lightning ~ #


lightning ~ # emerge -pv blackdown-jre blackdown-jdk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-java/blackdown-jre-1.4.2.02-r1  -browserplugin -mozilla +nsplugin 0 kB
[ebuild   R   ] dev-java/blackdown-jdk-1.4.2.03  -browserplugin -doc -mozilla +nsplugin 0 kB

Total size of downloads: 0 kB
lightning ~ #
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-12-18 09:19:48 UTC
There is no java on that site only javascript
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-18 09:24:53 UTC
Huh... INVALID.
Comment 3 Mark Knecht 2005-12-18 09:32:52 UTC
Wow! So these are not the same? (java and javascript?)

OK, can this work on a Linux box? If so please help me understand what to install so I can test it. Thanks.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-18 09:48:08 UTC
(In reply to comment #3)
> Wow! So these are not the same? (java and javascript?)
> 
> OK, can this work on a Linux box? If so please help me understand what to
> install so I can test it. Thanks.

No, they are definitely not the same, neither on Windows or on Linux. You don't install anything for javascript, it *just works* if the browser supports it. Firefox definitely supports JS, so the code on that page is either broken or you have disbled JS support in FF.

Finally, please note that Gentoo Bugzilla is not a support forum. Thanks. 

Closing.