Hello everybody,

is anyone else having problems with the inline opening of files?
I seem to run out of heapspace every now and then even if i 
dont do much in the background. (I am using jmol als an import for 
my java applet). It crashes especially with big files such as nmr-Files.
However if i load them directly with jmol there is no error and they 
get displayed correctly.

Also sometimes i get the error below. Anyone an idea why i am getting 
it and how i can fix it?

Cheers 
Franz

FileManager.openStringInline(,0,0,0,0)
SmarterJmolAdapter:The Resolver thinks:Pdb
: String index out of range: 70
java.lang.String - 1935 - substring
org.jmol.adapter.smarter.PdbReader - 482 - het
org.jmol.adapter.smarter.PdbReader - 102 - readAtomSetCollection
org.jmol.adapter.smarter.Resolver - 69 - resolve
org.jmol.adapter.smarter.SmarterJmolAdapter - 66 - openBufferedReader
org.jmol.viewer.FileManager$FileOpenThread - 527 - openBufferedReader
org.jmol.viewer.FileManager$FileOpenThread - 511 - run
org.jmol.viewer.FileManager - 179 - openStringInline
org.jmol.viewer.Viewer - 1153 - openStringInline
org.jmol.viewer.Viewer - 1212 - loadInline
org.jmol.viewer.Viewer - 1176 - loadInline
my.praktikum.PocketViewerPicker - 183 - Load_from_file
my.praktikum.CPocketViewerPicker - 211 - actionPerformed
javax.swing.AbstractButton - 1995 - fireActionPerformed
javax.swing.AbstractButton$Handler - 2318 - actionPerformed
javax.swing.DefaultButtonModel - 387 - fireActionPerformed
javax.swing.DefaultButtonModel - 242 - setPressed
javax.swing.plaf.basic.BasicButtonListener - 236 - mouseReleased
java.awt.Component - 6038 - processMouseEvent
javax.swing.JComponent - 3260 - processMouseEvent
java.awt.Component - 5803 - processEvent
java.awt.Container - 2058 - processEvent
java.awt.Component - 4410 - dispatchEventImpl
java.awt.Container - 2116 - dispatchEventImpl
java.awt.Component - 4240 - dispatchEvent
java.awt.LightweightDispatcher - 4322 - retargetMouseEvent
java.awt.LightweightDispatcher - 3986 - processMouseEvent
java.awt.LightweightDispatcher - 3916 - dispatchEvent
java.awt.Container - 2102 - dispatchEventImpl
java.awt.Component - 4240 - dispatchEvent
java.awt.EventQueue - 599 - dispatchEvent
java.awt.EventDispatchThread - 273 - pumpOneEventForFilters
java.awt.EventDispatchThread - 183 - pumpEventsForFilter
java.awt.EventDispatchThread - 173 - pumpEventsForHierarchy
java.awt.EventDispatchThread - 168 - pumpEvents
java.awt.EventDispatchThread - 160 - pumpEvents
java.awt.EventDispatchThread - 121 - run
error opening string
java.lang.StringIndexOutOfBoundsException: String index out of range: 70

        

> Von: "H. Paul Benton" <[EMAIL PROTECTED]>
> An: jmol-users@lists.sourceforge.net
> Betreff: Re: [Jmol-users] loading jmol file from open babel
> Datum: Mon, 22 Jan 2007 17:08:42 -0800

> Angel,
> 
>     I did the ../../ because the javascript was in java/jmol/ and the
> php was in the htdocs dir. However, I tried removing the ../.. and the
> java gave the errror of FileNotFound exception. I'm going to look at the
> script more and see if openbabel is causing problems.
> 
>     Thanks
> 
> Research Technician
> Mass Spectrometry
>    o The
>   /
> o Scripps
>   \
>    o Research
>   /
> o Institute 
> 
> 
> 
> Angel Herraez wrote:
> > Hi Paul
> >
> > I may be wrong, since I know no PHP, but it seems as if you are 
> > reading "struct.mol"
> > writing "struct.xyz"
> > and then trying to load "../../struct.xyz"
> > which is on a different path
> >
> > Although that would give a Jmol error, not a webserver error.
> >
> > Can't you locate the line number where the error is?
> > Or simplify your code for testing, narrowing down the search.
> >
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> > <a
> href=http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> </a>> _______________________________________________
> > Jmol-users mailing list
> > Jmol-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jmol-users
> >
> >
> >   
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> <a
> href=http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
> EV>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> </a>_______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

Schnell und einfach ohne Anschlusswechsel zur Lycos DSL Flatrate wechseln und 3 
Monate kostenlos ab effektiven 5,21 EUR pro Monat im ersten Jahr surfen.
http://www.lycos.de/startseite/online/dsl/index.html?prod=DSL&trackingID=email_footertxt
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to