Changeset 7355


Ignore:
Timestamp:
May 3, 2017, 1:24:53 PM (5 years ago)
Author:
Nicklas Nordborg
Message:

References #2072: Add support for pausing and resuming a job

Fixed a NullPointerExceptin when creating a plug-in configuration (job==null).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.11-stable/src/core/net/sf/basedb/core/PluginRequest.java

    r7329 r7355  
    8383    this.plugin = plugin;
    8484    this.command = command;
    85     this.state = job.loadState(plugin.getClass().getClassLoader());
     85    this.state = job == null ? null : job.loadState(plugin.getClass().getClassLoader());
    8686    this.pluginConfiguration = pluginConfiguration;
    8787    this.pluginDefinition = pluginDefinition;
Note: See TracChangeset for help on using the changeset viewer.