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

   ### Apache NetBeans version
   
   Apache NetBeans 26
   
   ### What happened
   
   Accessing the MySQL-Database with a Python script fails when started in 
Netbeans with the Error-Message "java.lang.NullPointerException: Cannot invoke 
"java.util.List.stream()" because the return value of 
"java.util.concurrent.CompletableFuture.get()" is null".
   The Output window will not show anything, although there are some control 
calls to "print" before the db connection sequence starts.
   
   In contrast, running the same program in a command window (Win11) will be 
performed successfully!
   
   
[messages.log](https://github.com/user-attachments/files/21121084/messages.log)
   
   About Info:
   Product Version: Apache NetBeans IDE 26
   Java: 22.0.1; Java HotSpot(TM) 64-Bit Server VM 22.0.1+8-16
   Runtime: Java(TM) SE Runtime Environment 22.0.1+8-16
   System: Windows 11 version 10.0 running on amd64; UTF-8; de_DE (nb)
   User directory: C:\Users\Emmerich\AppData\Roaming\NetBeans\26
   Cache directory: C:\Users\Emmerich\AppData\Local\NetBeans\Cache\26
   
   ### Language / Project Type / NetBeans Component
   
   Python project
   
   ### How to reproduce
   
   Complete the access parameters in following script with your own database 
access arguments:
   
   
[schuelerliste.zip](https://github.com/user-attachments/files/21121587/schuelerliste.zip)
   
   and 
   1. run it in Netbeans with Python extension (3.12.2, in venv) --> Error 
should happen.
   2. run it in (Windows-) Command window  --> Error shouldn't happen.
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Microsoft Windows 11
   
   ### JDK
   
   Java(TM) SE Runtime Environment 22.0.1+8-16
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   The Error is permanent.
   Log file: 
   
   
[messages.log](https://github.com/user-attachments/files/21121761/messages.log)
   
   ### 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: notifications-unsubscr...@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to