Map mapping / UnsupportedOptionException

Hello,
I've got a strange exception while trying to map a Map field. We
have a LongHist class which is extending TreeMap<Long, Double> and
offering a few usefull methods. This LongHist is a field of another
class, and is mapped as a Map. this throws an exception for which I have
found no description. The code is below.
Any help is welcome :)
Thomas
public class LongHist extends TreeMap<Long, Double>
     public LongHist()
          super();
public class Simulation
private LongHist conditions = new LongHist();
..jdo
<class name="Simulation" ...>
<field name="conditions" default-fetch-group="false"
     persistence-modifier="persistent">
     <map key-type="Long" value-type="Double"/>
</field>
</class>
..mapping
<class name="JDOPlanningAlternative">
<field name="conditionsCalendar">
     <jdbc-field-map type="map" table="LONG_HIST"
     key-column="LH_KEY" value-column="LH_VALUE"
ref-column.ID="ID" />
</field>
</class>
..shema
<table name="LONG_HIST">
<column name="id" type="varchar" size="50"/>
<fk to-table="simulation">
<join column="ID" to-column="ID"/>
</fk>
<column name="lh_key" type="bigint"/>
<column name="lh_value" type="double"/>
</table>
Resulting exception (which is not in JavaDoc)
Message:      Storing exception
Exception:      kodo.util.FatalDataStoreException:
kodo.util.UnsupportedOptionException: Unable to create second class
object proxy for type: "class be.li3.util.history.LongHist".
     at
kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:1020)
     at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
     at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629)
     at be.li3.persistence.jdo.DbSession.store(DbSession.java:185)
     at
be.li3.persistence.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:316)
     at
be.li3.domain.dao.PersistenceWrapper.makePersistent(PersistenceWrapper.java:451)
     at
be.li3.domain.dao.DomainFactory.createPersistentObject(DomainFactory.java:97)
     at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:605)
     at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:593)
     at
be.li3.domain.bo.TestLoadCurveTask.testGetIntervals(TestLoadCurveTask.java:29)
     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 junit.framework.TestCase.runTest(TestCase.java:154)
     at junit.framework.TestCase.runBare(TestCase.java:127)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:118)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
     at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
     at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
     at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
NestedThrowablesStackTrace:
kodo.util.UnsupportedOptionException: Unable to create second class
object proxy for type: "class be.li3.util.history.LongHist".
     at kodo.util.ProxyManagerImpl.newMapProxy(ProxyManagerImpl.java:211)
     at kodo.runtime.StateManagerImpl.newFieldProxy(StateManagerImpl.java:1569)
     at kodo.runtime.SingleFieldManager.proxy(SingleFieldManager.java:242)
     at kodo.runtime.StateManagerImpl.proxyFields(StateManagerImpl.java:3097)
     at kodo.runtime.PNonTransState.initialize(PNonTransState.java:32)
     at kodo.runtime.StateManagerImpl.setJDOState(StateManagerImpl.java:174)
     at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:974)
     at
kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.java:1413)
     at
kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:998)
     at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
     at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629)
     at be.li3.persistence.jdo.DbSession.store(DbSession.java:185)
     at
be.li3.persistence.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:316)
     at
be.li3.domain.dao.PersistenceWrapper.makePersistent(PersistenceWrapper.java:451)
     at
be.li3.domain.dao.DomainFactory.createPersistentObject(DomainFactory.java:97)
     at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:605)
     at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:593)
     at
be.li3.domain.bo.TestLoadCurveTask.testGetIntervals(TestLoadCurveTask.java:29)
     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 junit.framework.TestCase.runTest(TestCase.java:154)
     at junit.framework.TestCase.runBare(TestCase.java:127)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:118)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
     at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
     at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.m

http://solarmetric.com/Software/Documentation/3.3.4/docs/ref_guide_pc_scos.html#ref_guide_pc_scos_proxy_custom
Thomas Cornet wrote:
>
Hello,
I've got a strange exception while trying to map a Map field. We
have a LongHist class which is extending TreeMap<Long, Double> and
offering a few usefull methods. This LongHist is a field of another
class, and is mapped as a Map. this throws an exception for which I have
found no description. The code is below.
Any help is welcome :)
Thomas
public class LongHist extends TreeMap<Long, Double>
public LongHist()
super();
public class Simulation
private LongHist conditions = new LongHist();
.jdo
<class name="Simulation" ...>
<field name="conditions" default-fetch-group="false"
persistence-modifier="persistent">
<map key-type="Long" value-type="Double"/>
</field>
</class>
.mapping
<class name="JDOPlanningAlternative">
<field name="conditionsCalendar">
<jdbc-field-map type="map" table="LONG_HIST"
key-column="LH_KEY" value-column="LH_VALUE"
ref-column.ID="ID" />
</field>
</class>
.shema
<table name="LONG_HIST">
<column name="id" type="varchar" size="50"/>
<fk to-table="simulation">
<join column="ID" to-column="ID"/>
</fk>
<column name="lh_key" type="bigint"/>
<column name="lh_value" type="double"/>
</table>
Resulting exception (which is not in JavaDoc)
Message: Storing exception
Exception: kodo.util.FatalDataStoreException:
kodo.util.UnsupportedOptionException: Unable to create second class
object proxy for type: "class be.li3.util.history.LongHist".
at
kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:1020)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629)
at be.li3.persistence.jdo.DbSession.store(DbSession.java:185)
at
be.li3.persistence.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:316)
at
be.li3.domain.dao.PersistenceWrapper.makePersistent(PersistenceWrapper.java:451)
at
be.li3.domain.dao.DomainFactory.createPersistentObject(DomainFactory.java:97)
at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:605)
at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:593)
at
be.li3.domain.bo.TestLoadCurveTask.testGetIntervals(TestLoadCurveTask.java:29)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
NestedThrowablesStackTrace:
kodo.util.UnsupportedOptionException: Unable to create second class
object proxy for type: "class be.li3.util.history.LongHist".
at kodo.util.ProxyManagerImpl.newMapProxy(ProxyManagerImpl.java:211)
at
kodo.runtime.StateManagerImpl.newFieldProxy(StateManagerImpl.java:1569)
at kodo.runtime.SingleFieldManager.proxy(SingleFieldManager.java:242)
at
kodo.runtime.StateManagerImpl.proxyFields(StateManagerImpl.java:3097)
at kodo.runtime.PNonTransState.initialize(PNonTransState.java:32)
at kodo.runtime.StateManagerImpl.setJDOState(StateManagerImpl.java:174)
at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:974)
at
kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.java:1413)
at
kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.java:998)
at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
at
kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629)
at be.li3.persistence.jdo.DbSession.store(DbSession.java:185)
at
be.li3.persistence.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:316)
at
be.li3.domain.dao.PersistenceWrapper.makePersistent(PersistenceWrapper.java:451)
at
be.li3.domain.dao.DomainFactory.createPersistentObject(DomainFactory.java:97)
at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:605)
at
be.li3.domain.dao.DomainFactory.createPlanningAlternative(DomainFactory.java:593)
at
be.li3.domain.bo.TestLoadCurveTask.testGetIntervals(TestLoadCurveTask.java:29)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.m--
Steve Kim
[email protected]
SolarMetric Inc.
http://www.solarmetric.com

Similar Messages

  • Need help in Component Mapping - "Mapping has not been completed" !

    Hi Experts,
    i read the SAP Galileo Press Book "Web Dynpro for ABAP" and i try in Chapter 2 some exercise for Multi-Component-Architecture.
    In this Chapcter i have 2 Components "Main" and "Nations". In one of this Components i created Node´s and Attributes in the Context of Component-Controller. After this i changed to the View and tryed to mapping the Component-Controller and View.
    Before i explain what i have done, i want show us the following Error:
    Note
    -> The following error text was processed in system FID : Adapter error in TEXT_VIEW "TV_LANDX50" of view "ZZWDC_CHAP02_NATIONS.V_NATIONS": Context binding of property TEXT cannot be resolved: The Mapping to Node COMPONENTCONTROLLER.1.T005T Has Not Been Completed.
    -> The error occurred on application server fidvfid0_FID_00 and in work process 0 .
    -> The termination type was: RABAX_STATE
    -> The ABAP call hierarchy was:
    -> Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP
    -> Method: RAISE_BINDING_EXCEPTION of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    -> Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP

    ETN_58 wrote:
    Hi Experts,
    >
    > i read the SAP Galileo Press Book "Web Dynpro for ABAP" and i try in Chapter 2 some exercise for Multi-Component-Architecture.
    >
    > In this Chapcter i have 2 Components "Main" and "Nations". In one of this Components i created Node´s and Attributes in the Context of Component-Controller. After this i changed to the View and tryed to mapping the Component-Controller and View.
    >
    > Before i explain what i have done, i want show us the following Error:
    >
    > Note
    >
    > -> The following error text was processed in system FID : Adapter error in TEXT_VIEW "TV_LANDX50" of view "ZZWDC_CHAP02_NATIONS.V_NATIONS": Context binding of property TEXT cannot be resolved: The Mapping to Node COMPONENTCONTROLLER.1.T005T Has Not Been Completed.
    > -> The error occurred on application server fidvfid0_FID_00 and in work process 0 .
    > -> The termination type was: RABAX_STATE
    > -> The ABAP call hierarchy was:
    > -> Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP
    > -> Method: RAISE_BINDING_EXCEPTION of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    > -> Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    hello,
    i think you missed mapping the layout with the context attributes....check out the property of all the elements in the view, if not mapped map it by selecting the attribute from the node.
    Regards,
    Sahai.S

  • "One-To-Many" Map mapping missing?

    I want a collection of dependent objects to be loaded into a hashmap.
    My example: A DocumentGroup (DocumentGroup) has language dependent parts
    (DocumentGroupLanguagePart) for each language within the application
    (Language).
    public class DocumentGroup
    private HashMap languageParts;
    class DocumentGroupLanguagePart
    * @bidirectional
    private DocumentGroup documentGroup;

    There isn't a standard mapping for what you describe. However, you
    should be able to use our Externalization framework to get the mapping
    you want -- you'll just have to write a single custom method.
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_mapping_fieldmapping.html#ref_guide_mapping_fieldmapping_extern
    Here's what I was thinking:
    - Keep the Java field as a Map, and keep the standard JDO metadata for a
    Map (<map key-type="..." value-type="..."/>).
    - Use Map.values() to translate the Map into a Collection of
    DocumentGroupLanguagePart instances:
    <extension vendor-name="kodo" key="externalizer" value="values"/>
    - Add the "element-type" extension to tell Kodo the element type of the
    collection returned by Map.values():
    <extension vendor-name="kodo" key="element-type"
    value="DocumentLanguagePart"/>
    - Use a custom static factory method to translate the the collection of
    DocumentLanguagePart objects back into a Map:
    <extension vneodr-name="kodo" key="factory"
    value="MyHelperClass.myHelperMethod"/>
    Note that this helper method should take in a Collection and return a
    Map. Obviously you can create the Map by extracting the Language from
    each DocumentLanguagePart in the Collection and using it as the key.
    - Use a standard 1-many jdbc-field-mapping, between DocumentGroup and
    DocumentGroupLanguagePart. Follow the docs for how to mark this in your
    metadata.
    - Keep the "inverse-owner" extension as is for the sake of the 1-many.
    And finally, note that you'll get much better performance if you make
    sure to include DocumenatLanguagePart's "language" field in its
    default-fetch-group.
    Complex externalization is a relatively new feature, and if you take
    this suggestion you'll probably be the first test of a really
    interesting use case. So please let us know if you have any problems,
    or if you are successful too.

  • Map map = new HashMap(); -why doesnt this work in jdk 1.8.1

    Hi there,
    I'm trying to use a hashmap like this below:
    Map map = new HashMap();
    map.put("Carrots", new Integer(12));
    map.put("Potatoes", new Integer(30));
    map.put("Onions", new Integer(15));
    map.put("Apples", new Integer(40));
    map.put("Cherries", new Integer(300));
    the HashMap() does not exist in my API for some reason.
    Can anyone tell me why this may be?
    i'm using the hashmap with a stringtokenizer to search a text file line by line and increment how many times each keyword occurs.Sound efficient way of doing it?
    cheers,

    do you mean jdk 1.1.8?
    Map and the other Collections API were added in JDK 1.2. for JDK < 1.2, use Hashtable instead.

  • (Managed) Inverse relations and map mapping

    Hi.
    Is there any limitation in using (managed) inverse relations together
    with map mapping? I've tried to setup my test model like this: a single
    City object holds references to many Street objects. City has "name"
    attribute , collection named "streetsList" (1-n with Streets) and map
    named "streetsMap"(n-to-many map with Streets). Street objects have just
    simple "name" attribute and single "city" reference to City object.
    What I'd like to achieve is have Kodo to set inverse relation on Street
    object (relation "city") when I put Street object into City's
    "streetsMap". This works fine when using collection ("streetsList") but
    doesn't seems to be working when map-mapped relation field is in use.
    How do I use Kodo's inverse relations manager with map fields?
    Everything is OK when I set the inverse side of relation manually
    (setting Street.city field when putting Street to City.streetsMap) - but
    I'd like InverseManager to do it!
    My configuration:
    - kodo.properties:
    kodo.InverseManager: true(ManageLRS=true)
    - package.mapping:
    <class name="City">
    <jdbc-class-map type="base" pk-column="JDOID"
    table="TEST_CITY"/>
    <jdbc-class-ind type="metadata-value" column="JDOTYPE"/>
    <field name="name">
    <jdbc-field-map type="value" column="CITY_NAME"/>
    </field>
         <field name="streetsMap">
         <jdbc-field-map type="n-many-map" key-column="MAP_KEY"
    table="TEST_STREET_MAP"
         value-column.JDOID="STREET_JDOID"
    ref-column.JDOID="CITY_JDOID"/>
         </field>
    <field name="streetsList">
              <jdbc-field-map type="one-many" ref-column.JDOID="CITY_JDOID"
    table="TEST_STREET"/>
    </field>
    </class>
    <class name="Street">
    <jdbc-class-map type="base" pk-column="JDOID"
    table="TEST_STREET"/>
    <jdbc-version-ind type="version-number" column="JDOVERSION"/>
    <jdbc-class-ind type="metadata-value" column="JDOTYPE"/>
    <field name="name">
    <jdbc-field-map type="value" column="NAME"/>
    </field>
    <field name="city">
              <jdbc-field-map type="one-one" column.JDOID="CITY_JDOID"/>
         </field>
    </class>
    - package.jdo:
    <class name="City">
              <extension key="jdbc-class-ind-value" vendor-name="kodo" value="1"/>
              <field name="streetsMap">
                   <map key-type="String" value-type="Street"/>
                   <extension vendor-name="kodo" key="inverse-owner" value="city"/>
                   <extension vendor-name="kodo" key="lock-group" value="none"/>
              </field>
              <field name="streetsList">
                   <collection element-type="Street"/>
                   <extension vendor-name="kodo" key="inverse-owner" value="city"/>
                   <extension vendor-name="kodo" key="lock-group" value="none"/>
              </field>
              <field name="name">
              </field>
         </class>
         <class name="Street">
              <extension key="jdbc-class-ind-value" vendor-name="kodo" value="2"/>
              <field name="name">
              </field>
         </class>
    Regards,
    Pawe____ ____wierszcz

    Unfortunately, inverse management is not available for Maps. We hope to
    make it available in a future release.

  • Invalid option for MAP: MAP.

    Hi ,
    My replication file is running fine with below contents
    MAP PROD.f0911, TARGET PROD.f0911, &
    REPERROR (21000, EXCEPTION), &
    SQLEXEC (ID lookup, ON UPDATE, &
    QUERY "select count(*) conflict from PROD.f0911 where ID_NO = :p1 and &
    UPDT_DT > :p2", &
    PARAMS ( p1 = ID_NO, p2 = UPDT_DT ), BEFOREFILTER, ERROR REPORT, &
    TRACE ALL),&
    FILTER (lookup.conflict = 0, ON UPDATE, RAISEERROR 21000);
    MAP PROD.f0911, TARGET PROD.f0911_EI, EXCEPTIONSONLY, &
    INSERTALLRECORDS, &
    COLMAP (USEDEFAULTS ,
    dberr = @GETENV ("lasterr", "dberrnum");
    REPERROR (-1403, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911_EI,
    EXCEPTIONSONLY,
    INSERTALLRECORDS,
    COLMAP (USEDEFAULTS,
    dberr = @GETENV ("lasterr", "dberrnum");
    But when I am adding
    MACRO #exception_handler
    BEGIN
    ,TARGET PROD.f0911
    ,UPDATEINSERTS
    ,EXCEPTIONSONLY
    END;
    REPERROR (-1, EXCEPTION)
    MAP PROD.f0911, TARGET PROD.f0911;
    MAP PROD.f0911 #exception_handler()
    It is throwing error ---- ERROR OGG-00212 Invalid option for MAP: MAP.
    Can somebody please help how can I proceed with all the conditions.
    Thanks

    As per our requirement if there is "0001 -unique constraint violated" error while replication the insert record should be update in target table .So I have used
    UPDATEINSERT statement iin macro and it goes to the same main table but for others it has mapped to EXCEPTION table prodf0911_EI , so the record will go to exception table .But we need the record should go to main table and insert record should update in target table only in case of 0001 - unique key constraint violated error.

  • El mapa (maps) no funciona, busco my iphone y no me muestra el mapa, solo veo la cuadricula

    el mapa (maps) no funciona, busco my iphone y no me muestra el mapa, solo veo la cuadricula

    Your iDevice needs a working internet connection to load the map data to draw the map.

  • Map mapping question

    Hi,
    I have the following situation:
    1) A class MyObject having a Map<AttributeType, AttributeValue>, with
    AttributeValue having intValue and stringValue.
    2) Three tables: MY_OBJECT, ATTRIBUTE_TYPE and MY_OBJECT_ATTRIBUTES.
    MY_OBJECT_ATTRIBUTES is a join table with columns
    MY_OBJECT_POID (FK to MY_OBJECT)
    ATTRIBUTE_TYPE_POID (FK to ATTRIBUTE_TYPE)
    INT_VALUE
    STRING_VALUE
    My question is: which kind of map mapping should I use (if one exists) ?
    The many-to-many map mapping seems to way to go, but AttributeValue is a
    second class PC object. It has no identity.
    Regards,
    J-F

    J-F-
    Can someone at Solarmetric tell me when 4.0 is planned to be released ?The best answer we can give on this is "very soon".
    In article <d967km$3e1$[email protected]>, J-F Daune wrote:
    J-F Daune wrote:
    Hi,
    I have the following situation:
    1) A class MyObject having a Map<AttributeType, AttributeValue>, with
    AttributeValue having intValue and stringValue.
    2) Three tables: MY_OBJECT, ATTRIBUTE_TYPE and MY_OBJECT_ATTRIBUTES.
    MY_OBJECT_ATTRIBUTES is a join table with columns
    MY_OBJECT_POID (FK to MY_OBJECT)
    ATTRIBUTE_TYPE_POID (FK to ATTRIBUTE_TYPE)
    INT_VALUE
    STRING_VALUE
    My question is: which kind of map mapping should I use (if one exists) ?
    The many-to-many map mapping seems to way to go, but AttributeValue is a
    second class PC object. It has no identity.
    Regards,
    J-FIt seems I am not the only one having the same need:
    http://www.solarmetric.com/Support/Newsgroups/news/article.php?id_article=%3Cd6mf94%24tge%241%40solarmetric.netmar.com%3E&grp_id=1
    Can someone at Solarmetric tell me when 4.0 is planned to be released ?
    We would be grateful if it was possible to have a preview version just for
    this feature, if quality level is acceptable.
    Regards,
    J-F
    Marc Prud'hommeaux
    SolarMetric Inc.

  • XSLT mapping - Mapping of unbounded elements using Altova Mapforce

    Hi,
    Please give guidance on doing XSLT mapping for unbounded elements in Altova Mapforce. I am not seeing any functions (like FOR loop etc.,) in the XSLT mapping screen for the same.
    I appreciate your input.
    Regards
    Ramesh

    HI,
    For XSLT Mapping refer this help to get functions,syntax etc-
    http://www.w3schools.com/xsl/default.asp
    Regards,
    Moorthy

  • SAP PI 7.3 AEX Multi mapping: Mapping failed with exception

    Hi
    I am encountering an issue with the multi mapping in SAP PI 7.3 AEX system.
    Requirement for my interface is to pull a single file which has multiple records from the file directory.
    Interface need to split the single file to multiple files.
    For this I have implemented multi mapping in SAP PI 7.3(Stand alone Java) to split the single file to multiple files just like the way it is done in SAP PI 7.1. Tried this interface in SAP PI 7.1 system and works fine end to end.
    I have done the testing in mapping(Test tab) in operational mapping, I could see response is getting generated successfully.
    But when testing end to end,
    I could see message is getting failed during mapping with the exception "failed to execute: ArrayIndexOutOfBoundsException: 1” .
    Note:
    Occurrence has been changed to 0..unbounded in the Signature tab of the message mapping & same interface works fine in SAP PI 7.1
    Our system is currently on SAP PI 7.31 (AEX) SP05 Patch "0".
    Kindly let me know if someone has any idea on this particular exception in SAP PI 7.31 multi mapping Interface.
    Thanks & Regards
    Ram

    Hi Jegathees,
    Thanks for your reply.
    In PI 7.31:
    As we are doing 1:n mapping, I have maintained the source side occurrence as "1" and target side occurrence as "0..unbounded" in the signature tab of message mapping.
    Even in PI 7.11 Occurrences were maintained in the same way.
    Can you please give me more details of how exactly multimapping in PI 7.31 is different with respect to PI 7.1
    Thanks & Regards
    Ram

  • Message Mapping: Map value from the first element in a context in target el

    Hi experts,
    I have a problem with a message mapping in XI. I hope you can help me. At first I will give you a source and a target structure. Then I will explain the problem.
    <u>Source structure:</u>
    <E1EDP01>
       <E1EDPT1>
          <TDID> ... </TDID>
          <E1EDPT2>
             <TDLINE> ... </TDLINE>
          </E1EDPT2>
       </E1EDPT1>
    </E1EDP01>
    The structure can contain more than one E1EDP01-Elements, more than one E1EDPT1-Elements and more than one E1EDPT2-Elements.
    <u>target structure:</u>
    <LineItem>
       <vendmemo> ... </vendmemo>
    </LineItem>
    For every E1EDP01-Element my mapping creates one LineItem-Element in the target structure. To fill the element <vendmemo> the mapping should do the following steps:
    The mapping should search in E1EDP01 for a E1EDPT1 with the TDID = Z505. And from this E1EDPT1-Element (with the TDID=Z505) the mapping should take the value <TDLINE> from the first E1EDPT2-Element in the context of the E1EDPT1-Element (the E1EDPT1 with the TDID=Z505) and put this value in <vendmemo>.
    The mapping should do this action for every E1EDP01 -> so for every LineItem.
    I tried it with UDF but I didn't found a solution. Can anybody help me?
    best regards
    Christopher

    Hello experts,
    i was wrong ... my mapping isn't still working. I had created a test instance. and only for this test instance the mapping (see above) works.
    Can anybody help me? I'm trying the whole day but I can't find a solution. Here a second description of my problem:
    <u>Source Structure:</u>
    <E1EDP01>
       <E1EDPT1>
          <TDID> ... </TDID>
          <E1EDPT2>
             <TDLINE> ... </TDLINE>
          </E1EDPT2>
          <E1EDPT2>
             <TDLINE> ... </TDLINE>
          </E1EDPT2>
          <E1EDPT2>
             <TDLINE> ... </TDLINE>
          </E1EDPT2>
       </E1EDPT1>
    </E1EDP01>
    <E1EDP01>
       <E1EDPT1>
          <TDID> ... </TDID>
          <E1EDPT2>
             <TDLINE> ... </TDLINE>
          </E1EDPT2>
          <E1EDPT2>
             <TDLINE> ... </TDLINE>
          </E1EDPT2>
          <E1EDPT2>
             <TDLINE> ... </TDLINE>
          </E1EDPT2>
       </E1EDPT1>
    </E1EDP01>
    <u>Target Structure:</u>
    <LineItem>
       <vendmemo> ... </vendmemo>
    </LineItem>
    <LineItem>
       <vendmemo> ... </vendmemo>
    </LineItem>
    <u>Description of my Problem:</u>
    For each E1EDP01 in the source structure the mapping creates one LineItem in the target structure.
    The element "vendmemo" should be created in any case ... also if it will be empty.
    To fill the element "vendmemo" the mapping should search in E1EDP01 for a E1EDPT1 with the TDID=Z505. If there is an element E1EDPT1 with the TDID=Z505, the mapping should write the TDLINE from the first E1EDPT2 (under the element E1EDPT1 with the TDID=Z505) in the target field "vendmemo".
    The Problem is that TDLINE an TDID are not in the same context. I tried it with setting the context of both to E1EDP01. But it was not working ... have you any idea oder suggestion?
    Thank you very much
    best regards
    Christopher

  • MAPPING MAPPING configuration error

    I am getting MAPPING configuration error while running this code using Tomcat 4.1 on my website whereas it is running at my local webserver
    Please HELP
    ERROR LOG
    StandardHost[site.winwinhosting.net]:MAPPING configuration error for request URI /
    NewsFile read: java.lang.NullPointerException:name can:+t be null NewsFile read: java.lang.NullPointerException: name can:+t be null NewsFile read:
    java.lang.NullPointerException: name can:+t be null
    Bunty
    <%@ page import = "java.io.*, java.util.*,java.net.URL,java.awt.*" %>
    <HTML>
    <head></head>
    <body>
    <%
    // Read in the text file newsfile.txt
    ServletContext context = getServletContext();
    String file = (context.getRealPath("news.txt"));
    //String file = "news.txt";
    StringBuffer stringbuffer = new StringBuffer("");
       FontMetrics fm;
        Font f1;
        String str;
        String s;
        String tmp;
        String param;
        int i;
        int disp;
        int tot;
        int pos;
        int pos1;
        int ImageDepth;
        int TextDepth;
        int fmW;
        int dd;
        int width;
        int height;
        int j;
        char ch;
    str = new String(" * Online : News * Ticker * ");
    tmp = new String("");
    param = new String("");
    String s3,s2,s1, news = new String();
    try {
    DataInputStream in = new DataInputStream(new BufferedInputStream(new FileInputStream(file)));
    //DataInputStream in = new DataInputStream((new URL( file)).openStream());
    //stringbuffer.append(in.readLine());
    //stringbuffer.append("   *   ");
    //s1 = stringbuffer.toString();
    //out.println(s1);
    while((in.readLine())!= null)
    s2=in.readLine()+ "\r";
    stringbuffer.append(s2);
    stringbuffer.append("   *   ");
    //news += s2 + "\n";
    //out.println(s2);
         in.close();
    catch(Exception e) {
         System.out.println("NewsFile read: "  + e);
    %>
    <%
    news=stringbuffer.toString();
    //out.println(news);
    %>
    <marquee><%=news%></marquee>
    </body>
    </html>

    I think it is not able to locate your source file(New.txt). Try putting an output statement and see what is the patth it is printing and check whether it is the correct path where is your news.txt is located.
    Bye

  • Credential Mapping Mapping not working

    "Please tell where I am wrong in configuring and calling credential mapper???
    I wanted to achieve single sign on using in-built Credential mapping feature of weblogic server.
    I thought of getting connected to pointbase which can act as Enterprise Information System(EIS).
    I did following steps.
    Configuration Phase
    1 I made Examples as user and Examples as password in pointbase which will act as my EIS.
    2 I wrote and deploy one connector class for connecting to pointbase.
    3 I configured Admin as user and Admin as password in my configured security realm which will act as Weblogic User.
    4 I did credential mapping in the connector class for mapping my Weblogic (Admin) user to EIS(Examples) user.
    Calling Phase
    1 I deployed one application to call pointbase server using the connector class.
    2 I try to get connection to pointbase server using following code
    getConnection("Admin","Admin");
    Where Admin user is my weblogic user mapped to Examples user of point base server whose mapping is done in the connector.
    I hope it to work for getting the connection.But it didn't work.
    whearas when i try to get connection using
    getConnection("Examples","Examples");
    which is my pointbase user.It works.
    So,I can assume it is not working for mapped user for credential provider.
    I don't know where I am

    Mario
    There is a bug with this, but in SP10 and SP11 - I found out the hardware and impleneted some didgy fixes from SAP that broke more than they fixed...
    What's the error you were getting?  Were both paths evaluated?
    These are the two OSS Notes I know of:
    Note 1061202 - Function "if" evaluates both branches
    https://service.sap.com/sap/support/notes/1061202
    Note 1053706 - Function "if" produces wrong result in Message-Mapping
    https://service.sap.com/sap/support/notes/1053706

  • Message mapping - Map 2 source contexts into one target context

    Hi,
    I have an issue as follows:
    Source context 1 (defined as 1.....unbounded)
    Source context 2 (defined as 1.....unbounded)
    Target context 1 (defined as 1.....unbounded)
    I need to map both source contexts into the single target contexts.
    For example....
    Source context 1 has 3 entries
    Source context 2 has 2 entries
    Target context would have 5 entries in total (Source context 1 and Source context 2)
    I have only limited knowledge of working with multiple contexts so need a bit of advice.
    Can someone provide an easy way to do this ? I'm sure there is.
    Cheers
    Colin.

    The answer is quite simple.
    Right-click on the target node in the mapping editor and select the option "duplicate subtree".
    You will then have two destination nodes.
    Now you can map source1 to target1 and source2 to target2

  • Using Software to Compare Maps/Map Versions

    I am considering buying a software package for comparing maps.  I'd like advice on what level of the Adobe Family will do the job I want do, if any will.  I need to take scans of historic maps, some current and digital, some hand-drawn in the 19th century and comapre them.  The maps will, obviously, be of varying scales and of greater or lesser cartographic accuracy.  What I'd like to be able to do is pull in a current base map of an area, scan in the older version, open both in different layers of the same image and adjust the second to match the base as closely as possible by specifying corresponding points (road intersections, mountain peaks, river courses) that correspond.  After identifying corresponding features for the program, I'd like it to try to fit the layers to each other as closely as possible, both with and without distortion of the images.  The "without" option is necessary because I cannot presume that a certain road has not been re-aligned or that the riveer has not changed course in the period between maps.  I'd also like to be able to overlay and match aserial photographs to maps in the same way.
    Any advice on which Addobe or other product is best in this aplication would be greatly appreciated.  If I have not been clear, please let me know.

    Free: place the map on V1, place a red circle on V2, keyframe the circle to move on your desired route.
    $100: http://www.nattress.com/BigBox/Generators/GLines.htm
    And that's pretty much all your options for FCE. Note that the second option is not $100 just for the line generator, it also includes a bunch of other handy stuffy.

Maybe you are looking for

  • Fustration with FCP and trying to edit in HD

    Someone Please Help! Over the last several days I have been trying to start to be able to edit in HD so that I can ultimately be able to produce a Blu-Ray option for my customers by June 2010 (i'm trying to get an early jump on a what I suspect is a

  • ChaRM Scenario: Workbench and Customizing CR in the same Change Document

    We use the ChaRM scenario of Solution Manager 3.2 to manage the transport request for the R/3 landscape. We have two different project with two different landscape: - the first one is used for customizing purpose ED1/010 - EQ1/010 - EP1/010 - the sec

  • HOW TO PUT CHECK ON PO

    Hi, We have requirement that user must be restricted to create po for the items which has already a po with status still to be delivered for a vendor. i need your help to map this in sap .... thanks shakir

  • Calling external program on application server

    Hi, everyone. I'm trying to call an external program from ABAP by using SM69 and FM SXPG_COMMAND_EXECUTE MOVE 'zlong_bat' to ld_comline.         "Maintained using trans SM69 * Execute external command, contained in 'ld_comline'   CALL FUNCTION 'SXPG_

  • Password file corrupted

    What is the steps taken to create a new password file?