Descriptor exception for "missing mapping for field"
I am using TopLink 9.0.3, oracle database 9, JVM 1.4.
I got one DescirptorException that states that the descriptor misses mapping for one database field.
However I have such field mapped through workbench.
The is the exception.
-----------------exception-----------------------
LOCAL EXCEPTION STACK:
EXCEPTION [TOPLINK-45] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
EXCEPTION DESCRIPTION: Missing mapping for field [DatabaseField(DEVICEDB.DEVICEID)].
DESCRIPTOR: Descriptor(ContactDB --> [DatabaseTable(DEVICEDB)])
at oracle.toplink.exceptions.DescriptorException.missingMappingForField(Unknown Source)
at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
at oracle.toplink.mappings.OneToManyMapping.extractForeignKeyFromReferenceObject(Unknown Source)
at oracle.toplink.mappings.OneToManyMapping.executeBatchQuery(Unknown Source)
at oracle.toplink.mappings.OneToManyMapping.extractResultFromBatchQuery(Unknown Source)
at oracle.toplink.internal.indirection.NoIndirectionPolicy.valueFromBatchQuery(Unknown Source)
at oracle.toplink.mappings.ForeignReferenceMapping.batchedValueFromRow(Unknown Source)
at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(Unknown Source)
at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(Unknown Source)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(Unknown Source)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(Unknown Source)
at oracle.toplink.internal.descriptors.ObjectBuilder.buildObjectsInto(Unknown Source)
at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.buildObjectsFromRows(Unknown Source)
at oracle.toplink.queryframework.ReadAllQuery.execute(Unknown Source)
at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(Unknown Source)
at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(Unknown Source)
at oracle.toplink.indirection.IndirectList.buildDelegate(Unknown Source)
at oracle.toplink.indirection.IndirectList.getDelegate(Unknown Source)
at oracle.toplink.indirection.IndirectList.isEmpty(Unknown Source)
The is my mapping file for DeviceDB and ContactDB. The ContactDB is a subclass of the DeviceDB.
Clearly from the mapping below, the DeviceDB has a mapping for the database filed DeviceID.
The ContactDB is a subclass of DeviceDB. Therefore the ContactDB also should have a mapping for
database field deviceID
----------------------- partial mapping file for DeviceDB----------
public Descriptor buildDeviceDBDescriptor() {
Descriptor descriptor = new Descriptor();
descriptor.setJavaClass(DeviceDB.class);
descriptor.addTableName("DEVICEDB");
descriptor.addPrimaryKeyFieldName("DEVICEDB.DBID");
// Inheritance properties.
descriptor.getInheritancePolicy().setClassIndicatorFieldName("DEVICEDB.CLASS");
descriptor.getInheritancePolicy().addClassIndicator(ContactDB.class, "c");
descriptor.getInheritancePolicy().addClassIndicator(ContentDB.class, "f");
OneToOneMapping deviceMapping = new OneToOneMapping();
deviceMapping.setAttributeName("device");
deviceMapping.setReferenceClass(Device.class);
deviceMapping.setRelationshipPartnerAttributeName("databases");
deviceMapping.dontUseIndirection();
deviceMapping.readOnly();
deviceMapping.addForeignKeyFieldName("DEVICEDB.DEVICEID", "DEVICE.DEVICEID");
descriptor.addMapping(deviceMapping);
return descriptor;
---------------------------partial mapping for ContactDB --------------
public Descriptor buildContactDBDescriptor() {
Descriptor descriptor = new Descriptor();
descriptor.setJavaClass(com.access.sync.business.contact.ContactDB.class);
descriptor.addTableName("DEVICEDB");
// Inheritance properties.
descriptor.getInheritancePolicy().setParentClass(com.access.sync.framework.systemObj.DeviceDB.class);
Any help is really appreciated.
jason
Your 1-1 mapping must not be read-only.
deviceMapping.readOnly();Read-only means the mapping will not write the field, and should only be used when another mapping does write the field.
Similar Messages
-
Missing mapping for field error
Here is the set up:
Person extends Party using InheritanceType.JOINED
Household extends Party_Relationship using InheritanceType.JOINED
Household has a Set of Persons mapped One to Many unidirectional
When I use PrimaryKeyJoinColumn on the Person and/or Household to rename the column say to PERSON_POID instead of PARTY_POID and when adding Persons to the Household Set the following error occurs:
oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: Missing mapping for field [PERSON.PARTY_POID].
Descriptor: RelationalDescriptor(com.dhsnet.cms.domain.Person --> [DatabaseTable(PARTY), DatabaseTable(PERSON)])
What am I missing? If I do not use the PrimaryKeyJoinColumn mapping this error does not occur. I am stumped! Any help is greatly appreciated.
Here are the mappings:
@Entity
@TableGenerator(name="party", table="generator", pkColumnName="table_name",
valueColumnName="key_value", pkColumnValue="party", allocationSize=1)
@Table(name="PARTY")
@Inheritance(strategy=InheritanceType.JOINED)
@DiscriminatorColumn(name = "PARTY_TYPE")
public abstract class Party extends AbstractEntity{
@Entity
@DiscriminatorValue("PERSON")
@PrimaryKeyJoinColumn(name="PERSON_POID")
public class Person extends Party{
@Entity
@Table(name="PARTY_RELATIONSHIP")
@TableGenerator(name="party_relationship", table="generator", pkColumnName="table_name",
valueColumnName="key_value", pkColumnValue="party_relationship", allocationSize=1)
@Inheritance(strategy = InheritanceType.JOINED)
@DiscriminatorColumn(name = "PARTY_RELATIONSHIP_TYPE", discriminatorType=DiscriminatorType.STRING)
public abstract class PartyRelationship extends AbstractEntity {
@Entity
@DiscriminatorValue(value="HOUSEHOLD")
@PrimaryKeyJoinColumn(name="HOUSEHOLD_POID")
public class Household extends PartyRelationship {
On the Household Object:
@OneToMany
@JoinTable(joinColumns = @JoinColumn(name="HOUSEHOLD_POID"),
inverseJoinColumns = @JoinColumn(name="PERSON_POID"))
protected Set<Person> getMembers() {
return members;
}This looks to be the same/related issue that has already been entered. See
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1586
The alternative like you mentioned, is to not use a PrimaryKeyJoinColumn to rename the column in the joined inheritance case.
Cheers,
Guy -
XML mapping inheritance problem; missing class indicator field
Hi!
I am currently working on a project which involves mapping a large domain model on a XSD schema. For this we use Toplink 10.1.3.1 which is mostly great. But now I have a problem while wanting to use class inheritance.
In my XSD I have the following defined
<xs:complexType name="Traject">
<xs:sequence>
<xs:element name="SoortTraject" type="SoortTraject"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SpecialTraject">
<xs:complexContent>
<xs:extension base="Traject">
<xs:sequence>
[some elements]
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>My XML is an implementation of this XSD and looks like this
<Trajecten>
<Traject xsi:type="SpecialTraject">
[implementation of the elements]
</Traject>
</Trajecten>My domain model corresponts to the XSD, so there is a Traject object and an inherited SpecialTraject object.
In the mapping I used the Advanced properties->inheritance on both descriptors telling the Traject descriptor that it was the 'Root Parent Descriptor' ('Use class indicator field' -> 'use XML Schema Type attribute', 'Use class indicator dictionary') and the SpecialTraject what it Child Descriptor was ('Traject').
When I test my mapping it always results in the same error (no matter how I configure this inheritance mapping). It says :
[TOPLINK-44] missing class indicator field
Descriptor: XMLDescriptor(Traject --> [])What am I doing wrong? Does anybody know a sollution?
Best regards,
Jouke Stoel
DeveloperThis is the changed XML descriptor file. When I deploy the file it automaticly overrides the old file so it ain't possible that I was still using the wrong file
<toplink:class-indicator-mappings>
<toplink:class-indicator-mapping>
<toplink:class>Traject</toplink:class>
<toplink:class-indicator xsi:type="xsd:string">Traject</toplink:class-indicator>
</toplink:class-indicator-mapping>
<toplink:class-indicator-mapping>
<toplink:class>SpecialTraject</toplink:class>
<toplink:class-indicator xsi:type="xsd:string">SpecialTraject</toplink:class-indicator>
</toplink:class-indicator-mapping>
</toplink:class-indicator-mappings>I have posted the stacktrace but I had to translate a bit because my exception was in Dutch :)
Locale is a great invention
Exception [TOPLINK-44] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
Exception description: Missing class indicator field of database row [UnmarshalRecord()].
Descriptor: XMLDescriptor(Traject --> [])
at oracle.toplink.exceptions.DescriptorException.missingClassIndicatorField(DescriptorException.java:887)
at oracle.toplink.internal.ox.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:84)
at oracle.toplink.internal.ox.XMLRelationshipMappingNodeValue.processChild(XMLRelationshipMappingNodeValue.java:13)
at oracle.toplink.internal.ox.XMLCompositeCollectionMappingNodeValue.startElement(XMLCompositeCollectionMappingNodeValue.java:62)
at oracle.toplink.ox.record.UnmarshalRecord.startElement(UnmarshalRecord.java:352)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:189)
at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:147)
at oracle.toplink.ox.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:228)
. -
Composite invoking Spring Context errors with Missing class indicator field
Hi. I’m working on a composite with a Spring Context component that is referenced in a BPMN process and have run into some issues and I was hoping you may have some insight.
I’m able to deploy the composite successfully, however when I try testing it on the SOA Server, it fails with the exception below:
<auditQueryPayload auditId="17008" ciKey="12">
<dataState>
<dataObject name="FaultMessage" isBusinessIndicator="false">
<value> com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>Exception [EclipseLink-44] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DescriptorException Exception Description: Missing class indicator field from database row [UnmarshalRecord()]. Descriptor: XMLDescriptor(com.bea.infra.events.ExtendedData --> [DatabaseTable(ns2:ExtendedData)])</summary> ,detail=<detail> Exception Description: Missing class indicator field from database row [UnmarshalRecord()]. Descriptor: XMLDescriptor(com.bea.infra.events.ExtendedData --> [DatabaseTable(ns2:ExtendedData)])</detail>} </value>
</dataObject>
</dataState>
</auditQueryPayload>
The class referenced in the error, ExtendedData, is a very simple, abstract class. Here it is:
@XmlSeeAlso( { AssetUnregistered.class, ExtractionReassign.class,
RelatedAssetRegister.class, ExtractionSubsequentNotify.class,
ExtractionIntialNotify.class, AssetSubmission.class,
ExtractionStatusChanged.class, MultiUse.class,
ALERExtendedData.class })
public abstract class ExtendedData {
Do you have any thoughts or would know someone who could help?
Thanks,
MikeI've tried adding the jar to the classpath, installing the jar on the weblogic server, adding all the dependencies, and adding the jar to the project sourcepath. None of these worked either. Any Help would be appreciated.
-
Exception Description: Missing descriptor for ...
I have this to query:
codes:
UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
Vector params = new Vector(1);
params.add(argCompanyId);
VsaSpaVendor result = (VsaSpaVendor)uow.executeQuery("findVendorByCompanyId", VsaSpaVendor.class, params);
uow.commit();
return result;
then I startup the embedded oc4j in jdeveloper,I got the following errors,
but when I deploy my application to a standalone oc4j server, it works.
errors:
Caused by: Exception [TOPLINK-6007] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.QueryException
Exception Description: Missing descriptor for [class com.vs.espa.model.VsaSpaVendor].
Query: ReadObjectQuery(com.vs.espa.model.VsaSpaVendor)
at oracle.toplink.exceptions.QueryException.descriptorIsMissing(QueryException.java:358)
at oracle.toplink.queryframework.ReadObjectQuery.checkDescriptor(ReadObjectQuery.java:211)
at oracle.toplink.queryframework.ObjectLevelReadQuery.checkPrePrepare(ObjectLevelReadQuery.java:566)
at oracle.toplink.queryframework.ObjectLevelReadQuery.checkEarlyReturn(ObjectLevelReadQuery.java:501)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:564)
at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:388)
at oracle.toplink.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:836)
at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2604)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:950)
at oracle.toplink.publicinterface.Session.readObject(Session.java:2541)
at com.vs.espa.model.EspaPublicFacadeBean.findVendorByCompanyId(EspaPublicFacadeBean.java:1037)
at com.vs.espa.model.EspaPublicFacadeBean.findUserByUserName(EspaPublicFacadeBean.java:796)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
... 129 more
Anyone can tell me why?
JerryThank you, James
I create SessionFactory by this:
public EspaPublicFacadeBean() {
this.sessionFactory =
new SessionFactory("META-INF/sessions.xml", "default");
the sessions.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink Sessions 9.0.4//EN" "sessions_9_0_4.dtd">
<toplink-configuration>
<session>
<name>default</name>
<project-xml>META-INF/espaMap.xml</project-xml>
<session-type>
<server-session/>
</session-type>
<login>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<datasource>jdbc/devvsDS</datasource>
<platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
<user-name>vsc</user-name>
<encryption-class-name>oracle.toplink.internal.security.JCEEncryptor</encryption-class-name>
<encrypted-password>03B2E88B1EC44B3883BEF6EB790DF0F8D62D1A19DF561D1E</encrypted-password>
<uses-native-sequencing>true</uses-native-sequencing>
<sequence-preallocation-size>1</sequence-preallocation-size>
<uses-external-connection-pool>true</uses-external-connection-pool>
<uses-external-transaction-controller>true</uses-external-transaction-controller>
</login>
<external-transaction-controller-class>oracle.toplink.transaction.oc4j.Oc4jTransactionController</external-transaction-controller-class>
<enable-logging>true</enable-logging>
<logging-options>
<log-debug>true</log-debug>
<log-level>fine</log-level>
<print-thread>true</print-thread>
</logging-options>
</session>
</toplink-configuration>
class-mapping-descriptor defined in espaMap.xml
<opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
<opm:class>com.vs.espa.model.VsaSpaVendor</opm:class>
<opm:alias>VsaSpaVendor</opm:alias>
<opm:primary-key>
<opm:field table="VSA_SPA_VENDOR" name="COMPANY_ID" xsi:type="opm:column"/>
</opm:primary-key>
<opm:events xsi:type="toplink:event-policy"/>
<opm:querying xsi:type="toplink:query-policy">
<opm:queries>
<opm:query name="findVendorByCompanyId" xsi:type="toplink:read-object-query">
<opm:criteria operator="equal" xsi:type="toplink:relation-expression">
<toplink:left name="companyId" xsi:type="toplink:query-key-expression">
<toplink:base xsi:type="toplink:base-expression"/>
</toplink:left>
<toplink:right xsi:type="toplink:parameter-expression">
<toplink:parameter name="argCompanyId" xsi:type="opm:column"/>
</toplink:right>
</opm:criteria>
<opm:arguments>
<opm:argument name="argCompanyId">
<opm:type>java.lang.Integer</opm:type>
</opm:argument>
</opm:arguments>
<toplink:timeout>0</toplink:timeout>
<toplink:reference-class>com.vs.espa.model.VsaSpaVendor</toplink:reference-class>
<toplink:cache-usage>primary-key</toplink:cache-usage>
<toplink:lock-mode>none</toplink:lock-mode>
</opm:query>
Any ideas? Or could you give me some sample codes?
Jerry -
[TOPLINK-6007]: Exception Description: Missing descriptor for
Hi,
We developed an ADF application with TopLink in JDeveloper 10.1.3.3. All things are right in JDeveloper's embedded OC4J.
But after we deployed it to standalone OC4J 10.1.3.3, we find following errors (in CMD window):
TOPLINK-6007] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 07
*0428)): oracle.toplink.exceptions.QueryException*
*Exception Description: Missing descriptor for [class oracle.model.class1].*
Query: ReadObjectQuery(oracle.model.class1)
And find other erros related to this class1 (in this application's application.log)
javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'allNameList' from bean of type oracle.view.backing.UserPrivilege: java.lang.ClassCastException: oracle.model.class1
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
at javax.faces.component.UISelectItems.getValue(UISelectItems.java:130)
at oracle.adfinternal.view.faces.renderkit.uix.SelectItemSupport.addSelectItems(SelectItemSupport.java:262)
at oracle.adfinternal.view.faces.renderkit.uix.SelectManyShuttleRenderer._getSelectItems(SelectManyShuttleRenderer.java:178)
at oracle.adfinternal.view.faces.renderkit.uix.SelectManyShuttleRenderer.encodeBegin(SelectManyShuttleRenderer.java:60)
at oracle.adf.view.faces.component.UIXComponentBase.encodeBegin(UIXComponentBase.java:593)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:297)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(BorderLayoutRenderer.java:42)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(BorderLayoutRenderer.java:71)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)
at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)
at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(RowLayoutRenderer.java:95)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
at UserPrivilegejspx._jspService(_UserPrivilege_jspx.java:1169)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.el.EvaluationException: Error getting property 'allNameList' from bean of type oracle.view.backing.UserPrivilege: java.lang.ClassCastException: oracle.model.class1
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:109)
at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
... 138 more
Caused by: java.lang.ClassCastException: oracle.model.class1
at oracle.view.backing.UserPrivilege.getAllNameList(UserPrivilege.java:60)
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:585)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:99)
... 143 more
How to resolve?
Thanks,
MelodyThere was a recent thread on this issue,
Missing Descriptor in Servlet
Basically TopLink does not get notified of the undeployment of an app, so cannot remove the session from the SessionManager. (unless you are using CMP)
If you can receive notification of the deploy/undeploy you could remove or refresh the session from the session manager.
A simple way to do this would be to keep a static boolean variable in your apps class that accesses the session from the session manager. The first time you access the session refresh it and set the static to true.
To refresh a session from the session manager use the API,
SessionManager.getSession(XMLSessionConfigLoader/XMLLoader xmlLoader, String sessionName, ClassLoader classLoader, boolean shouldLoginSession, boolean shouldRefreshSession)
i.e.
SessionManager.getManager().getSession(new XMLSessionConfigLoader/XMLLoader("sessions.xml/or your file name/path"), "yourSessionName", yourClassLoader, true, true);
Only use this API the first time you access the session from the app.
You can also use the following code to remove a session,
SessionManager.getManager().getSessions().remove("yourSessionName");
I have logged this issue internally, hopefully a better solution will be provided in the 10.1.3 release. -
Exception [TOPLINK-48] Multiple writable mappings exist for field
Hi All
I am quite new to JPA and Toplink and I am trying to write simple JPA application using toplink essentials as the persistence provider however, when I comppile the code, get errors below saying that Multiple writable mappings exist for a given field i.e. http://J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE. The thing is, I havent tried to map this field i.e. J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE to multiple maps so I'm a bit confused as to why I'm getting this error. I have attached all the the associated code and error messages. I was hoping that some one will be able to help. I am using Eclipse Galileo and OC4j Standalone 10.1.3.4
The error are
Runtime Exceptions:
; nested exception is:
javax.persistence.PersistenceException: Exception TOPLINK-0 (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.IntegrityException
Descriptor Exceptions:
Exception TOPLINK-48 (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: Multiple writable mappings exist for the field http://J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE. Only one may be defined as writable, all others must be specified read-only.
Mapping: oracle.toplink.essentials.mappings.DirectToFieldMappinghttp://branch_Addr_Road_Name-->J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE
Descriptor: RelationalDescriptor(com.gworx.Bank --> http://DatabaseTable(J2EEUSER.BANKS))
Exception TOPLINK-48 (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: Multiple writable mappings exist for the field http://J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE. Only one may be defined as writable, all others must be specified read-only.
Mapping: oracle.toplink.essentials.mappings.DirectToFieldMappinghttp://bankName-->J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE
Descriptor: RelationalDescriptor(com.gworx.Bank --> http://DatabaseTable(J2EEUSER.BANKS))
Exception TOPLINK-48 (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: Multiple writable mappings exist for the field http://J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE. Only one may be defined as writable, all others must be specified read-only.
Mapping: oracle.toplink.essentials.mappings.DirectToFieldMappinghttp://branch_Addr_Locality-->J2EEUSER.BANKS.BRANCH_ADDR_POSTCODE
Descriptor: RelationalDescriptor(com.gworx.Bank --> http://DatabaseTable(J2EEUSER.BANKS))
The entity class is
package com.gworx;
import java.io.Serializable;
import javax.persistence.*;
import javax.persistence.CascadeType;
@Entity
@IdClass(BankPK.class)
@Table(name = "BANKS", schema = "J2EEUSER")
public class Bank implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@Column(name = "BRANCH_SORTCODE", nullable = false, precision = 6, insertable=false, updatable=false)
long sortcode;
@Basic()
@Column(name = "BANK_NAME", nullable = false, insertable=false, updatable=false)
String bankName;
@Basic()
@Column(name = "BRANCH_NAME", nullable = false, insertable=false, updatable=false)
String branchName;
@Basic()
@Column(name = "BRANCH_ADDR_HOUSE_NAME", nullable = false, insertable=false, updatable=false)
String branch_Addr_House_Name;
@Basic()
@Column(name = "BRANCH_ADDR_ROAD_NAME",nullable = false, insertable=false, updatable=false)
String branch_Addr_Road_Name;
@Basic()
@Column(name = "BRANCH_ADDR_LOCALITY", nullable = false, insertable=false, updatable=false)
String branch_Addr_Locality;
@Basic()
@Column(name = "BRANCH_ADDR_CITY",nullable = false, insertable=false, updatable=false)
String branch_Addr_City;
@OneToOne(cascade=CascadeType.ALL)
@Basic()
@Column(name = "BRANCH_ADDR_POSTCODE", nullable = false)
String branch_Addr_Postcode;
public Bank(){}
public Bank(
String bankName,
String branchName,
long sortcode,
String branch_Addr_House_Name,
String branch_Addr_Road_Name,
String branch_Addr_Locality,
String branch_Addr_City,
String branch_Addr_Postcode)
this.bankName=bankName;
this.sortcode=sortcode;
this.branchName = branchName;
this.branch_Addr_House_Name=branch_Addr_House_Name;
this.branch_Addr_Road_Name=branch_Addr_Road_Name;
this.branch_Addr_Locality=branch_Addr_Locality;
this.branch_Addr_City=branch_Addr_City;
this.branch_Addr_Postcode=branch_Addr_Postcode;
public void setSortcode(long sortcode){
this.sortcode =sortcode;
public long getSortCode(){
return this.sortcode;
The PK class is
public class BankPK implements Serializable {
public long sortcode;
public BankPK(long sortcode){
this.sortcode = sortcode;
public boolean equals(Object obj){
if(obj==null || !(obj instanceof BankPK)){
return false;
else if (((BankPK)obj).sortcode ==sortcode)
return true;
else
return false;
public int hashCode(){
StringBuffer buff = new StringBuffer();
buff.append(sortcode);
int hashCode =buff.hashCode();
return hashCode;
My stateless session bean that I use to create to create the entity is
package com.gworx;
import javax.ejb.Local;
import javax.ejb.Stateless;
import javax.persistence.*;
import javax.ejb.Remote;
import com.gworx.BankBeanRemote;
@Stateless
public class BankBean implements BankBeanRemote {
@PersistenceContext
EntityManager entMgr;
public Account account;
long sortcode, cust_id;
//Bank Details
String bankName,branchName,branch_Addr_House_Name,
branch_Addr_Road_Name,branch_Addr_Locality,
branch_Addr_City, branch_Addr_Postcode;
public BankBean() {
// TODO Auto-generated constructor stub
// entMgr=emf.createEntityManager();
public void make_A_Bank(
String bankName,
String branchName,
long sortcode,
String branch_Addr_House_Name,
String branch_Addr_Road_Name,
String branch_Addr_Locality,
String branch_Addr_City,
String branch_Addr_Postcode
this.sortcode=sortcode;
this.bankName =bankName;
this.branchName = branchName;
this.branch_Addr_House_Name=branch_Addr_House_Name;
this.branch_Addr_Road_Name=branch_Addr_Road_Name;
this.branch_Addr_Locality=branch_Addr_Locality;
this.branch_Addr_City=branch_Addr_City;
this.branch_Addr_Postcode=branch_Addr_Postcode;
Bank bank = new Bank( bankName,branchName,sortcode,branch_Addr_House_Name,
branch_Addr_Road_Name,branch_Addr_Locality,
branch_Addr_City, branch_Addr_Postcode);
entMgr.persist(bank);
}Hi quophyie,
try removing the @OneToOne annotation, after all your postcode is just a string, there's nothing to cascade.
And it would help a lot if you formatted your code.
Zsom -
Sample source code for fields mapping in expert routine
Hi All
Iam writing the expert routine from dso to cube for example I have two fields in dso FLD1,FLD2
same fields in infocube also ,can any body provide me sample abap code to map source fields to target fields in expert routine,your help will be heighly appreciatble,it's an argent.
regards
eliazBasic would be ;
RESULT_FIELDS -xxx = <SOURCE_FIELDS> -xxx
you have the source fields as source, and result fields for as the target. In between you can check some conditions as in other routines of transformation.
BEGIN OF tys_SC_1, shows your source fields ( in your case DSO chars and key figures)
BEGIN OF tys_TG_1, , shows your result fields ( in your case Cube characteristics)
Hope this helps
Derya -
I have adobe photoshop CS6 and I am trying to use the analysis tools but all of them except for the ruler tool are unavailable. Am I missing certain plug ins?
Which operating system?
If I recall, some features were not fully supported on XP.
Nancy O. -
XI Message Monitoring - Mapping custom fields for search in monitor?
Is it possible to map a reference field so that searching for a specific message is more user friendly?
For example, we produce hundreds of outbound SHPMNT04 messages each day. Would it be possible to map a field such as E1EDT20.TKNUM (Shipment Number) to a field in the monitor (SXMB_MONI) such as "Outbound Reference" so we can easily search on this field?
Currently we use a combination of WE09 and IDX5 to find a specific message. Obviously, this is cumbersome and time-consuming.
Thanks in advance.Hi,
of course it is possible in many ways
there are at least two ways
the first one is to use Trex search for xi + standard
the second one is described in this weblog + but remember that
without indexing this will take long to search like this
/people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
Regards,
michal -
Mapping test throughs exception for UDF that does'nt exist anymore
Hello everybody,
my mapping test throughs an exception for a UDF that I deleted?
Any ideas?
Regards MarioHi Mario,
Sometimes XI Mapping test may throw an Error if any of the other UDF is having errors.
So please do the following and check whether you are able to run mapping test.
1. Check all the UDF for any syntax errors/import stmt error etc.
2. goto Edit mode and do some dummy changes (Like changing UDF Description etc) and activate and check again.
Regards,
Ananth -
Been using mail forever and only with my gmail account. All of a sudden, all my inbox mails are missing except for anything after yest night. I log into gmail on safari and everything is there but not on my mac or iphone in mail
Same problem in 8.1.3
Apple help! -
ALE: mapping IDoc fields to change document fields - TBD22 for ADRMAS iDoc
Hi,
I am currently try to find a table or way to extract the information of the TBD22 table (ALE: mapping IDoc fields to change document fields) for the iDocs/ Message Types:
ADRMAS
INTERNAL_ORDER
PROJECT
I am looking for a table that shows me to which SAP R/3 tables and fields the segments and fields of the above mentioned messages will be mapped to.
When I add one of the above mentioned message types to the table TBD22 selection criteria I always receive the notification: "No table entries found for specific key".
Could anybody determine Which table I have to use or why I cannot extract this information?
Thanks in advance!
Best regardsHi,
Since we can not map the target IDOC when any of the field changes using nodefunctions , you can write UDF and check the same i.e if field1 changes or field2 changes or field3 changes then trigger new IDoc. This is one of the options that you can try...please try it once.
Regards
Priyanka -
I had photoshop installed fine. We had to replace our hard drive, but had a full backup and everything else is working except for elements. This is the message I get -Some of the application components are missing from the Application directory, Please reinstall the application. I have reinstalled, but am getting the same message.
A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
*https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
You can also try to repair the places database with this extension:
*https://addons.mozilla.org/firefox/addon/places-maintenance/ -
Just updated my iPad 2 via iTunes to iOS 7.0.2. So far everything loaded except for sent mail. Is there anyway to recover the sent mail?
You'll get a variety of earlier versions of iTunes here: Old iTunes for Mac
Maybe you are looking for
-
Is Adobe Bridge included in my creative cloud membership?
Is Adobe Bridge included in my creative cloud membership?
-
How to change a field to mandatory in custom list form in SharePoint designer 2010?
I need to create a custom form for a list, e.g. custom edit form. several fields are not mandatory by default, but in the custom edit form I need to make them mandatory. Is there a way to do that in SPD 2010?
-
Timesheet error when clicking on details in the daily view
Hi Everyone, We just applied the new Pack EHP4 and update our ESS portal accordingly. But in timesheet are getting an error we haven't encountered before. When going to timesheet (record time app) and clicking on the daily view you either get a new s
-
I can't get java to work with Firefox on my mac with OS 10.6.8. I did everything suggested and still no luck. Java is installed, enabled, and updated. I can't even activate java per site because I don't get the "click here to activate" box for some r
-
Export from iPhoto with limited ppi.
I need to submit a photo that is 1000 ppi in its longest dimension. When exporting from iPhoto, you can select small, medium, large and original. Or go the custom route, in which case the dimension is listed as "px." How do I convert to ppi? Thank y