If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.
List of issues#2104 Import text error
Author: rainssong
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed
> Steps
1. open swf
2. export text
3. pickone text ,change to empty
4. import text
5. error
6. delete empty text files
7. import text
8. works
> Version 19.1.2
> output
SEVERE: Uncaught exception in thread: AWT-EventQueue-0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:48)
at java.base/java.lang.String.charAt(String.java:1515)
at
com.jpexs.decompiler.flash.tags.base.StaticTextTag.setFormattedText(StaticTextTag.java:475
)
at
com.jpexs.decompiler.flash.importers.TextImporter.saveText(TextImporter.java:162)
maybe change
if (txt == null || (font == null && txt.isEmpty())) {
continue;
}
to
if (txt == null || txt.isEmpty()) {
continue;
}
will solve the problem
This is fixed in nightly 2667.
State: new→upgraded
State: upgraded→closed