My Oracle Support Banner

Saving of Assembly Does Not Create Structure Tab. Error: "java.lang.RuntimeException: invalid data type: 2" (Doc ID 2081331.1)

Last updated on AUGUST 25, 2020

Applies to:

Oracle Agile PLM MCAD Connector - Version 3.4.0 and later
Information in this document applies to any platform.

Symptoms

Using Agile with the MCAD connector for Solidworks, when saving an assembly no structure tab will get created in Agile.

The following error can be found in the Agile log:

java.lang.RuntimeException: invalid data type: 2
at com.agile.util.asserts.Asserts.asserts(Asserts.java:39)
at com.agile.common.client.value.VOCellValueBuilder.createSingleValue(VOCellValueBuilder.java:105)
at com.agile.common.client.value.VOCellValueBuilder.createCellValue(VOCellValueBuilder.java:65)
at com.agile.ws.builder.ecservice.v1.CreateUpdateObjectsImpl.getObjectRequestStructure(CreateUpdateObjectsImpl.java:10860)
at com.agile.ws.builder.ecservice.v1.CreateUpdateObjectsImpl.batchUpdateDesignStructure(CreateUpdateObjectsImpl.java:10985)
at com.agile.ws.builder.ecservice.v1.CreateUpdateObjectsImpl.doUpdateStructure(CreateUpdateObjectsImpl.java:1096)
at com.agile.ws.builder.ecservice.v1.CreateUpdateObjectsImpl.doProcessV2(CreateUpdateObjectsImpl.java:1725)
at com.agile.ws.builder.ecservice.v1.CreateUpdateObjectsImpl.doProcess(CreateUpdateObjectsImpl.java:570)
at com.agile.ws.builder.base.AbstractBaseBuilderImpl.doProcess(AbstractBaseBuilderImpl.java:134)
at com.agile.ws.builder.ecservice.v1.ECServiceBuilder.createUpdateObjects(ECServiceBuilder.java:77)
at com.agile.ws.delegate.ecs.v1.jaxws.ECServiceDelegate.createUpdateObjects(ECServiceDelegate.java:163)

Steps to reproduce:

  1. Create SLDPRT.
  2. Create SLDASM.
  3. Save ASM and PRT.
  4. MCAD reports success.
  5. Files and attributes on Titleblock map successfully.
  6. No rows on the structure tab.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.