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 270367 - NullPointerException at org.netbeans.modules.docker.api.DockerAction.getDetail
Summary: NullPointerException at org.netbeans.modules.docker.api.DockerAction.getDetail
Status: NEW
Alias: None
Product: docker
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 16:58 UTC by ilia
Modified: 2017-04-11 16:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228526


Attachments
stacktrace (531 bytes, text/plain)
2017-04-11 16:58 UTC, ilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2017-04-11 16:58:27 UTC
Build: NetBeans IDE 8.2 (Build 20170405-a7b27004a894)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Linux

User Comments:
soldatov: Can't create docker's image if I have not proxy (yum failed)

ilia: Build dockerfile.

It _may_ be caused by yum intall ...

# Image with Oracle Linux
# Allows SSH connection to container

FROM oracle/oraclelinux:latest

RUN echo "root:${ROOT_PASSWORD}" | chpasswd

# fixing sshd config
RUN sshd-keygen
RUN sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/' /etc/ssh/sshd_config \
    && sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config \
    && sed -i 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' /etc/pam.d/sshd

EXPOSE 22

# creating mount points for project
VOLUME /developer/project

# set up proxy
ENV http_proxy=${HTTP_PROXY}
ENV https_proxy=${HTTPS_PROXY}
ENV ftp_proxy=${FTP_PROXY}

# install gcc toolchain
RUN yum install -y -q gcc gcc-c++ make gdb cmake

CMD ["/usr/sbin/sshd", "-D"]




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.docker.api.DockerAction.getDetail(DockerAction.java:360)
   at org.netbeans.modules.docker.ui.node.StatefulDockerContainer$2.run(StatefulDockerContainer.java:130)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 ilia 2017-04-11 16:58:30 UTC
Created attachment 164084 [details]
stacktrace