Changes between Initial Version and Version 1 of Ticket #19436


Ignore:
Timestamp:
2020-06-25T21:54:48+02:00 (14 months ago)
Author:
taylor.smock
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19436

    • Property Cc simon04 added
  • Ticket #19436 – Description

    initial v1  
    11For some reason, on some configurations, my plugin isn't registering itself properly, which causes an NPE in `RequestProcessor#getHandlersInfoAsJson`. This is due to the code returning a null value (on purpose), and then attempting to add the null value to the JsonArray builder.
     2
     3This is a regression from r16550. StringBuilder happily accepted `null` values and output `null` in the string.
     4
     5I'm attaching a partial preferences xml so I can fix it in MapWithAI as well (I shouldn't be allowing 8111 ports in `mapwithai.sources.entries` right now).
     6{{{
     7#!xml
     8  <tag key='remotecontrol.enabled' value='true'/>
     9  <tag key='remotecontrol.new-layer' value='true'/>
     10  <maps key='mapwithai.sources.entries'>
     11    <map>
     12      <tag key='parameters' value='[]'/>
     13      <tag key='name' value='a'/>
     14      <tag key='type' value='thirdParty'/>
     15      <tag key='url' value='http://localhost:8111/features?q=mapwithai'/>
     16      <tag key='cookies' value=''/>
     17      <tag key='customHttpHeaders' value='{}'/>
     18      <tag key='category' value='other'/>
     19    </map>
     20}}}