We would need to see the script to know exactly what's going on. But based on what information i have in front of me, I suspect the startup script is attempting to access an active document (of which there is none during startup). Either that or it's trying to access some other object or property that is not yet defined.
edit to add that if you're trying to use a photoshop script in illustrator, you may run into issues. Some stuff is cross compaitible between Illustrator and Photoshop. But in general, scripts are built for one specific application.
What is your script "photoshop.jsx" supposed to do?
Seeing as you're not explaining anything, are you saying that when you start Illustrator the file photoshop.jsx tries to run? As you can see from your photo, the file photoshop.jsx is in a Photoshop directory - I have one in exactly the same place. If you open it in a text app is the first line "#target photoshop"?
Sorry. I misunderstood this, and thought you were OP responding to my other comment. disregard.
No worries, the OP seems confused anyway...
We are sorry for the trouble. I would like to know if you are still facing the issue or not? If yes, I would request you to share a few details like:
Also, when does this error pop up while launching the app or while using the app? Does the app close/ crash or start not responding after clicking on the "Ok" button?
We are here to help. We just need more information.
Thanks & Regards,
My Illustrator is doing the exact same thing, also with Photoshop.jsx I/O error. Started around mid-April 2022 and I've tried reinstalling Illustrator but to no avail.
We are sorry for the trouble. We are having debug sessions for this issue with the product team as we are unable to replicate the issue on our end. Would it be possible for you to have a debug session with us? If yes, please share your Adobe email ID, Phone number with country code, preferred time & day for the meeting, your timezone, and country & state you live in over the DM only.
However, if you don't want to do a debug session, you may try the following steps, which have worked for others:
1. Update Windows OS
2. Delete or move the "Startup Scripts CC" folder from the following location to the desktop:
C:\Program Files (x86)\Common Files\Adobe
I will be looking forward to your response.
Thanks & Regards,