ksilha-mhi opened a new issue, #7275:
URL: https://github.com/apache/netbeans/issues/7275
### Apache NetBeans version
Apache NetBeans 21
### What happened
Under Services, I added a Docker Instance installed on a server which is
connected to my local network. 'Test Connection' passed. I am able to pull
images and build containers, however when I try to refresh images I receive the
following error notification and the image listing hangs on the hourglass icon
saying "Please Wait..."
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()"
because the return value of "org.json.simple.JSONObject.get(Object)" is null
at
org.netbeans.modules.docker.api.DockerAction.getImages(DockerAction.java:153)
at
org.netbeans.modules.docker.ui.node.DockerImagesChildFactory.createKeys(DockerImagesChildFactory.java:89)
at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:202)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1420)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035)
### Language / Project Type / NetBeans Component
Docker service management tool
### How to reproduce
Refresh Images
### Did this work correctly in an earlier version?
Apache NetBeans 17
### Operating System
Windows
### JDK
22
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### 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