Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error refreshing Docker images #7275

Open
ksilha-mhi opened this issue Apr 16, 2024 · 0 comments
Open

Error refreshing Docker images #7275

ksilha-mhi opened this issue Apr 16, 2024 · 0 comments
Labels
Docker kind:bug Bug report or fix

Comments

@ksilha-mhi
Copy link

ksilha-mhi commented Apr 16, 2024

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

@ksilha-mhi ksilha-mhi added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Apr 16, 2024
@mbien mbien added Docker and removed needs:triage Requires attention from one of the committers labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker kind:bug Bug report or fix
Projects
None yet
Development

No branches or pull requests

2 participants