"[FATAL] Non-readable POM : input contained no data @" when creating a project in RHDM/RHPAM

Solution Unverified - Updated -

Issue

  • When I create a new project in Decision Central, I get the following error
16:22:52,668 ERROR [org.appformer.maven.integration.embedder.MavenProjectLoader] (default task-2) Unable to create MavenProject from InputStream: org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model
[FATAL] Non-readable POM : input contained no data @
 for project
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:168)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:126)
        at org.appformer.maven.integration.embedder.MavenEmbedder.readProject(MavenEmbedder.java:308)
        at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:91)
        at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:84)
        at org.guvnor.common.services.project.backend.server.ModuleRepositoryResolverImpl.getRemoteRepositoriesMetaData(ModuleRepositoryResolverImpl.java:143)
        at org.guvnor.common.services.project.backend.server.ModuleRepositoryResolverImpl$Proxy$_$$_WeldClientProxy.getRemoteRepositoriesMetaData(Unknown Source)
        at org.guvnor.common.services.project.backend.server.AbstractModuleRepositoriesServiceImpl.create(AbstractModuleRepositoriesServiceImpl.java:72)
        at org.kie.workbench.common.services.backend.project.KieModuleRepositoriesServiceImpl$Proxy$_$$_WeldClientProxy.create(Unknown Source)
        at org.kie.workbench.common.services.backend.project.ModuleSaver$NewModuleCreator.createModule(ModuleSaver.java:156)
        at org.kie.workbench.common.services.backend.project.ModuleSaver$NewModuleCreator.create(ModuleSaver.java:123)
        at org.kie.workbench.common.services.backend.project.ModuleSaver.save(ModuleSaver.java:94)
        at org.kie.workbench.common.services.backend.project.KieModuleServiceImpl.newModule(KieModuleServiceImpl.java:106)
        at org.kie.workbench.common.services.backend.project.KieModuleServiceImpl.newModule(KieModuleServiceImpl.java:47)
        at org.kie.workbench.common.services.backend.project.KieModuleServiceImpl$Proxy$_$$_WeldClientProxy.newModule(Unknown Source)
        at org.guvnor.common.services.project.backend.server.WorkspaceProjectServiceImpl.newProject(WorkspaceProjectServiceImpl.java:168)
        at org.kie.workbench.common.screens.impl.LibraryServiceImpl.createProject(LibraryServiceImpl.java:228)
        ...
Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model
[FATAL] Non-readable POM : input contained no data @

        at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:197)
        at org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:598)
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:273)
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:161)
        ... 91 more

Environment

  • Red Hat Decision Manager
    • 7.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In