Hello. I have been using APP without problems, but after a few weeks without using it I get an error when trying to start it on a Windows 10 machine. After clicking the icon to start the program it says "A java exception has ocurred" and ir doesn't start. I have installed the latest version right now (beta 16) but it says the same...
APP does not rely on an external Java implementation, it has its own JVM. So maybe try to uninstall Java (if not needed for anything else), uninstall APP and check if the folders are indeed gone and then reinstall APP?
Hello, I have a similar problem, since recently I have been using the application with the free license, two days after buying the license, I have no option to start the application. It shows me the following error:
Unable to execute file:
C:/Program Files/AstroPixelProcessor/AstroPixelProcessor.exe
CrateProcessFailed code 740
And when I start the application again it gives me the error:
A Java Exception has occurred.
I have reinstalled the application several times but always the same, error. I don't have java installed.
Any ideas to solve the problem?
Thank you.
My problem persists, but as I am also running the program in a second PC normally I had forgot this. I have not uninstalled JAVA, it is used by a lot of pieces of software... Also, the JAVA was already installed and working normally until it stopped doing it. I hope a coming version don't shows the error...
It worked perfectly without having Java installed, but I tried with the latest version of Java and also with the same error. I want to think that there must be some solution, that I don't have to wait for the next update...
Hello, the problem persists and I have had a computer expert check my computer to solve the error mentioned above. The technician tells me that he doesn't know why this Java error occurs, that I contact the application developer to find a solution.
Can you tell me how to proceed to solve the problem, since I cannot install the program on the computer and use it.
Do you require Java to be installed on your machine? It seems to interfere with APP, do you have any JAVA specific settings in your environment variables? You can check by clicking on the start button and the typing "environment var" and it should show the option to see those. If there are Java settings in there they may be causing interference somehow as well. We usually don't see this issue, so it must be a configuration problem on the computer.
After assessing the case with the technician, checking all administrator permissions, possible configurations with Java and without Java, antivirus protection completely disabled, installing the application for one or all users, we have not found any solution to be able to install the latest version or some beta version, but with version -1.083-Windows-64bits I have been able to start the application normally.
Just another one facing the same issue. Let me provide some feedback and also make some questions:
1/ My current setup is Windows 11 x64, [Version 10.0.22621.1778]
2/ Problem remain with and with no Java installed on the system.
3/ I've removed APP, cleaned all the Reg entries, deleted Userdata files, etc, reinstall and same issue (with and without Java on the system)
4/ I've also tried it in another computer with almost same specs and SO and for whatever unknow reason it worked. I run procmon on both machines and also compared all the system triggers if you want to have a look (I didn't find nothing relevant).
Few questions:
- Vincent mentioned that the Java binaries and libraries used by APP are contained within the install package (under jre/bin), so no system libraries used, right?.
- Is there any way to launch the APP exe from the cmd and increase the verbosity and log potential events?.
Simple mosaic will not go together and I am about to give up. Why is it so difficult for any astrophotography software develops to make a good mosaic building engine. The follow error has happened AGAIN. And the only way to get APP or any other software on my computer to work correctly again is to reboot the computer. Encountered error in module: MultipleViewFullCameraCalibrationSimpleDistortionCorrectionNotSameCameraIncomplete
Error message: java.lang.ArrayIndexOutOfBoundsException: Index -6 out of bounds for length 111
Cause: Index -6 out of bounds for length 111 dv.a(Unknown Source) dv.doInBackground(Unknown Source) java.desktop/javax.swing.SwingWorker$1.call(Unknown Source) java.base/java.util.concurrent.FutureTask.run(Unknown Source)
I can build multi gigapixel 360 panoramas that has more then 500 bracketed raw images from my Canon 90D with software called PTGui with no issues. And because I can not get APP to work I am now going to load my mosaic panels into PTGui and manually align stars.
The most frustrating issue with APP is it will be working fine and everything is going smoothly and then I have to reboot!
I don't have Java installed, but I have tried with the latest Java version "Version 8 Update 371", with JDK 20 and JDK 17. I have checked the "Java variables", checked the APP installation paths are correct, I have installed forcing the administrator rights, finally I have reinstalled windows 11.
As I said before I have tried with all Beta versions without success, however I manage to start APP with version 1.083 correctly, but when starting the stacking process also indicates another Java error:
Simple mosaic will not go together and I am about to give up. Why is it so difficult for any astrophotography software develops to make a good mosaic building engine. The follow error has happened AGAIN. And the only way to get APP or any other software on my computer to work correctly again is to reboot the computer. Encountered error in module: MultipleViewFullCameraCalibrationSimpleDistortionCorrectionNotSameCameraIncomplete
Error message: java.lang.ArrayIndexOutOfBoundsException: Index -6 out of bounds for length 111
Cause: Index -6 out of bounds for length 111 dv.a(Unknown Source) dv.doInBackground(Unknown Source) java.desktop/javax.swing.SwingWorker$1.call(Unknown Source) java.base/java.util.concurrent.FutureTask.run(Unknown Source)
I can build multi gigapixel 360 panoramas that has more then 500 bracketed raw images from my Canon 90D with software called PTGui with no issues. And because I can not get APP to work I am now going to load my mosaic panels into PTGui and manually align stars.
The most frustrating issue with APP is it will be working fine and everything is going smoothly and then I have to reboot!
Daniel
Dear Daniel,
Thank you very much for reporting your mosaic issue, I will open a separate topic for your issue 😉 this is not the right topic/thread to place your issue.
Just another one facing the same issue. Let me provide some feedback and also make some questions:
1/ My current setup is Windows 11 x64, [Version 10.0.22621.1778]
2/ Problem remain with and with no Java installed on the system.
3/ I've removed APP, cleaned all the Reg entries, deleted Userdata files, etc, reinstall and same issue (with and without Java on the system)
4/ I've also tried it in another computer with almost same specs and SO and for whatever unknow reason it worked. I run procmon on both machines and also compared all the system triggers if you want to have a look (I didn't find nothing relevant).
Few questions:
- Vincent mentioned that the Java binaries and libraries used by APP are contained within the install package (under jre/bin), so no system libraries used, right?.
- Is there any way to launch the APP exe from the cmd and increase the verbosity and log potential events?.
Thank you very much for your detailed analysis. I am also investigation the issue with top priority now, it is very weird, it is not happening on my windows machines... It almost seems to be caused by a windows update but I am not sure. Can you check on your machine with the issue if the moment the problem started to happen coincides with some windows updates?
- Vincent mentioned that the Java binaries and libraries used by APP are contained within the install package (under jre/bin), so no system libraries used, right?.
Correct, APP is installed with it's own java runtime and dependencies. No system linbraries are used.
- Is there any way to launch the APP exe from the cmd and increase the verbosity and log potential events?.
Yes, there is a way, I will check myself and i will let you know how to do it, later today, so you can check what is being reported on your machine.
I don't have Java installed, but I have tried with the latest Java version "Version 8 Update 371", with JDK 20 and JDK 17. I have checked the "Java variables", checked the APP installation paths are correct, I have installed forcing the administrator rights, finally I have reinstalled windows 11.
As I said before I have tried with all Beta versions without success, however I manage to start APP with version 1.083 correctly, but when starting the stacking process also indicates another Java error:
With version 1.083 you will probably need to manually adjust the amount of RAM APP can use with the CFG button 😉 With 2.0, that option was deprecated but with 1.083 APP only uses 2GB by default, so you need to increase it 😉 For instance, if you have 16GB, then increase it to 14-15 GB.
I sent you an email to schedule a teamviewer session to look on your computer to fix the problem 😉
Can you open a command prompt with administrative rights?
Then cd to your installation directory like: cd "c:\Program Files\astropixelprocessor"
Then run APP with the following command
AstroPixelProcessor.exe >stdout.log 2> stderr.log
Then when the error occurs and APP is closed again, check the 2 log files that were created in the astro pixel processor installation directory. Maybe the stderr.log shows a clue about the problem?
c:\Program Files\AstroPixelProcessor>type stderr.log Exception in thread "main" java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge at java.desktop/java.awt.Toolkit.newAWTError(Unknown Source) at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Unknown Source) at java.desktop/java.awt.Toolkit.getDefaultToolkit(Unknown Source) at java.desktop/javax.swing.UIManager.<clinit>(Unknown Source) at java.desktop/javax.swing.JComboBox.updateUI(Unknown Source) at java.desktop/javax.swing.JComboBox.init(Unknown Source) at java.desktop/javax.swing.JComboBox.<init>(Unknown Source) at com.ariesproductions.astropixelprocessor.AstroPixelProcessor.<clinit>(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.sun.java.accessibility.AccessBridge at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Unknown Source) at java.base/java.lang.Class.forName(Unknown Source) ... 17 more
c:\Program Files\AstroPixelProcessor>
This post was modified 4 months ago by Fran Martinez
got to the directory where Astro pixel Processor is installed with a command prompt for isntance: cd "c:\Program Files\astropixelprocessor"
Then go to the directory where the Java runtime is that is installed together with Astro Pixel Processor: cd jre\bin
Or in 1 go: cd "c:\Program Files\astropixelprocessor\jre\bin"
then execute the following command: java -version
It should show (depending on the actual APP version) something like:
openjdk version "19.0.1" 2022-10-18 OpenJDK Runtime Environment GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08) OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08, mixed mode)
c:\Program Files\AstroPixelProcessor>type stderr.log Exception in thread "main" java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge at java.desktop/java.awt.Toolkit.newAWTError(Unknown Source) at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Unknown Source) at java.base/java.util.stream....
Okay, that will helps us a lot, that is very weird indeed. It is almost as if something on your computer is causing a correct installation of APP. Maybe security software is causing this, can you check if anti-virus software is interfering?
Hi all, Fran's error report gives a good clue, I will try to build a new windows installer and will share the download link as soon as possible so you can test if this solved the issue 😉
Can you download and test this version, it is 2.0.0-beta18, which is beta17 with the possible fix for this issue 😉 Beta18 is not released yet, but if you can confirm that this works, we will release this as beta18 immediately.
👍 😊 excellent ! Thank you very much Fran for confirming so quickly ! I will release this now since several windows users were clearly affected by this problem.
Excellent, I am very glad this solved the issue ! Thank you very much for confirming that APP starts okay now on your computers 🙂
Fran, the issue in fact was a packaging issue. The development platform which is installed alongside Astro Pixel Processor, java 19, was stripped to make the installer and installation smaller, but apparently this stripping has a bug in the java 19 JDK which I need to understand still. If we use JLink, part of the JDK, to strip the java runtime, the jdk.accessibility module is not included but it is needed on your systems apparently. I guess it is needed because you all use operating system accessibility options I think in some degree. So I decided to make an installer with the java runtime fully intact, I did not strip it and now that dependency is included in the installer and thus it will start correctly. It is rather technical, but that is the reason. So stripping the JDK is a bit dangerous and I will not do it again unless I know 100% that all dependencies that we need are still there 😉
Thanks for the detailed response Mabula. I've noticed that we all are Spaniards (Alex, Juan), even though I use my SO in pure native English. Quite weird indeed, just in case helps.