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 270361 - NullPointerException at org.netbeans.modules.docker.ui.build2.BuildContextPanel.isValid
Summary: NullPointerException at org.netbeans.modules.docker.ui.build2.BuildContextPan...
Status: RESOLVED FIXED
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 10:01 UTC by ilia
Modified: 2017-04-18 02:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228733


Attachments
stacktrace (9.22 KB, text/plain)
2017-04-11 10:01 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 10:01:31 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:
ilia: Press build on dockerfile
See a valid context path
Remove couple of letters from path so it becomes invalid

Get an exception




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.docker.ui.build2.BuildContextPanel.isValid(BuildContextPanel.java:115)
   at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:874)
   at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:822)
   at org.openide.WizardDescriptor._updateState(WizardDescriptor.java:800)
   at org.openide.WizardDescriptor.access$200(WizardDescriptor.java:92)
   at org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:2180)
Comment 1 ilia 2017-04-11 10:01:33 UTC
Created attachment 164078 [details]
stacktrace
Comment 2 ilia 2017-04-12 12:48:09 UTC
Unable to set target milestone to 8.2

https://netbeans.org/bugzilla/show_bug.cgi?id=270361 Changesets:
    http://hg.netbeans.org/releases/rev/342a59e3dd17 # Fixed #270361 - NullPointerException at org.netbeans.modules.docker.ui.build2.BuildContextPanel.isValid
    http://hg.netbeans.org/releases/rev/5cb0eed1b96e # Fixed #270361 - NullPointerException at org.netbeans.modules.docker.ui.build2.BuildContextPanel.isValid
    http://hg.netbeans.org/releases/rev/1d624e760b2a # Fixed #270361 - NullPointerException at org.netbeans.modules.docker.ui.build2.BuildContextPanel.isValid
Comment 3 Quality Engineering 2017-04-18 02:32:27 UTC
Integrated into 'main-silver', will be available in build *201704180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5bce3ffd130a
User: Ilia Gromov <ilia@netbeans.org>
Log: Additional fix for #270361 - NullPointerException at org.netbeans.modules.docker.ui.build2.BuildContextPanel.isValid