You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/10 18:47:00 UTC

[jira] [Created] (MSKINS-186) Velocity warns about usage of null values

Michael Osipov created MSKINS-186:
-------------------------------------

             Summary: Velocity warns about usage of null values
                 Key: MSKINS-186
                 URL: https://issues.apache.org/jira/browse/MSKINS-186
             Project: Maven Skins
          Issue Type: Bug
          Components: Fluido Skin
    Affects Versions: fluido-1.10.0
            Reporter: Michael Osipov
            Assignee: Michael Osipov
             Fix For: fluido-1.11.0


Velocity says:
{quote}
[DEBUG] Right side ($decoration.getCustomValue( 'fluidoSkin.skipGenerationDate' )) of '==' operation has null value. If it is a reference, it may not be in the context or its toString() returned null. META-INF/maven/site.vm[line 20, column 39]
{quote}

Issue is that those type of custom values are not tested for null before being used.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)