[scilab-Users] Problem saving xcos file.

sanjeev pandey sanjeev211988 at gmail.com
Tue Jun 8 11:45:26 CEST 2010


        ___________________________________________
                         scilab-5.2.2

                 Consortium Scilab (DIGITEO)
               Copyright (c) 1989-2010 (INRIA)
               Copyright (c) 1989-2007 (ENPC)
        ___________________________________________

Exception in thread "AWT-EventQueue-0"
java.lang.StringIndexOutOfBoundsException
: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at org.scilab.modules.xcos.graph.XcosDiagram.saveDiagramAs(Unknown
Sourc
e)
        at org.scilab.modules.xcos.graph.XcosDiagram.saveDiagram(Unknown
Source)

        at
org.scilab.modules.xcos.actions.SaveAction.actionPerformed(Unknown So
urce)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Sour
ce)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Is this what you meant?

2010/6/8 Clément DAVID <clement.david at scilab.org>

> Hello,
>
> Can you post any useful backtrace from the Scilab console or from the
> console window (use F12 on windows to get it) please ?
>
> --
> Clément DAVID
>
> > Hi,
> >
> > I am using Scilab version 5.2.2 with Xcos 1.0. I am facing a problem
> > in saving any model (even blank diagram) in Xcos. I even reinstalled
> > the software, still the problem persists. Please help me in this
> > regard. Thanks in anticipation.
> >
> > --
> > Sanjeev Pandey
> >
> > Graduate Student,
> > Process Systems Engineering
> > Helsinki University of Technology,Finland
>
>


-- 
Sanjeev Pandey

Graduate Student,
Process Systems Engineering
Helsinki University of Technology,Finland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100608/da7275b6/attachment.htm>


More information about the users mailing list