Unable to create EAR file in TIBCO BusinessEvents (BE) Studio which fails with a java.lang.NullPointerException error and an error message of "An error occurred while traversing resources" found in the .log file of the workspace\.metadata
book
Article ID: KB0087482
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ========= The EAR file failed to build after a change in the Decision Manager table. See 'Symptoms' for full error stack.
Environment: ========= BE 4.0.x
Symptoms: ========= The full stack from the .log file was: !MESSAGE An error occurred while traversing resources. !STACK 0 java.lang.NullPointerException at com.tibco.cep.studio.core.validation.dt.TableModelErrorsRecorder.reportError(Unknown Source) at com.tibco.cep.studio.core.validation.dt.DelegatingRuleErrorsRecorder.reportAllErrors(Unknown Source) at com.tibco.cep.decision.table.validators.DecisionTableResourceSyntaxValidator.checkTable(Unknown Source) at com.tibco.cep.decision.table.validators.DecisionTableResourceSyntaxValidator.validate(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:58) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:68) 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.BuildEnterpriseArchiveAction.isValid(Unknown Source) at com.tibco.cep.studio.ui.actions.BuildEnterpriseArchiveAction.runBuildArchive(Unknown Source) at com.tibco.cep.studio.ui.actions.BuildEnterpriseArchiveAction.access$0(Unknown Source) at com.tibco.cep.studio.ui.actions.BuildEnterpriseArchiveAction$BuildArchiveJob.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Cause: ========= The ownership, "ownerPath", was wrong for all of the poperties on one of the rules. A concept was moved using an "unsupported" mechanism for example drag and drop from Navigator, using file system, etc. The proper way to move these entities is the Refactor->Move option.
Resolution: ========= Correct the ownerPath be either: 1). Drop and recreated the concept which has this problem.
2). Open the declared concept with text editor, set OwnerPath with correct value.
e.g. <properties name="nombreOdN" ownerProjectName="ODN" ownerPath="/Concepts/OdN/ODN"/>
Issue/Introduction
Unable to create EAR file in TIBCO BusinessEvents (BE) Studio which fails with a java.lang.NullPointerException error and an error message of "An error occurred while traversing resources" found in the .log file of the workspace\.metadata