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.

#1344 Save session + internal viewer bug (again but now with scripts instead texts)
Author:
megalol

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: GUI
State: closed 

> What steps will reproduce the problem?
Open any swf (for examplle gmp.swf), enable internal viewer and save session on exit.
Choose anything from scripts (for example DefineSprite (843) -> DoAction). Close FFDec.
Open FFDec again.
> What is the expected output? What do you see instead?
No error in log. Error in log and blank ActionScript source window (until refresh).
> What version of the product are you using? Is it "nightly build"? Which operating
system
do you have?
latest nightly. Win7SP1x64.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
02/02/2017 15:42:21 SEVERE null
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.jpexs.decompiler.flash.gui.View.execInEventDispatch(View.java:452)
at com.jpexs.decompiler.flash.gui.Main$OpenFileWorker.doInBackground(Main.java:1137)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: bad position: -1
at javax.swing.text.JTextComponent.setCaretPosition(Unknown Source)
at
com.jpexs.decompiler.flash.gui.editor.LineMarkedEditorPane.gotoLine(LineMarkedEditorPane.j
ava:218)
at
com.jpexs.decompiler.flash.gui.action.ActionPanel.setDecompiledEditMode(ActionPanel.java:9
18)
at com.jpexs.decompiler.flash.gui.action.ActionPanel.setSource(ActionPanel.java:446)
at com.jpexs.decompiler.flash.gui.MainPanel.reload(MainPanel.java:3461)
at com.jpexs.decompiler.flash.gui.MainPanel.valueChanged(MainPanel.java:3057)
at javax.swing.JTree.fireValueChanged(Unknown Source)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
at com.jpexs.decompiler.flash.gui.MainPanel$1.setSelectionPaths(MainPanel.java:525)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
at com.jpexs.decompiler.flash.gui.MainPanel$1.setSelectionPath(MainPanel.java:516)
at javax.swing.JTree.setSelectionPath(Unknown Source)
at com.jpexs.decompiler.flash.gui.MainPanel.setTagTreeSelectedNode(MainPanel.java:1961)
at
com.jpexs.decompiler.flash.gui.tagtree.TagTree.setSelectionPathString(TagTree.java:693)
at
com.jpexs.decompiler.flash.gui.Main$OpenFileWorker.lambda$doInBackground$1(Main.java:1152)
at com.jpexs.decompiler.flash.gui.Main$OpenFileWorker$$Lambda$194/439456701.run(Unknown
Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Cannot reproduce with current version.
I am closing this.
State: new→closed