Found it. I'll get it uploaded this weekend. It's a problem specific to jpg not 
png. 

Sent from my stupid iphone

On Jan 9, 2012, at 2:26 PM, Eric Martz <ema...@microbio.umass.edu> wrote:

> Yes, Bob, I can "write image ..." from the signed applet URL you gave 
> (Jmol 12.3.10).
> 
> And I confirm that I can write an image just fine from Jmol 
> application 12.3.10.
> 
> As I reported initially, the NullPointerException occurs on all my 
> attempts to write an image in Jmol application 12.2.11 and 12.2.4. I 
> just tested 12.2.7 and it also failed to write an image. So it may be 
> that whatever is wrong is consistent through the entire 12.2 series 
> of releases.
> 
> As I reported initially, 12.0.31 writes images with no problems. I 
> have been using it extensively for this purpose.
> 
> In conclusion, I think there is something preventing many or all of 
> the 12.2 series of application OFFICIAL releases from writing images.
> 
> As long as 12.2.11 remains the official release, it may be worthwhile 
> fixing its ability to write images.
> 
> Thanks, -Eric
> 
> At 1/8/12, you wrote:
>> Almost certainly a bad build. Please try that at 
>> http://chemapps.stolaf.edu/jmol/docs/examples-12/simple.htm
>> 
>> Sent from my stupid iphone
>> 
>> On Jan 8, 2012, at 2:01 PM, Eric Martz <ema...@microbio.umass.edu> wrote:
>> 
>>> The following session is with Jmol 12.2.11, Jmol graphics window set
>>> to 500 x 400 pixels. I will send the state script to you directly,
>>> Bob, off list. -Eric
>>> 
>>> $ load =1d66
>>> TRANSCRIPTION/DNA                       06-MAR-92   1D66
>>> DNA RECOGNITION BY GAL4: STRUCTURE OF A PROTEIN/DNA COMPLEX
>>> 
>>> $ write image jpg test.jpg
>>> script ERROR: ERROR creating image: java.lang.NullPointerException
>>> ----
>>>>> write << image jpg "test.jpg"
>>> $ write state image-bug.spt
>>> OK SPT 7842 /Users/emartz/Downloads/SAVED/jmol-12.2.11/image-bug.spt
>>> $
>>> 
>>> At 1/7/12, Bob Hanson wrote:
>>>> Not seeing the error.  if you could save the state and send me that
>>>> maybe I could spot the problem.
>>>> 
>>>> Sent from my stupid iphone
>>>> 
>>>> On Jan 4, 2012, at 1:28 PM, Eric Martz <ema...@microbio.umass.edu> wrote:
>>>> 
>>>>> Dear Bob,
>>>>> 
>>>>> With Jmol 12.2.11 and 12.2.4 I am unable to write an image. Most of
>>>>> the time I get a NullPointerException.
>>>>> 
>>>>> -----------------------
>>>>> $ write image jpg "m1.jpg"
>>>>> script ERROR: Error during rendering: java.lang.OutOfMemoryError:
>>>>> Java heap space
>>>>> ----
>>>>>>> write << image jpg "m1.jpg"
>>>>> $ zap
>>>>> 2,990 atoms selected
>>>>> 3,053 atoms selected
>>>>> $ write image jpg "1.jpg"
>>>>> script ERROR: ERROR creating image: java.lang.NullPointerException
>>>>> ----
>>>>>>> write << image jpg "1.jpg"
>>>>> $
>>>>> ------------------------
>>>>> 
>>>>> With Jmol 12.0.31, I can write images with no problem. I am using
>>>>> "set imagestate false" but that doesn't seems to matter 
>> regarding this bug.
>>>>> 
>>>>> Thanks, -Eric
>>>>> 
>>>>> 
>>>>> 
>>>> 
>> ------------------------------------------------------------------------------
>>>>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>>>>> infrastructure or vast IT resources to deliver seamless, secure access to
>>>>> virtual desktops. With this all-in-one solution, easily deploy virtual
>>>>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>>>>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>>>>> _______________________________________________
>>>>> Jmol-users mailing list
>>>>> Jmol-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>> 
>>>> 
>> ------------------------------------------------------------------------------
>>>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>>>> infrastructure or vast IT resources to deliver seamless, secure access to
>>>> virtual desktops. With this all-in-one solution, easily deploy virtual
>>>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>>>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>>>> _______________________________________________
>>>> Jmol-users mailing list
>>>> Jmol-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>> 
>>> 
>>> 
>> ------------------------------------------------------------------------------
>>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>>> infrastructure or vast IT resources to deliver seamless, secure access to
>>> virtual desktops. With this all-in-one solution, easily deploy virtual
>>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>>> _______________________________________________
>>> Jmol-users mailing list
>>> Jmol-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>> 
>> ------------------------------------------------------------------------------
>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>> infrastructure or vast IT resources to deliver seamless, secure access to
>> virtual desktops. With this all-in-one solution, easily deploy virtual
>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> 
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual 
> desktops for less than the cost of PCs and save 60% on VDI infrastructure 
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to