Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

vSphere Replication using Site Recovery Manager fails with a java.lang.NullPointerException error (2036571)

Symptoms

  • Cannot perform a vSphere Replication using vCenter Site Recovery Manager (SRM) 5.x
  • You can use the vSphere Replication tab to replicate the virtual machines, but configuring replication fails
  • You see the error:

    VRM Server generic Error. Please Check the Documentation for any troubleshooting info The Detailed Exception is :- "java.lang.NullPointerException"

  • You cannot replicate between sites using vSphere Replication

    Note: Replication may work one way depending on the licensing configuration.

  • In the SRM logs, you see entries similar to:

    INFO hms.job [hms-jobs-main-thread-5459] (..job.impl.ConfigureReplicationPrimaryImpl) | Configure replication job started with ID xxx
    INFO hms.job [hms-jobs-main-thread-5459] (..job.impl.ConfigureReplicationPrimaryImpl) | Loading job parameters
    TRACE hms.updates.persistentChangeJournal [hms-jobs-main-thread-5459] (..updates.persistent.PersistentChangeJournal) | Entering PersistentChangeJournal::record
    TRACE hms.updates.persistentChangeJournal [hms-jobs-main-thread-5459] (..updates.persistent.PersistentChangeJournal) | Leaving PersistentChangeJournal::record
    INFO hms.job [hms-jobs-main-thread-5459] (..job.impl.ConfigureReplicationPrimaryImpl) | Checking for valid assigned SRM license before creating group Test_VM
    ERROR hms.job [hms-jobs-main-thread-5459] (..job.impl.ConfigureReplicationPrimaryImpl) | Create groups failed
    java.lang.NullPointerException
    at com.vmware.hms.licensing.LicenseChecker.parseLicense(LicenseChecker.java:325)
    at com.vmware.hms.licensing.LicenseChecker.check(LicenseChecker.java:175)
    at com.vmware.hms.job.impl.ConfigureReplicationPrimaryImpl.startLocal(ConfigureReplicationPrimaryImpl.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.vmware.jvsl.job.jms.JmsJobDispatcher$1.run(JmsJobDispatcher.java:115)
    at com.vmware.jvsl.sessions.net.impl.SessionExecutor$1.run(SessionExecutor.java:60)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)

Cause

This issue occurs if one of the SRM instance or both are not licensed under vCenter Server Licensing.

Resolution

To resolve this issue:
  1. Find the SRM license entry under Licensing.
  2. Select the license instance Asset option to apply the SRM license.

Note: You need not restart any of the services.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: