This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268513 - NullPointerException at org.netbeans.modules.docker.api.DockerImage.<init>
Summary: NullPointerException at org.netbeans.modules.docker.api.DockerImage.<init>
Status: NEW
Alias: None
Product: docker
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Hejl
Depends on:
Reported: 2016-10-13 21:22 UTC by javydreamercsw
Modified: 2017-06-11 10:46 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226178

stacktrace (684 bytes, text/plain)
2016-10-13 21:22 UTC, javydreamercsw
stacktrace (684 bytes, text/plain)
2016-11-03 20:58 UTC, szokekaroly
Output of "docker images" (46.74 KB, image/png)
2017-04-13 11:12 UTC, ilia

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2016-10-13 21:22:46 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
javydreamercsw: Not sure what triggered it.

GUEST: Docker for Mac
socat TCP-LISTEN:2376,reuseaddr,fork UNIX-CLIENT:/var/run/docker.sock
List Images at "Local Docker"

GUEST: Listing docker images

GUEST: After a docker stop to update a container

GUEST: Nullpointer exception when expanding Docker images node

   at org.netbeans.modules.docker.api.DockerImage.<init>(
   at org.netbeans.modules.docker.api.DockerAction.getImages(
   at org.netbeans.modules.docker.ui.node.DockerImagesChildFactory.createKeys(
   at org.openide.util.RequestProcessor$
   at org.netbeans.modules.openide.util.GlobalLookup.execute(
Comment 1 javydreamercsw 2016-10-13 21:22:48 UTC
Created attachment 162497 [details]
Comment 2 kiroff 2016-10-21 09:42:50 UTC
Same problem occurring on:
  Product Version         = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
  Operating System        = Linux version 4.8.2-1-ARCH running on amd64
  Java; VM; Vendor        = 1.8.0_112; Java HotSpot(TM) 64-Bit Server VM 25.112-b15; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.8.0_112-b15
  Java Home               = /usr/lib/jvm/java-8-jdk/jre
  System Locale; Encoding = en_US (nb); UTF-8
Sometimes, when I login to the remote docker machine and manually delete an image, the list of images manages to refresh and display correctly, but not always.
Comment 3 szokekaroly 2016-11-03 20:58:27 UTC
Created attachment 162759 [details]

OS: Fedora 24
Kernel: 4.8.4
Docker: 1.10.3
Netbeans IDE: 8.2 run on built in JDK
Docker is running on localhost: -H tcp:
I successfully added local docker:, Test successfully, but when I clicked on Lockal Docker/Images, this error message appeared.
Comment 4 aldobrucale 2016-12-29 09:45:07 UTC
I'm having the same problem, with Docker listening on tcp://

Product Version         = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
Operating System        = Linux version 4.4.0-57-generic running on amd64
Java; VM; Vendor        = 1.8.0_111; Java HotSpot(TM) 64-Bit Server VM 25.111-b14; Oracle Corporation
Runtime                 = Java(TM) SE Runtime Environment 1.8.0_111-b14
Java Home               = /usr/lib/jvm/java-8-oracle/jre
System Locale; Encoding = en_US (nb); UTF-8
Comment 5 Exceptions Reporter 2017-01-27 11:35:44 UTC
This bug already has 10 duplicates 
Comment 6 ilia 2017-04-13 11:08:39 UTC
Unable to change Whiteboard to 82patch2-fixed
Unable to change Milestone to 8.2
Unable to change status to FIXED Changesets: # Fixed #268513 - NullPointerException at org.netbeans.modules.docker.api.DockerImage.<init> # Fixed #268513 - NullPointerException at org.netbeans.modules.docker.api.DockerImage.<init>
Comment 7 ilia 2017-04-13 11:12:06 UTC
Created attachment 164096 [details]
Output of "docker images"

This bug occurred when I had output of docker images like in the attachment.
Please not that the last line's Repository is not empty and tag is empty.

Does anyone know how to reproduce this?
Set REPOSITORY name to something and TAG to empty?
Comment 8 Quality Engineering 2017-04-14 01:53:47 UTC
Integrated into 'main-silver', will be available in build *201704140002* on (upload may still be in progress)

User: Ilia Gromov <>
Log: Fixed #268513 - NullPointerException at org.netbeans.modules.docker.api.DockerImage.<init>
(transplanted from a12e47e594c44e187585430628d92a75d7d09c09)