Ignore:
Timestamp:
Sep 17, 2007, 2:47:03 PM (15 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #753: NullPointerException? in plugin configuration list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4-stable/www/admin/pluginconfigurations/view_configuration.jsp

    r3679 r3743  
    9797  final Set<GuiContext> contexts = new TreeSet<GuiContext>(new ToStringComparator<GuiContext>(false));
    9898  PluginDefinition plugin = null;
     99  Nameable nameableProxy = null;
    99100  boolean readPlugin = true;
    100101  boolean configurable = false;
     
    102103  {
    103104    plugin = configuration.getPluginDefinition();
     105    nameableProxy = new NameablePluginAdaptor(plugin);
    104106    contexts.addAll(plugin.getGuiContexts());
    105107    configurable = plugin.isInteractive() && plugin.supportsConfigurations();
     
    265267        <td class="prompt">Plugin</td>
    266268        <td>
    267           <%=Base.getLinkedName(ID, new NameablePluginAdaptor(plugin), plugin == null, true)%>
     269          <%=Base.getLinkedName(ID, nameableProxy, plugin == null, true)%>
    268270        </td>
    269271      </tr>
Note: See TracChangeset for help on using the changeset viewer.