Bugs item #922059, was opened at 2004-03-23 23:05 Message generated for change (Settings changed) made by egonw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=922059&group_id=23629
Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Miguel (michaelthoward) Assigned to: Egon Willighagen (egonw) Summary: command line options Initial Comment: Egon, I took a look at this for a few minutes, but couldn't figure out what was wrong. There is something wrong with the way that the 'script' option is being created. Error output: [EMAIL PROTECTED] Jmol-HEAD]$ ./jmol -script samples/testscript.txt Unexpected exception: org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -s Exception in thread "main" java.lang.NullPointerException at org.openscience.jmol.app.Jmol.main(Jmol.java:389) [EMAIL PROTECTED] Jmol-HEAD]$ -------- Original Message -------- Subject: Re: [Jmol-users] Jmol v10 prerelease 7 From: Judith Cohn <[EMAIL PROTECTED]> Date: Tue, March 23, 2004 18:45 To: [EMAIL PROTECTED] On Mar 22, 2004, at 3:04 PM, Miguel wrote: > Jmol v10pre7 is now released. > > It can be retrieved from: > http://jmol.sf.net/betatest > > Should Jmol v10pre7 have fixed the -script error? When I try to execute a script now: java -jar Jmol.jar -script scriptname I get the "old" error message that I got with v8 and v9 rather than the newer error message - so something has changed: Unexpected exception: org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -s Exception in thread "main" java.lang.NullPointerException at org.openscience.jmol.app.Jmol.main(Jmol.java:389) Judith ---------------------------------------------------------------------- Comment By: Egon Willighagen (egonw) Date: 2004-03-24 10:17 Message: Logged In: YES user_id=25678 This is the output that I get: > java -jar Jmol.jar --script samples/testscript.txt using Smarter Model Adapter (C) 2004 The Jmol Development Team Jmol Version 10pre7 2004/03/22 20:18 java.vendor:Sun Microsystems Inc. java.version:1.4.2_01 os.name:SunOS Graphics3D.setSize(640,10) getting ready to allocateBuffers returning from Graphics3D.setSize() Graphics3D.setSize(486,431) getting ready to allocateBuffers returning from Graphics3D.setSize() Executing script: samples/testscript.txt uncaught exception: java.lang.NullPointerException: string is null java.lang.NullPointerException: string is null at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2530) at org.openscience.jmol.app.Splash.showStatus(Splash.java:98) at org.openscience.jmol.app.Jmol.main(Jmol.java:425) ---------------------------------------------------------------------- Comment By: Egon Willighagen (egonw) Date: 2004-03-24 09:35 Message: Logged In: YES user_id=25678 The argument is --script... See java -jar Jmol.jar -h. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=922059&group_id=23629 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers