davidbitterlich opened a new issue, #5985:
URL: https://github.com/apache/netbeans/issues/5985

   ### Apache NetBeans version
   
   Apache NetBeans 17
   
   ### What happened
   
   I tried to create a new Java Frontend Application project with Maven
   Therefore I navigated to the menubar and selected File -> New Project, here 
I selected Maven and then Java Frontend Application
   
   Since openjfx was not installed before, NetBeans installed it and ran into 
an issue, so I restarted the IDE. Afterwards I opened NetBeans again and the 
element was enabled now so I wanted press "Next", but it crashed again. I've 
found a messages.log which I attached here.
   
[messages.log](https://github.com/apache/netbeans/files/11553544/messages.log)
   
   
   ### How to reproduce
   
   Simply create a new Java Frontend Application with Maven.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   macOS 13.4 aarch64
   
   ### JDK
   
   11.0.19, OpenJDK, aarch64
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   I took a look into the messages.log myself and found out that it crashed 
because it could not load the library 
/Users/dbitterlich/.openjfx/cache/17/libprism_es2.dylib
   
   I was curious about that circumstance and opened my Terminal. The file 
exists:
   `ls -al ~/.openjfx/cache/17
   total 376
   drwxr-xr-x  4 dbitterlich  staff     128 24 Mai 12:22 .
   drwxr-xr-x@ 4 dbitterlich  staff     128 24 Mai 12:22 ..
   -rw-r--r--  1 dbitterlich  staff   81232 24 Mai 12:22 libprism_es2.dylib
   -rw-r--r--  1 dbitterlich  staff  108176 24 Mai 12:22 libprism_sw.dylib`
   So I thought about what else could be the cause for this issue and checked 
if the file is a valid library using file:
   `file ~/.openjfx/cache/17/libprism_es2.dylib 
   /Users/dbitterlich/.openjfx/cache/17/libprism_es2.dylib: Mach-O 64-bit 
dynamically linked shared library x86_64`
   Obviously we have an x86_64 only library while my machine's architecture is 
aarch64, so the JDK is also running as aarch64. This is most probably the 
reason why NetBeans cannot handle the library and unexpectedly crashes.
   
   The crash is that deep that I even cannot reopen the new project wizard 
dialog again and I am forced to restart the IDE
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to