What can cause a java.lang.NullPointerException with com.tibco.cep.studio.core.util.GvUtil.getGvDefinedValue on the stack when validating a project in Tibco BusinessEvents (BE) Studio?

What can cause a java.lang.NullPointerException with com.tibco.cep.studio.core.util.GvUtil.getGvDefinedValue on the stack when validating a project in Tibco BusinessEvents (BE) Studio?

book

Article ID: KB0093277

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:

User upgraded from a previous version of BE and when validating the project sees the following stack:


java.lang.NullPointerException
    at com.tibco.cep.studio.core.util.GvUtil.getGvDefinedValue(Unknown Source)
    at com.tibco.cep.studio.core.util.GvUtil.getGvDefinedValue(Unknown Source)
    at com.tibco.cep.studio.core.validation.DefaultSharedResourceValidator.validateGvField(Unknown Source)
    at com.tibco.cep.sharedresource.validation.JDBCSharedResourceValidator.validate(Unknown Source)
    at com.tibco.cep.studio.ui.actions.ValidateProjectAction$ResourceVisitor.validateResource(Unknown Source)
    at com.tibco.cep.studio.ui.actions.ValidateProjectAction$ResourceVisitor.visit(Unknown Source)
    at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:106)
    at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:65)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:75)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:104)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:88)
    at com.tibco.cep.studio.ui.actions.ValidateProjectAction$ValidateProjectJob.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)   


Symptoms:
N/A
Cause:
This error is caused by a Global Variables not being properly matched.

Issue/Introduction

What can cause a java.lang.NullPointerException with com.tibco.cep.studio.core.util.GvUtil.getGvDefinedValue on the stack when validating a project in Tibco BusinessEvents (BE) Studio?

Resolution

Validation JNP