Comments (4)
could you please provide the stacktrace about this exception?
from svgtoandroid.
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at com.moxun.s2v.utils.CommonUtil.dumpAttrs(CommonUtil.java:44)
at com.moxun.s2v.SVGParser.trim(SVGParser.java:177)
at com.moxun.s2v.SVGParser.trim(SVGParser.java:189)
at com.moxun.s2v.SVGParser.trim(SVGParser.java:189)
at com.moxun.s2v.SVGParser.trim(SVGParser.java:189)
at com.moxun.s2v.SVGParser.getGroups(SVGParser.java:89)
at com.moxun.s2v.SVGParser.hasGroupTag(SVGParser.java:146)
at com.moxun.s2v.Transformer.transforming(Transformer.java:71)
at com.moxun.s2v.GUI$6.actionPerformed(GUI.java:131)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
from svgtoandroid.
@tianzhijiexian are you interested in fixing it?
from svgtoandroid.
@adr0425 @restor1 thanks for your report! the repaired version will be released soon
from svgtoandroid.
Related Issues (20)
- Plugin SVG2VectorDrawable was not installed: Cannot download 'https://plugins.jetbrains.com/pluginManager/?action=download&id=com.moxun.plugin.s2v&build=AI-171.4249.39&uuid=cffc0d58-aa91-4fc5-82dc-50fe5abb19ae': Read timed out
- Plugin Error: SVG2VectorDrawable threw an uncaught StringIndexOutOfBoundsException. Disable Plugin
- 转换之后有的显示不全,有的一点不显示??? HOT 3
- 下载地址不见了?
- java.lang.NumberFormatException: multiple points
- 在as 3.1.4上无法安装 HOT 1
- 加载出来后无法显示和点击插件,图标是灰色的。 HOT 3
- AS 3.4 上不显示插件入口 HOT 6
- Output name of file is incorrect in some cases (filenames with numbers?) HOT 1
- How to access the plugin, what does "Click ..." means in README? HOT 2
- 在AS3.6 上启动崩了 HOT 5
- svg source directory not set
- android studio 4.0 has not svg icon in menu list HOT 1
- change the icon plz HOT 1
- 较为复杂的插画的svg,转换失败 HOT 3
- 未适配AndroidStudio4.1 HOT 4
- android studio 4.1.1 svg转换xml失败 HOT 7
- Request: offer the opposite tool too, by a context menu on the VectorDrawable file HOT 2
- 1.9.0版本在Androidstudio 4.0.1与 4.1.1上均无法正确转换,得到的xml文件是空的 HOT 6
- 能都在设置里加上转换完成后自动删除原文件的选项
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgtoandroid.