All,
I'm experiencing an error that is probably simple to fix but I'm lost. I'm
trying to create a simple page, based upon the test2.htm example. Both the
original test2 file (slightly edited to work locally) and the simplified one
I've created work in Firefox and IE but an error is thrown by Chrome (see
console display below). The crux seems to be something to do with
corescript.z.js. I'm working from locally stored files etc. and I've only have
the js2 folder (and files in it) available for my test. Any ideas would be
gratefully received.
Many thanks,
Anthony
./j2s/core/package.js
-- required by ClazzNode ajax=false async=true
./j2s/core/core.z.js
-- required by ClazzNode ajax=false async=true
JSmol exec jmolApplet0 start applet null
Jmol JavaScript applet jmolApplet0__367946548387408__ initializing
Jmol getValue debug null
Jmol getValue logLevel null
Jmol getValue allowjavascript true
AppletRegistry.checkIn(jmolApplet0__367946548387408__)
vwrOptions:
{
"name":"jmolApplet0","applet":true,"documentBase":"file:///C:/Users/calewis/JSmol_test/test2.htm","platform":"J.awtjs2d.Platform","allowjavascript":true,"fullName":"jmolApplet0__367946548387408__","codePath":"file:///C:/Users/calewis/JSmol_test/./j2s/","display":"jmolApplet0_canvas2d","signedApplet":"true","appletReadyCallback":"Jmol._readyCallback","statusListener":"[J.appletjs.Jmol
object]","syncId":"367946548387408","bgcolor":"#F0F0F0" }
setting document base to "file:///C:/Users/calewis/JSmol_test/test2.htm"
(C) 2012 Jmol Development
Jmol Version: 14.2.9_2014.11.23 2014-11-23 16:45
java.vendor: Java2Script (HTML5)
java.version: 2014-11-11 13:55:17 (JSmol/j2s)
os.name: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/39.0.2171.95 Safari/537.36
Access: ALL
memory: 0.0/0.0
processors available: 1
useCommandThread: false
appletId:jmolApplet0 (signed)
./j2s/core/corescript.z.js
-- required by ClazzNode ajax=true async=false
[Java2Script] Script error: Unexpected identifier
./j2s/core/corescript.z.js
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
'file:///C:/Users/calewis/JSmol_test/j2s/core/corescript.z.js'.
java.lang.NullPointerException
C. Anthony Lewis
Petroleum & Environmental Geochemistry Group & Centre for Chemical Sciences,
School of Geography, Earth and Environmental Sciences,
University of Plymouth,
Plymouth, Devon PL4 8AA, U.K.
tel: +44 (0)1752 584554
email: cale...@plymouth.ac.uk<mailto:cale...@plymouth.ac.uk>
web: http://www.pegg.org.uk<http://www.pegg.org.uk/>
http://www.plymouth.ac.uk/chemistry
________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>
This email and any files with it are confidential and intended solely for the
use of the recipient to whom it is addressed. If you are not the intended
recipient then copying, distribution or other use of the information contained
is strictly prohibited and you should not rely on it. If you have received this
email in error please let the sender know immediately and delete it from your
system(s). Internet emails are not necessarily secure. While we take every
care, Plymouth University accepts no responsibility for viruses and it is your
responsibility to scan emails and their attachments. Plymouth University does
not accept responsibility for any changes made after it was sent. Nothing in
this email or its attachments constitutes an order for goods or services unless
accompanied by an official order form.
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users