NullPointerException when running JBoss Server Migration Tool

Solution Verified - Updated -

Issue

Facing NullPointerException when using JBoss EAP Server Migration tool:

./jboss-server-migration.sh --source $JBOSS_HOME_6.4/
----------------------------------------------------------
----  JBoss Server Migration Tool  -----------------------
----------------------------------------------------------
Retrieving servers...
13:27:27,627 INFO  [logger] SOURCE server name: EAP, version: 6.4.21.GA.
13:27:27,645 INFO  [logger] TARGET server name: JBoss EAP, version: 7.2.0.GA.
----------------------------------------------------------
----------------------------------------------------------

Server migration starting...
13:27:27,873 INFO  [ServerMigrationTask#1:1] --- Migrating modules requested by environment...
13:27:27,874 INFO  [ServerMigrationTask#1:1] No modules to migrate.

Migrate the source's standalone server?
yes/no? no

Migrate the source's managed domain?
yes/no? yes

13:27:35,140 INFO  [ServerMigrationTask#1:3] --- Migrating managed domain...
13:27:39,613 INFO  [ServerMigrationTask#1:3:2] Source's domain content migrated.
13:27:39,638 INFO  [ServerMigrationTask#1:3:3] Source's domain configurations found: [domain.xml]

Migrate all configurations?
yes/no? yes

13:27:43,919 INFO  [ServerMigrationTask#1:3:3:1] Migrating domain configuration domain.xml...
13:27:46,525 INFO  [ServerMigrationTask#1:3:3:1:1] Unsupported extensions removed: [org.jboss.as.jaxr, org.jboss.as.threads, org.jboss.as.cmp, org.jboss.as.configadmin]
13:27:49,189 INFO  [ServerMigrationTask#1:3:3:1:2] Unsupported subsystems removed: [urn:jboss:domain:jaxr:1.1, urn:jboss:domain:configadmin:1.0, urn:jboss:domain:cmp:1.1, urn:jboss:domain:threads:1.1]
13:27:49,387 ERROR [logger] Migration failed: org.jboss.migration.core.ServerMigrationFailureException: java.lang.NullPointerException
        at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:174) [jboss-server-migration-core-1.3.0.Final-redhat-00003.jar:1.3.0.Final-redhat-00003]
13:27:49,387 ERROR [logger] Migration failed: org.jboss.migration.core.ServerMigrationFailureException: java.lang.NullPointerException
        at org.jboss.migration.core.task.TaskExecutionImpl.run(TaskExecutionImpl.java:174) [jboss-server-migration-core-1.3.0.Final-redhat-00003.jar:1.3.0.Final-redhat-00003]
        at org.jboss.migration.core.task.TaskExecutionImpl.execute(TaskExecutionImpl.java:159) [jboss-server-migration-core-1.3.0.Final-redhat-00003.jar:1.3.0.Final-redhat-00003]
        at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:68) [jboss-server-migration-core-1.3.0.Final-redhat-00003.jar:1.3.0.Final-redhat-00003]
        at org.jboss.migration.core.task.TaskContextImpl.execute(TaskContextImpl.java:32) [jboss-server-migration-core-1.3.0.Final-redhat-00003.jar:1.3.0.Final-redhat-00003]
        at org.jboss.migration.wfly10.config.task.paths.WebSubsystemPathsMigration.lambda$afterProcessingElements$0(WebSubsystemPathsMigration.java:91) [jboss-server-migration-wildfly10.0-1.3.0.Final-redhat-00003.jar:1.3.0.Final-redhat-00003]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

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