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.

#1750 An error occured while starting the application.
Author:
Grausamkeeit

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

> What steps will reproduce the problem?
Run the application
> What is the expected output? What do you see instead?
Application to work. "An error occured while starting the application." pop up
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
14.5.1 Windows 10
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
I tried to run the program via exe, jar and, bat files, but every time I failed. If I open
it via exe, then a pop up appears with the text "An error occured while starting the
application. Invalid window handle".
The jar file just opens and runs endlessly in the background. Bat file gives errors, here
is their text:
Nov 20, 2021 11:56:52 PM com.jpexs.decompiler.flash.gui.View execInEventDispatch
SEVERE: null
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at com.jpexs.decompiler.flash.gui.View.execInEventDispatch(View.java:466)
at com.jpexs.decompiler.flash.gui.Main.main(Main.java:2216)
Caused by: java.io.UncheckedIOException: java.nio.file.AccessDeniedException:
C:\WINDOWS\Fonts\Mysql
at java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:88)
at java.nio.file.FileTreeIterator.hasNext(FileTreeIterator.java:104)
at java.util.Iterator.forEachRemaining(Iterator.java:115)
at
java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:546)
at
java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:505)
at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:511)
at
com.jpexs.decompiler.flash.helpers.FontHelper.getSystemFontFiles(FontHelper.java:325)
at
com.jpexs.decompiler.flash.helpers.FontHelper.getInstalledFontFiles(FontHelper.java:298)
at com.jpexs.decompiler.flash.tags.base.FontTag.reload(FontTag.java:354)
at com.jpexs.decompiler.flash.tags.base.FontTag.ensureLoaded(FontTag.java:174)
at
com.jpexs.decompiler.flash.tags.base.FontTag.getInstalledFontsByName(FontTag.java:530)
at com.jpexs.decompiler.flash.gui.FontPanel.getFamilyModel(FontPanel.java:96)
at com.jpexs.decompiler.flash.gui.FontPanel.initComponents(FontPanel.java:472)
at com.jpexs.decompiler.flash.gui.FontPanel.<init>(FontPanel.java:83)
at
com.jpexs.decompiler.flash.gui.PreviewPanel.createParametersPanel(PreviewPanel.java:245)
at com.jpexs.decompiler.flash.gui.PreviewPanel.<init>(PreviewPanel.java:226)
at com.jpexs.decompiler.flash.gui.MainPanel.<init>(MainPanel.java:669)
at com.jpexs.decompiler.flash.gui.MainFrameRibbon.<init>(MainFrameRibbon.java:74)
at com.jpexs.decompiler.flash.gui.Main.ensureMainFrame(Main.java:644)
at com.jpexs.decompiler.flash.gui.Main.showModeFrame(Main.java:1988)
at com.jpexs.decompiler.flash.gui.Main.lambda$main$3(Main.java:2220)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
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(ProtectionDo
main.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
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)
Caused by: java.nio.file.AccessDeniedException: C:\WINDOWS\Fonts\Mysql
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsDirectoryStream.<init>(WindowsDirectoryStream.java:86)
at
sun.nio.fs.WindowsFileSystemProvider.newDirectoryStream(WindowsFileSystemProvider.java:518
)
at java.nio.file.Files.newDirectoryStream(Files.java:457)
at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:300)
at java.nio.file.FileTreeWalker.next(FileTreeWalker.java:372)
at java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:84)
... 38 more
_____________________________________________
Java is installed and I can't figure out what to do.

Please try nightly version 1952 and let me know whether it helps.
I may then release official version.
State: new→upgraded
Oh, that helped, now it's okay. Thanks a lot!
Good. Now version 14.5.2 with this change.
Thank you for reporting with the error text - that really helped.
State: upgraded→closed