Re: [thredds] THREDDS 5.6 WMS Servlet Error: NullPointerException on newSettings Field

  • To: Evan Magri - NOAA Affiliate <evan.magri@xxxxxxxx>
  • Subject: Re: [thredds] THREDDS 5.6 WMS Servlet Error: NullPointerException on newSettings Field
  • From: Sean Arms <sarms@xxxxxxxx>
  • Date: Wed, 9 Apr 2025 10:24:22 -0600
Greetings Evan!

This is the first time I've seen this particular error, but I see at least
one spot in the code that might end up with a null value for the
newSettings object. Do you see any errors in the TDS logs with more details
(threddsServlet logs), perhaps with a stacktrace? Could I also get a copy
of your wmsConfig.xml file (${tds.content.root.path}/thredds/wmsConfig.xml)?

Cheers!

Sean


On Wed, Apr 9, 2025 at 9:33 AM Evan Magri - NOAA Affiliate <
evan.magri@xxxxxxxx> wrote:

> Good morning,
>
> I'm encountering a persistent error in our THREDDS 5.6 deployment. The
> servlet is throwing a NullPointerException, and the WMS functionality is
> not working as expected.
>
> Here's the relevant error from the Tomcat logs:
> 03-Apr-2025 16:34:19.346 SEVERE [ajp-nio-140.172.190.31-8009-exec-22]
> org.apache.catalina.core.StandardWrapperValve.invoke
> Servlet.service() for servlet [wms] in context with path [/thredds##5.6]
> threw exception
>     java.io.IOException: java.lang.NullPointerException: Cannot read field
> "allowFeatureInfo" because "newSettings" is null
>
> Could you please provide guidance on what might be causing the newSettings
> object to be null in this case?
>
> Thank you for your help, and please let me know if you need additional
> configuration details or logs.
>
> Regards,
>
> Evan Magri, IT/Computer Specialist II, Systems Administrator
> Contractor - Team Alpha Omega for NCEI Data Stewardship
> NOAA's National Centers for Environmental Information (NCEI)
> NCEI Data Stewardship Division/Data Access Branch
> 151 Patton Avenue, Asheville, NC 28801 (E/NE54)
> E-mail: evan.magri@xxxxxxxx
> Google Voice: (828) 271-4019‬
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> https://www.unidata.ucar.edu/mailing_lists/
>
  • 2025 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: