Skip to content

Report which artifact caused the error #353

@warrenc5

Description

@warrenc5

Typically get this error migrating module.xml and forgetting to change the attribute from path to name when changing resource-root to artifact.

It would be nice if the processor can report which module element caused the error.

Caused by: java.lang.NullPointerException: Cannot invoke "nu.xom.Attribute.getValue()" because "this.attribute" is null
at org.wildfly.galleon.plugin.AbstractModuleTemplateProcessor$ModuleArtifact. (AbstractModuleTemplateProcessor.java:65)
at org.wildfly.galleon.plugin.AbstractModuleTemplateProcessor.processArtifacts (AbstractModuleTemplateProcessor.java:195)
at org.wildfly.galleon.plugin.AbstractModuleTemplateProcessor.process (AbstractModuleTemplateProcessor.java:162)
at org.wildfly.galleon.plugin.WfInstallPlugin.processModuleTemplate (WfInstallPlugin.java:1088)
at org.wildfly.galleon.plugin.WfInstallPlugin.postInstall (WfInstallPlugin.java:446)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions