OK, this is set in FileManager, in getAtomSetCollectionFromFile. It is the
first element of the names[] array returned from getClassifiedName, which
comes from the nameAsGiven variable.
Look for a message in the Jmol console that comes from this:
Logger.info("\nFileManager.getAtomSetCollectionFromFile(" + nameAsGiven
+ ")" + (name.equals(nameAsGiven) ? "" : " //" + name));
Q: Is this an unsigned applet running on a local machine? If so, you might
be hitting:
String s = file.getFullPath();
// local unsigned applet may have access control issue here and get
a null return
String fname = file.getName();
names = new String[] { (s == null ? fname : s), fname,
(s == null ? fname : "file:/" + s.replace('\\', '/')) };
although that's for the file.getFullPath() call, not file.getName(), and so
s would be null, not fname.
You must be using the signed applet, though. Can't be the unsigned. So if
that's not it....
On Fri, Aug 26, 2016 at 6:23 AM, Robert Hanson <[email protected]> wrote:
> Ah! OK. Good. So then htParams.get("fullPathName") is null. OK...
>
> On Fri, Aug 26, 2016 at 4:36 AM, Jim Procter <[email protected]>
> wrote:
>
>> Hi Bob -
>>
>> On 26/08/2016 06:57, Charles Ofoegbu (Staff) wrote:
>> > I checked the auxiliaryInfo hash table while debugging this yesterday
>> > and it had a null string for the fileName key. I'm pretty sure about
>> that.
>>
>> Just to clarify - that's a String called "null" as the key :)
>>
>> j.
>>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
_______________________________________________
Jalview-dev mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev