Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
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
Resolution
To resolve this issue:
- Find the SRM license entry under Licensing.
- 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.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

