Version: (using KDE 4.2.2) OS: Linux Installed from: Fedora RPMs Konqueror fails to show structures in Jmol applets. When trying to view a structure in an applet with KIO enabled , the applet initialises but fails to load the PDB structure file. How to Reproduce: 1. Navigate to http://ArachnoServer.org/toxincard.html?id=48 with Konqueror 2. Expand "Toxin Structure" on the bottom of the page; Jmol applet will start 3. Click a PDB button. Expected Behaviour: PDB file loaded by applet; user can view structure. This occurs for all browsers mentioned at http://ArachnoServer.org/mainMenu.html . Result: File Error:java.lang.StringIndexOutOfBoundsException: String index out of range: -1 Notes: - Jmol.js used by example website - Bug reproducible with other sites using Jmol - To view error output or attempt re-load, right-click applet window and select 'Console' from menu - The "Software Requirements" section at http://konqueror.kde.org/javahowto mentions a problem with Sun JVM 1.3; does this apply for later Sun releases and OpenJDK? Here's my java console output: Java VM version: 1.6.0_12 Java VM vendor: Sun Microsystems Inc. Java VM: Sun Microsystems Inc. 1.6.0_12 SecurityManager=org.kde.kjas.server.KJASSecurityManager@18385e3 ---------------------------------------------------- Konqueror Java Console Help c: clear console g: run garbage collection h: show help m: show memory info s: print system properties t: list threads x: empty classloader cache ---------------------------------------------------- Jmol applet jmolApplet0[038198811951186] initializing language=en_US AppletRegistry.checkIn(jmolApplet0[038198811951186]) urlImage=jar:http://arachnoserver.org/scripts/jmol/JmolApplet0.jar!/jmol75x29x8.gif (C) 2007 Jmol Development Jmol Version 11.4.5 2007-12-20 06:37 java.vendor:Sun Microsystems Inc. java.version:1.6.0_12 os.name:Linux memory:3.8/5.2 appletId:jmolApplet0 appletDocumentBase=http://arachnoserver.org/ appletCodeBase=http://arachnoserver.org/scripts/jmol/ KJAS: JSObject.getWindow KJAS: JSObject.ctor: [WINDOW] KJAS: JSObject.getMember: [WINDOW].document KJAS: evaluate (".document") KJAS: value=[object HTMLDocument] (type=1) KJAS: JSObject.ctor: [object HTMLDocument] FileManager.openStringInline() : String index out of range: -1 java.lang.String - 208 - <init> org.jmol.adapter.smarter.LimitedLineReader - -1 - getHeader org.jmol.adapter.smarter.Resolver - -1 - determineAtomSetCollectionReader org.jmol.adapter.smarter.Resolver - -1 - resolve org.jmol.adapter.smarter.SmarterJmolAdapter - -1 - openBufferedReader org.jmol.viewer.FileManager$FileOpenThread - -1 - openBufferedReader org.jmol.viewer.FileManager$FileOpenThread - -1 - run org.jmol.viewer.FileManager - -1 - openStringInline org.jmol.viewer.Viewer - -1 - openStringInline org.jmol.viewer.Viewer - -1 - loadInline org.jmol.viewer.Viewer - -1 - loadInline org.jmol.applet.Console - -1 - 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 - 6216 - processMouseEvent javax.swing.JComponent - 3265 - processMouseEvent java.awt.Component - 5981 - processEvent java.awt.Container - 2041 - processEvent java.awt.Component - 4583 - dispatchEventImpl java.awt.Container - 2099 - dispatchEventImpl java.awt.Component - 4413 - dispatchEvent java.awt.LightweightDispatcher - 4556 - retargetMouseEvent java.awt.LightweightDispatcher - 4220 - processMouseEvent java.awt.LightweightDispatcher - 4150 - dispatchEvent java.awt.Container - 2085 - dispatchEventImpl java.awt.Window - 2475 - dispatchEventImpl java.awt.Component - 4413 - dispatchEvent java.awt.EventQueue - 599 - dispatchEvent java.awt.EventDispatchThread - 269 - pumpOneEventForFilters java.awt.EventDispatchThread - 184 - pumpEventsForFilter java.awt.EventDispatchThread - 174 - pumpEventsForHierarchy java.awt.EventDispatchThread - 169 - pumpEvents java.awt.EventDispatchThread - 161 - pumpEvents java.awt.EventDispatchThread - 122 - run file ERROR: string java.lang.StringIndexOutOfBoundsException: String index out of range: -1
If this component is no longer maintainer, I am happy for this bug to be closed.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!