Logo
  • Products

    Products

    FIPS Compliant

    Network Cameras

    Thermal Cameras

    PTZ Cameras

    Explosion-Proof & Anti-Corrosion Cameras

    Network Video Recorders

    Digital Video Recorders

    Machine Vision Cameras

    HD Analog Cameras

    Video Intercoms

    Display & Decoders

    Video Management Software

    Access Control

    Network Audio

    Network Switches

    Radar Devices

    Accessories

    Project-Based Solutions

    Active Deterrence Series

    ANPR Series

    NightHawk AI-ISP Series

    Panoramic Series

    Ultra Series

    Pro Series

    Eco Series

    Lite Series

    Special Series

    Fixed Thermal Cameras

    Bullet Thermal Cameras

    Turret Thermal Cameras

    Speed Dome Thermal Cameras

    PTZ Thermal Cameras

    Thermal Presence Detectors

    Network PTZ Cameras

    PTZ Camera Modules

    HD Analog PTZ Cameras

    Explosion-Proof Network Cameras

    Explosion-Proof Thermal Cameras

    Anti-Corrosion Network Cameras

    Ultra Series

    Pro Series

    Eco Series

    Lite Series

    Eco Series HD Analog Cameras

    Lite Series HD Analog Cameras

    Door Station

    Indoor Monitor

    Doorbell

    Camera Mounts

    Lenses

    Keyboards

  • Technology

    Technology

    Cybersecurity WebSocket SNMP SRT Modbus WebRTC MQTT TPM AV1 Codec FIPS 140-2/140-3 AI ISP NightHawk Ultra Low-Light Imaging Heat Map Smart Motion Detection Smart Dual Illumination Smart Deterrence Full-Color Imaging Smart IR II Auto Tracking Thermal Imaging Starlight Wide Dynamic Range Smart IR Panoramic Surveillance
  • Solutions

    Solutions

    Solutions by Industry

    Solutions by Application

    Manufacturing

    Smart Factory

    Warehouse

    Smart Campus

    Airport

    Retail

    Smart Building

    Parking Lot

    Banking

    Substations

    Oil & Gas

    Data Center

    Industrial Protocols Ready (To be Ready)

    Construction Site

    EV Charging Station

    River Monitoring Solution

    Solar Farms

    Network Audio Solution

    Perimeter Protection

    Early Fire Detection

    Wildfire Prediction

    Radar Perimeter Protection

    Illegal Parking

    Entrance & Exit Management

    Border Surveillance

    Convenience Store

    Electrical Panel

  • About Us
  • Support

    Support

    Download Center FAQ NDAA Compliant Tools Video Center
  • Press

    Press

    News Blog Case Studies Newsletter
  • Contact Us
  • Global - English
    • Global

      Global - English

    • Asia

      Thai - ภาษาไทย

      Vietnamese - Tiếng Việt

      China - 简体中文

      Korean - 한국어

      Japanese - 日本語

    • Europe

      Arabic - اللغة العربية

      Portuguese - Português

      Italian - Italiano

      Spanish - Español

      German - Deutsch

      French - Français

Home > Products >
FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!)

The following has evaluated to null or missing:
==> DataList[0]  [in template "root_pc/template/product_classify_third.template.html" at line 273, column 54]

----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${DataList[0].link}  [in template "root_pc/template/product_classify_third.template.html" at line 273, column 52]
	- Reached through: @cms_catalog id="${cid}" level="Self"  [in template "root_pc/template/product_classify_third.template.html" at line 272, column 37]
	- Reached through: @cms_xmodel_data modelId="${Catalog.e...  [in template "root_pc/template/product_classify_third.template.html" at line 205, column 9]
----

Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
	at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
	at freemarker.core.UnexpectedTypeException.newDescriptionBuilder(UnexpectedTypeException.java:85)
	at freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:48)
	at freemarker.core.NonHashException.<init>(NonHashException.java:49)
	at freemarker.core.Dot._eval(Dot.java:48)
	at freemarker.core.Expression.eval(Expression.java:101)
	at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:104)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
	at freemarker.core.Environment.visit(Environment.java:371)
	at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:3423)
	at com.chestnut.common.staticize.tag.AbstractTag.onTagEnd(AbstractTag.java:93)
	at com.chestnut.common.staticize.tag.AbstractTag.execute(AbstractTag.java:62)
	at freemarker.core.Environment.visit(Environment.java:452)
	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:102)
	at freemarker.core.Environment.visit(Environment.java:371)
	at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321)
	at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
	at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244)
	at freemarker.core.Environment.visitIteratorBlock(Environment.java:645)
	at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
	at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
	at freemarker.core.Environment.visit(Environment.java:335)
	at freemarker.core.Environment.visit(Environment.java:377)
	at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:3423)
	at com.chestnut.common.staticize.tag.AbstractTag.onTagEnd(AbstractTag.java:93)
	at com.chestnut.common.staticize.tag.AbstractTag.execute(AbstractTag.java:62)
	at freemarker.core.Environment.visit(Environment.java:452)
	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:102)
	at freemarker.core.Environment.visit(Environment.java:335)
	at freemarker.core.Environment.visit(Environment.java:341)
	at freemarker.core.Environment.visit(Environment.java:341)
	at freemarker.core.Environment.process(Environment.java:314)
	at com.chestnut.common.staticize.StaticizeService.process(StaticizeService.java:99)
	at com.chestnut.contentcore.publish.staticize.CatalogStaticizeType.doCatalogStaticize(CatalogStaticizeType.java:149)
	at com.chestnut.contentcore.publish.staticize.CatalogStaticizeType.catalogStaticize(CatalogStaticizeType.java:100)
	at com.chestnut.contentcore.publish.staticize.CatalogStaticizeType.catalogStaticize(CatalogStaticizeType.java:91)
	at com.chestnut.contentcore.publish.staticize.CatalogStaticizeType.staticize(CatalogStaticizeType.java:83)
	at com.chestnut.contentcore.publish.strategies.ThreadPoolPublishStrategy.lambda$publish$0(ThreadPoolPublishStrategy.java:59)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)