yeah -- it happened when I added the associative arrays. This should be OK
now.
On Sat, Jul 24, 2010 at 4:14 AM, Nicolas Vervelle <[email protected]>wrote:
> Almost every test is currently failing :(
>
>
> Error: [..\Jmol-datafiles\xyz\zoloft.xyz] java.lang.NullPointerException
> org.jmol.adapter.smarter.AtomSetCollectionReader - 326 - initialize
> org.jmol.adapter.smarter.AtomSetCollectionReader - 199 - readData
> org.jmol.adapter.smarter.SmarterJmolAdapter - 125 - getAtomSetCollection
> org.jmol.api.JmolAdapter - 196 - getAtomSetCollectionFromReader
> org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl - 223 - testFile
> org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl - 198 - runTest
>
>
> junit.framework.AssertionFailedError: Error in script
> [..\Jmol-datafiles\tests\scripts\check\monster_script.spt:
> invalid argument
> ----line 3 command 4 of
> ..\Jmol-datafiles\tests\scripts\check\monster_script.spt:
> pts = { >> c5 << } . split ( )
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertNull(Assert.java:233)
> at org.jmol.api.TestScriptsImpl.runSimpleTest(TestScripts.java:276)
> at org.jmol.api.TestScriptsImpl.testScript(TestScripts.java:189)
> at org.jmol.api.TestScriptsImpl.runTest(TestScripts.java:177)
>
>
>
>
> On Fri, Jul 23, 2010 at 8:44 PM, Robert Hanson <[email protected]> wrote:
>
>> OH, THAT test. I'm going to remove _dev now for RC27.
>>
>> On Fri, Jul 23, 2010 at 11:17 AM, Nicolas Vervelle
>> <[email protected]>wrote:
>>
>>> I have the following error in Eclipse
>>> Description Resource Path Location Type
>>> The method getAtomSetCollectionFromReader(String, null, BufferedReader,
>>> null) is undefined for the type SmarterJmolAdapter
>>> TestSmarterJmolAdapter.java Jmol/test/org/jmol/adapter/smarter line
>>> 223 Java Problem
>>>
>>>
>>>
>>> On Fri, Jul 23, 2010 at 12:42 AM, Robert Hanson <[email protected]>wrote:
>>>
>>>> which ones? I had no trouble today.
>>>>
>>>>
>>>> On Thu, Jul 22, 2010 at 4:39 PM, Nicolas Vervelle
>>>> <[email protected]>wrote:
>>>>
>>>>> Bob,
>>>>>
>>>>> Tests are currently not compiling on Jmol 12.0, not able to run the
>>>>> unit tests.
>>>>>
>>>>> Nico
>>>>>
>>>>> On Thu, Jul 22, 2010 at 10:41 PM, Robert Hanson <[email protected]>wrote:
>>>>>
>>>>>> All hands on deck for feature check.
>>>>>>
>>>>>> Please exercise Jmol as much as you can and report back all bugs as a
>>>>>> reply to this message.
>>>>>>
>>>>>> Uploaded version is at
>>>>>> http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.zip
>>>>>>
>>>>>>
>>>>>> I just added one final touch that should be of great utility but might
>>>>>> also introduce a bug or two. It's the last bit of "JavaScript-like" code
>>>>>> for
>>>>>> Jmol scripting: try/catch
>>>>>>
>>>>>>
>>>>>> load 1crn.pdb
>>>>>>
>>>>>> try {
>>>>>>
>>>>>> load "adlfka" #junk -- doesn't exist or has no atoms
>>>>>>
>>>>>> } catch (e) {
>>>>>>
>>>>>> prompt "that file didn't load. Here's the reason: " + e
>>>>>>
>>>>>> }
>>>>>>
>>>>>> # 1crn.pdb will still be loaded.
>>>>>>
>>>>>>
>>>>>> Works pretty much as in JavaScript. The TRY and CATCH braces are local
>>>>>> variable spans, like FOR and WHILE. Meaning if you use VAR in there, it's
>>>>>> local to that section. "e" will contain a message that includes the error
>>>>>> and the trace into the Jmol script (not the Java code) that shows what
>>>>>> generated it. It is a local variable to the CATCH{...} section. The CATCH
>>>>>> block is optional.
>>>>>>
>>>>>>
>>>>>> Bob
>>>>>>
>>>>>> --
>>>>>> Robert M. Hanson
>>>>>> Professor of Chemistry
>>>>>> St. Olaf College
>>>>>> 1520 St. Olaf Ave.
>>>>>> Northfield, MN 55057
>>>>>> http://www.stolaf.edu/people/hansonr
>>>>>> phone: 507-786-3107
>>>>>>
>>>>>>
>>>>>> If nature does not answer first what we want,
>>>>>> it is better to take what answer we get.
>>>>>>
>>>>>> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by Sprint
>>>>>> What will you do first with EVO, the first 4G phone?
>>>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>>>> _______________________________________________
>>>>>> Jmol-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by Sprint
>>>>> What will you do first with EVO, the first 4G phone?
>>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>>> _______________________________________________
>>>>> Jmol-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Robert M. Hanson
>>>> Professor of Chemistry
>>>> St. Olaf College
>>>> 1520 St. Olaf Ave.
>>>> Northfield, MN 55057
>>>> http://www.stolaf.edu/people/hansonr
>>>> phone: 507-786-3107
>>>>
>>>>
>>>> If nature does not answer first what we want,
>>>> it is better to take what answer we get.
>>>>
>>>> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by Sprint
>>>> What will you do first with EVO, the first 4G phone?
>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>> _______________________________________________
>>>> Jmol-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>> _______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>
>>
>> --
>> Robert M. Hanson
>> Professor of Chemistry
>> St. Olaf College
>> 1520 St. Olaf Ave.
>> Northfield, MN 55057
>> http://www.stolaf.edu/people/hansonr
>> phone: 507-786-3107
>>
>>
>> If nature does not answer first what we want,
>> it is better to take what answer we get.
>>
>> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users