Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 269282 - NPE in unit tests
NPE in unit tests
Product: cnd
Classification: Unclassified
Component: Remote
All All
: P3 (vote)
: 8.2
Assigned To: Vladimir Kvashin
Depends on:
  Show dependency treegraph
Reported: 2016-12-09 11:34 UTC by Vladimir Kvashin
Modified: 2016-12-14 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2016-12-09 11:34:54 UTC
in hudson/job/cnd-test-ubuntu.x86_64/13082/
and other tests:

SEVERE: Error in RequestProcessor org.netbeans.modules.cnd.makeproject.api.ProjectActionSupport$EventsProcessorImpl
org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.NullPointerException
    at org.netbeans.modules.cnd.makeproject.api.ProjectActionSupport.submitTask(
    at org.netbeans.modules.cnd.makeproject.api.ProjectActionSupport.fireActionPerformed(
    at org.netbeans.modules.cnd.makeproject.MakeActionProviderImpl$1$1.runImpl(
    at org.openide.util.RequestProcessor$
    at org.netbeans.modules.openide.util.GlobalLookup.execute(
    at org.openide.util.lookup.Lookups.executeWith(
    at org.openide.util.RequestProcessor$
Caused by: java.lang.NullPointerException
    at org.netbeans.modules.cnd.remote.sync.FtpSyncWorker.synchronizeImpl(
    at org.netbeans.modules.cnd.remote.sync.FtpSyncWorker.startup(
    at org.netbeans.modules.cnd.remote.sync.RemoteBuildProjectActionHandler.execute(
    at org.netbeans.modules.cnd.makeproject.api.ProjectActionSupport$
    ... 4 more
Comment 1 Vladimir Kvashin 2016-12-09 11:36:03 UTC
This is probably caused by regression descriped in issue 269281.
Anyhow the code shows that null checks are done in some places, but are absent in other places.
Comment 2 Vladimir Kvashin 2016-12-09 11:56:58 UTC
fixed in 5be103dfcc13 on enum/release82
Comment 3 Quality Engineering 2016-12-11 02:35:31 UTC
Integrated into 'main-silver', will be available in build *201612110001* on (upload may still be in progress)

User: Vladimir Kvashin <>
Log: fixed #269282 - NPE in unit tests
(transplanted from 5be103dfcc13b5f7ea5be60ea8f5696c14f08874)

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo