Skip to content

FilesCouldBeMissed Exception if the current plugin override a private file of one other plugin #10

@ghost

Description

Version 2.0.3 Beta
Eclipse neon

If i have one plugin named Plugin1, who override Plugin2 private file we have an exception :

!MESSAGE An internal error occurred during: "Check preview sync".
!STACK 0
java.lang.NullPointerException
    at com.jalios.ejpt.sync.strategy.FilesCouldBeMissed.getFilesInWebappPublicPluginDirectory(FilesCouldBeMissed.java:60)
    at com.jalios.ejpt.sync.strategy.FilesCouldBeMissed.run(FilesCouldBeMissed.java:44)
    at com.jalios.ejpt.sync.strategy.GlobalSyncStrategy.run(GlobalSyncStrategy.java:40)
    at com.jalios.ejpt.jobs.Util.previewSync(Util.java:37)
    at com.jalios.ejpt.jobs.SyncJob.run(SyncJob.java:31)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Directory tree :

WEB-INF/plugins/Plugin1/plugin.xml
WEB-INF/plugins/Plugin1/properties/language/fr.prop
WEB-INF/plugins/Plugin1/properties/language/en.prop
WEB-INF/plugins/Plugin1/properties/plugin.prop
WEB-INF/plugins/Plugin2/properties/fr.prop

WEB-INF/plugins/Plugin1/plugin.xml contains the webapp declaration of "WEB-INF/plugins/Plugin2/properties/fr.prop"

If i remove "WEB-INF/plugins/Plugin2/properties/fr.prop" it's work

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