NullPointerException during export or validate of toplink map file

Hi,
I'm working on an Oracle/Toplink 10.1.3 project (similar to say SR Demo). I'm trying to write ant scripts
to build and deploy everything.
All is working except for one step. When you build the model in JDeveloper, it creates a data map XML file. E.g. in the
SR DEmo it produces SRMap.xml from SRMap.mwp.
There is a good document explaining the steps here...
http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/mw008.htm
When I implemented these steps in the build.xml file, I get a NullPointerException during the validate or export.
I tried implementing the steps in SR DEmo's build.xml file and seem to get the same problem. Here's what I'm doing...
I created a new file, toplink-ant-lib.xml
<?xml version="1.0"?>
<antlib>
<taskdef name="mappings.export" classname="oracle.toplink.workbench.ant.taskdefs.ExportDeploymentXMLTask"/>
<taskdef name="mappings.validate" classname="oracle.toplink.workbench.ant.taskdefs.MappingsValidateTask"/>
<taskdef name="session.validate" classname="oracle.toplink.workbench.ant.taskdefs.SessionValidateTask"/>
<typedef name="ignoreerror" classname="oracle.toplink.workbench.ant.typedefs.IgnoreError"/>
<typedef name="ignoreerrorset" classname="oracle.toplink.workbench.ant.typedefs.IgnoreErrorSet"/>
<typedef name="loginspec" classname="oracle.toplink.workbench.ant.typedefs.LoginSpec"/>
</antlib>
I then added the following targets to build.xml in the SR Demo...
<target name="init">
<property file="build.properties"/>
<property name = "toplink.mwp.dir" value = "${srdemo.home}/DataModel/toplink/SRMap"/>
<property name = "toplink.sessions.dir" value = "${srdemo.home}/DataModel/src/META-INF"/>
<path id = "database.classpath">
<pathelement path = "${toplink.home}/jlib/dms.jar"/>
<pathelement path = "${toplink.home}/jlib/OracleThinJDBC.jar"/>
</path>
<path id = "toplink.classpath">
<pathelement path = "${toplink.home}/jlib/toplink.jar"/>
<pathelement path = "${j2ee.lib}/ejb.jar"/>
<pathelement path = "${jdeveloper.home}/lib/xmlparserv2.jar"/>
<pathelement path = "${toplink.home}/jlib/antlr.jar"/>
</path>
<path id = "mw.classpath">
<pathelement path = "${toplink.home}/jlib/tlmwcore.jar"/>
<pathelement path = "${toplink.home}/jlib/toplinkmw.jar"/>
</path>
<path id = "mwplatforms.classpath">
<pathelement path = "${toplink.home}/config"/>
</path>
<typedef file = "toplink-ant-lib.xml"
classpathref = "mw.classpath"
uri = "toplinklib" />
</target>
<!-- ===================================================== -->
<!-- Define task parameter -->
<!-- ===================================================== -->
<target name="parameter.definition" depends="init">
<toplink:ignoreerrorset id = "ignoreErrors">
<toplink:ignoreerror code = "0233" />
</toplink:ignoreerrorset>
<toplink:loginspec id = "loginSpec"
url = "jdbc:cloudscape:stagedb;create=true"
driverclass = "COM.cloudscape.core.JDBCDriver"
user = "scott"
password="tiger" />
</target>
<!-- ==================================================== -->
<!-- Validate the MW Project -->
<!-- ===================================================== -->
<target name="validate.project" depends="parameter.definition">
<toplink:mappings.validate
projectfile = "${toplink.mwp.dir}/SRMap.mwp"
reportfile = "${toplink.mwp.dir}/problem-report.html"
reportformat = "html"
property = "mw-valid"
classpathref = "mwplatforms.classpath" >
<toplink:classpath refid = "mw.classpath" />
<toplink:classpath refid = "toplink.classpath" />
<toplink:ignoreerrorset refid = "ignoreErrors"/>
</toplink:mappings.validate>
</target>
I've left out the actual export target as the validate seems to throw the same exception. Here's what I get when I switch on verbose
[toplink:mappings.validate] An error occured while validating project: java.lang
.NullPointerException
BUILD FAILED
C:\apps\JDeveloper\jdev\samples\SRDemoSample\BuildAndDeploy\build.xml:147: An er
ror occured while validating project: java.lang.NullPointerException
at oracle.toplink.workbench.ant.taskdefs.ProjectTask.execute(ProjectTask
.java:69)
at oracle.toplink.workbench.ant.taskdefs.MappingsValidateTask.execute(Ma
ppingsValidateTask.java:51)
at oracle.toplink.workbench.ant.taskdefs.MappingsValidateTask.execute(Ma
ppingsValidateTask.java:36)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: An error occured while validating project: java.lang.NullPointerExcep
tion
at oracle.toplink.workbench.ant.ProjectValidator.execute(ProjectValidato
r.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask$TaskRunner.execute(
ProjectTask.java:214)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask$TaskRunner.access$1
00(ProjectTask.java:154)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask.execute(ProjectTask
.java:65)
... 12 more
Caused by: java.lang.NullPointerException
at oracle.toplink.workbench.mappingsmodel.mapping.relational.MWCollectio
nMapping.legacy50PostPostProjectBuild(MWCollectionMapping.java:517)
at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjec
tBuild(MWModel.java:503)
at oracle.toplink.workbench.mappingsmodel.descriptor.MWMappingDescriptor
.legacy50PostPostProjectBuild(MWMappingDescriptor.java:1081)
at oracle.toplink.workbench.mappingsmodel.descriptor.relational.MWTableD
escriptor.legacy50PostPostProjectBuild(MWTableDescriptor.java:1376)
at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjec
tBuild(MWModel.java:503)
at oracle.toplink.workbench.mappingsmodel.project.MWProject.legacy50Post
ProjectBuild(MWProject.java:1337)
at oracle.toplink.workbench.mappingsio.ProjectReader.readLegacyProject(P
rojectReader.java:246)
at oracle.toplink.workbench.mappingsio.ProjectReader.read(ProjectReader.
java:102)
at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOMa
nager.java:59)
at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOMa
nager.java:55)
at oracle.toplink.workbench.ant.ProjectValidator.execute(ProjectValidato
r.java:40)
... 19 more
--- Nested Exception ---
An error occured while validating project: java.lang.NullPointerException
at oracle.toplink.workbench.ant.ProjectValidator.execute(ProjectValidato
r.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask$TaskRunner.execute(
ProjectTask.java:214)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask$TaskRunner.access$1
00(ProjectTask.java:154)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask.execute(ProjectTask
.java:65)
at oracle.toplink.workbench.ant.taskdefs.MappingsValidateTask.execute(Ma
ppingsValidateTask.java:51)
at oracle.toplink.workbench.ant.taskdefs.MappingsValidateTask.execute(Ma
ppingsValidateTask.java:36)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.NullPointerException
at oracle.toplink.workbench.mappingsmodel.mapping.relational.MWCollectio
nMapping.legacy50PostPostProjectBuild(MWCollectionMapping.java:517)
at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjec
tBuild(MWModel.java:503)
at oracle.toplink.workbench.mappingsmodel.descriptor.MWMappingDescriptor
.legacy50PostPostProjectBuild(MWMappingDescriptor.java:1081)
at oracle.toplink.workbench.mappingsmodel.descriptor.relational.MWTableD
escriptor.legacy50PostPostProjectBuild(MWTableDescriptor.java:1376)
at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjec
tBuild(MWModel.java:503)
at oracle.toplink.workbench.mappingsmodel.project.MWProject.legacy50Post
ProjectBuild(MWProject.java:1337)
at oracle.toplink.workbench.mappingsio.ProjectReader.readLegacyProject(P
rojectReader.java:246)
at oracle.toplink.workbench.mappingsio.ProjectReader.read(ProjectReader.
java:102)
at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOMa
nager.java:59)
at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOMa
nager.java:55)
at oracle.toplink.workbench.ant.ProjectValidator.execute(ProjectValidato
r.java:40)
... 19 more
--- Nested Exception ---
java.lang.NullPointerException
at oracle.toplink.workbench.mappingsmodel.mapping.relational.MWCollectio
nMapping.legacy50PostPostProjectBuild(MWCollectionMapping.java:517)
at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjec
tBuild(MWModel.java:503)
at oracle.toplink.workbench.mappingsmodel.descriptor.MWMappingDescriptor
.legacy50PostPostProjectBuild(MWMappingDescriptor.java:1081)
at oracle.toplink.workbench.mappingsmodel.descriptor.relational.MWTableD
escriptor.legacy50PostPostProjectBuild(MWTableDescriptor.java:1376)
at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjec
tBuild(MWModel.java:503)
at oracle.toplink.workbench.mappingsmodel.project.MWProject.legacy50Post
ProjectBuild(MWProject.java:1337)
at oracle.toplink.workbench.mappingsio.ProjectReader.readLegacyProject(P
rojectReader.java:246)
at oracle.toplink.workbench.mappingsio.ProjectReader.read(ProjectReader.
java:102)
at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOMa
nager.java:59)
at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOMa
nager.java:55)
at oracle.toplink.workbench.ant.ProjectValidator.execute(ProjectValidato
r.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask$TaskRunner.execute(
ProjectTask.java:214)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask$TaskRunner.access$1
00(ProjectTask.java:154)
at oracle.toplink.workbench.ant.taskdefs.ProjectTask.execute(ProjectTask
.java:65)
at oracle.toplink.workbench.ant.taskdefs.MappingsValidateTask.execute(Ma
ppingsValidateTask.java:51)
at oracle.toplink.workbench.ant.taskdefs.MappingsValidateTask.execute(Ma
ppingsValidateTask.java:36)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Total time: 6 seconds
C:\apps\JDeveloper\jdev\samples\SRDemoSample\BuildAndDeploy>
The problem seems similar to the one described in the toplink forums here...
NullPointerException while trying to export project in workbench
I tried opening SRMap.mwp in Toplink Workbench, and I get an exception on load...
oracle.toplink.workbench.framework.OpenException: java.lang.NullPointerException
     at oracle.toplink.workbench.mappingsplugin.MappingsPlugin.open(MappingsPlugin.java:290)
     at oracle.toplink.workbench.framework.internal.FrameworkApplication.open(FrameworkApplication.java:687)
     at oracle.toplink.workbench.framework.internal.FrameworkNodeManager.openCallback(FrameworkNodeManager.java:341)
     at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run2(RunnableProjectLoader.java:76)
     at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run(RunnableProjectLoader.java:63)
     at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
     at oracle.toplink.workbench.mappingsmodel.mapping.relational.MWCollectionMapping.legacy50PostPostProjectBuild(MWCollectionMapping.java:517)
     at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjectBuild(MWModel.java:503)
     at oracle.toplink.workbench.mappingsmodel.descriptor.MWMappingDescriptor.legacy50PostPostProjectBuild(MWMappingDescriptor.java:1081)
     at oracle.toplink.workbench.mappingsmodel.descriptor.relational.MWTableDescriptor.legacy50PostPostProjectBuild(MWTableDescriptor.java:1376)
     at oracle.toplink.workbench.mappingsmodel.MWModel.legacy50PostPostProjectBuild(MWModel.java:503)
     at oracle.toplink.workbench.mappingsmodel.project.MWProject.legacy50PostProjectBuild(MWProject.java:1337)
     at oracle.toplink.workbench.mappingsio.ProjectReader.readLegacyProject(ProjectReader.java:246)
     at oracle.toplink.workbench.mappingsio.ProjectReader.read(ProjectReader.java:102)
     at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOManager.java:59)
     at oracle.toplink.workbench.mappingsplugin.MappingsPlugin.open(MappingsPlugin.java:286)
     ... 5 more
That's using Toplink Workbench 10g Release 3 (10.1.3.0.0)
I'm using 10.1.3 JDeveloper with the latest (SU3) patch.
Any ideas would be apprecated!!!
Kind regards,
Ciaran.

Hi Karen,
Thanks for the response.
So are you saying we cannot build/deploy our project outside of the JDeveloper IDE?
What we were trying to do is to automate the build and deployment using ant scripts. Then we could run say nightly checkout/build/deploy script to a test machine as part of a continious integration process.
We can build all the code and even remote deploy it fine using ant, however we cannot build this data map XML file outside of the JDeveloper environment. I guess a workaround would be to check-in the generated XML file into our source code control. This sounds risky to me and also, our SCC system sets non checked-out files to be read-only and JDeveloper gives an error if it cannot write to that file.
Any ideas?
Cheers,
Ciaran.

Similar Messages

  • Multiple Toplink Mapping files

    Hi All,
    I have 8 modules in my project, I would like to maintain separate toplink mapping file and persistence-config.xml file for each module.
    Ex: in struts we can have separate struts-config.xml file for each module like  struts-admin-config.xml, struts-moderator-config.xml, struts-dashboard-config.xml files and we will configure those information in web.xml file for Actionservlet input params.
    Is it possible to have multiple toplink mapping files and persistence configuration files for each module in a project.
    Thanks & Regards,
    B.V.Suresh Babu.

    Thanks a lot for your direction!
    I am using xtreme framework alongwith Toplink. I use codegen tool to generate extreme BOM (business object model) classes. I an unable to introduce my logic as you suggested to use Direct Mapping.
    I am not able to find more details and/or complete example to use any of your suggested approach. Please do send me any stuff you can send for the same.
    Regards,
    Raghav

  • Composite Key in Toplink Mapping File - equivalent to Hibernate?

    Hi,
    I have a POJO TestEntity which refers to primary key TestEntityKey. In Hibernate mapping hbm file, we define the entry as:
              <composite-id name="id" class="TestEntityKey">
                   <key-property name ="testEntityCode" column = "TEST_ENT_CODE" type = "string" />
              </composite-id>
    Please confirm how to create the composite id in Toplink means kindly help that how to map my id to key:
    <opm:primary-key>
         <opm:attribute-name>id</opm:attribute-name>
    <opm:field table="TEST_ENTITY_B" name="TEST_ENT_CODE" xsi:type="opm:column"/>
    </opm:primary-key>
    Thanks!

    Hey.. Thanks!
    I am clear about the concept about defining annotation based composite key. Also, I read in the documentation that I'll be needing to define as direct, aggregate or one-to-one. But, I am not able to define and run the same in the project mapping xml of toplink.
    It would be great if you can share some sample code for defining the same. For e.g. in my mentioned example, there is TestEntity POJO having 'id' as the attribute which gets populated with the testEntityCode of the TestEntityKey POJO. Please suggest the same for the same:
    <opm:primary-key>
    <opm:attribute-name>id</opm:attribute-name>
    <opm:field table="TEST_ENTITY_B" name="TEST_ENT_CODE" xsi:type="opm:column"/>
    </opm:primary-key>
    Thanks!

  • CS5.0.3 Temp files on C during export even with scratch as E

    I have a small project that uses alot of Photoshop files as graphics templates. I thought that because I set my scratch disks to "E" that whenever I would export, it would use "E" as my temp location for any temp files generated/needed during exporting. But for some reason, my exports have been crashing because I'm running out of room on my C drive during the export. I discovered that during exports, there are several Photoshop TEMP files being created on my C drive - each like 3 GB, eventually filling up my C drive. (I confirmed that I set the export render location to E) After the render/export, these Photoshop TEMP files disappear on C. Is this expected behavior? Is there something obvious I can do to make sure all files go to a separate drive? Thanks!

    Adobe like many other applications use the Windows Variable Temp directory for cache files. As an example, if you export out of Premiere and select the queue to media encoder, it will show the C drive instead of the drive where the media is actually located with the Project file. That is because the source that media encoder is seeing is that Windows Variable Temp directory. You can change that by creating a Folder on the E drive called Temp. Then right click on Computer and go to properties. Select Advanced Settings on the Left and then Environment Variables on the bottom of that panel. You will see 2 Temp files and locations listed at the top of the Environment Variables Panel. Select edit and then type or copy/paste in the location of the temp directory created on another drive. Example - E:\Temp
    Restart Windows and then the Variable cache should be moving to that directory. Keep in mind that Windows uses those for allot of things. So if that drive is removed or fails you will take a very long time to boot and it will boot with errors.
    Eric
    ADK

  • JDev 9.0.5.2 Error When Opening TopLink Mapping Project

    I was in the middle of mapping my classes and realized that I needed some more attributes. So I added the attributes to my classes, closed the IDE (since this is generally the only way to get the TopLink Mapping Project to notice the changes), and now, when I reopen the IDE, I get the following:
    Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The underlying descriptor callback method [postBuild], with parameter (DescriptorEvent), triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Descriptor: XMLDescriptor(oracle.toplink.workbench.model.MWProject --> [DatabaseTable(project)])
            at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileEventExecution(DescriptorException.java:1364)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:133)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:179)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:331)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:226)
            at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
            at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
            at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
            at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
            at oracle.toplink.publicinterface.Session.readObject(Session.java:2502)
            at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:270)
            at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:200)
            at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:167)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:691)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProject(MWJDeveloperMediator.java:665)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1098)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1070)
            at oracle.toplink.addin.appnav.JProjectObserver.handleObjectOpened(JProjectObserver.java:115)
            at oracle.toplink.addin.appnav.JProjectObserver.update(JProjectObserver.java:65)
            at oracle.ide.IdeSubject.notifyObservers(IdeSubject.java:215)
            at oracle.ide.model.DefaultDocument.notifyObservers(DefaultDocument.java:273)
            at oracle.ide.addin.UpdateMessage.fireObjectOpened(UpdateMessage.java:543)
            at oracle.ide.model.DataNode.fireObjectOpened(DataNode.java:191)
            at oracle.ide.model.DataNode$1.run(DataNode.java:168)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.reflect.InvocationTargetException
            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:324)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:125)
            ... 32 more
    Caused by: java.lang.NullPointerException
            at oracle.toplink.workbench.model.desc.MWMappingDescriptor.classHierarchyChangedFor(MWMappingDescriptor.java:758)
            at oracle.toplink.workbench.model.MWProject.classHierarchyChangedFor(MWProject.java:1086)
            at oracle.toplink.workbench.model.meta.MWClass.setSuperclass(MWClass.java:877)
            at oracle.toplink.workbench.model.meta.MWClass.setInterface(MWClass.java:837)
            at oracle.toplink.workbench.model.meta.MWClass.resetStubInterface(MWClass.java:2398)
            at oracle.toplink.workbench.model.meta.MWClass.resetStubInterfaces(MWClass.java:2386)
            at oracle.toplink.workbench.model.meta.MWClassRepository.resetStubInterfaces(MWClassRepository.java:1385)
            at oracle.toplink.workbench.model.meta.MWClassRepository.postProjectBuild(MWClassRepository.java:1380)
            at oracle.toplink.workbench.model.MWModelObject.postProjectBuild(MWModelObject.java:522)
            at oracle.toplink.workbench.model.MWProject.postBuild(MWProject.java:1646)
            ... 37 moreIn the IDE I get a much shorter version of the excpetion, the above is what I see on the commandline from which the IDE was launched.
    I can no longer work on my mappings project at all.

    John,
    You mentioned "I closed the IDE so that the TopLink project would pick up the changes..."
    1. We need to find out why you needed to close the IDE? Was TopLink mapping editor not picking up your changes?
    2. I am sure you did not modified .java outside of Jdev, but in case if you did, let me know.
    3. After removing a superclass attribute, did you save all changes?
    4. We tried various combinations, but were unable to reproduce the project reopen issue that you mentioned was fixed by changing the ClassDescriptor.xml. It would be extremely helpful if you could either send us (anuj dot k dot jain at oracle dot com) a project that can reproduce this issue, or outline the exact steps.

  • StackOverflowError after adding a table to a TopLink Map

    Hello,
    I am really puzzled by the next problem. After adding a table (Customer) to an existing TopLink Map, I get the same kind of error for every query in the project that I use.
    ERROR J2EE EJB8006 [CustomerToplinkTestPublicFacade:public java.util.List com.companyname.toplinktest.model.CustomerToplinkTestPublicFacadeBean.findCustomersByCompany(java.lang.String,java.lang.String)] exception occurred during method invocation: javax.ejb.EJBException: java.lang.StackOverflowError
    I get this with every page and every query, just change the name “findCustomersByCompany” to the name of the named query. Otherwise all pages seems to have the correct behaviour Removing the Customer-table from the application solved all problems, and they reoccurred after adding the table again.
    I have no clue why this happens, the only thing that might be useful is the fact that the Customer-table is also a part of a database view which I already use.
    … but why would that cause errors on queries it has absolutely no relation to…
    Kind regards,
    Nemata

    hello,
    another update on my testcases. I have used the following procedure to narrow down the source of the problem.
    First I create one or more TopLink pojo's based on my database tables and views, add them to a session bean and create the data controls. I'm always working with the default named queries (selectAll).
    Then I create a .jspx file, drag and drop a data control from the data control palette to create an ADF table with the defaults...
    and run... with one of two outcomes.
    I either get all the data from the table (correct) or I get a message "no rows yet" and an error message in the log window "2006-05-04 12:37:40.214 ERROR J2EE EJB8006 [testCustomerSession:public java.util.List model.testCustomerSessionBean.findAllCompany()] exception occurred during method invocation: javax.ejb.EJBException: java.lang.StackOverflowError"
    This is an overview of the testing I have done:
    Objects created | ADF table | Error
    Customer | Customer | Yes
    Company | Company | No
    Customer and Company | Company | Yes
    Company and ViewOfCustomer | Company | No
    Company and ViewOfCustomer | ViewOfCustomer | No
    Company and Person | Company | No
    ViewOfCustomer is a database view with the same data as the Customer. So the table Customer seems to cause the problem.
    Does anybody have an idea why a database table might cause such distinct problems ?
    Kind regards,
    Nemata

  • Error during export of J2EE_CONFIGENTRY

    Hi,
    While doing homogeneous system copy for CRM 2007 System it gives Error during export of J2EE_CONFIGENTRY.
    below is the detail error report.
    15.04.09 14:01:29 com.sap.inst.jload.Jload dbExport
    SEVERE: Error during export of J2EE_CONFIGENTRY
    15.04.09 14:01:29 com.sap.inst.jload.Jload logStackTrace
    SEVERE: java.lang.NullPointerException
         at com.sap.sql.jdbc.mss.MssSQLExceptionAnalyzer.getCategory(MssSQLExceptionAnalyzer.java:112)
         at com.sap.sql.services.core.CoreServices.isDuplicateKeyException(CoreServices.java:133)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.processSQLException(DirectPreparedStatement.java:1189)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:285)
         at com.sap.sql.jdbc.common.CommonPreparedStatement.executeQuery(CommonPreparedStatement.java:185)
         at com.sap.inst.jload.db.DBTable.unload(DBTable.java:192)
         at com.sap.inst.jload.Jload.dbExport(Jload.java:179)
         at com.sap.inst.jload.Jload.executeJob(Jload.java:395)
         at com.sap.inst.jload.Jload.main(Jload.java:621)
         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:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    15.04.09 14:01:29 com.sap.inst.jload.db.DBConnection disconnect
    INFO: disconnected
    Thanks & Regards
    Raj Kiran

    Hi,
    Search for sap notes on "J2EE_CONFIGENTRY"
    service.sap.com/notes
    You can get a better solution there.
    Thanks and Regards
    Jaianandh V

  • Status of Integrated TopLink Mapping?

    OK, so I've had a few problems with the integrated TopLink mapping:
    Mapping Project Scalability?
    JDev 9.0.5.2 Error When Opening TopLink Mapping Project
    I filed a TAR for the second issue, and was told:
    "We are seeing some problems with the integrated Mapping Workbench. The problem is that the integrated is a new product, that is not as mature as the stand alone version. So in order to get you moving, I would suggest that you use the stand alone Mapping Workbench. Its more stable and is a more mature product."
    I'm actually having other problems with the standalone product that I didn't have in the integrated one, but that's another issue:
    inherited attributes
    Is this Oracle's official line on the TopLink integration? Use it till it doesn't work then redo everything in another product that uses different files and setup etc? Sorry for the tone of this post, but as you can see, I'm getting very frustrated. I had hoped that the performance and stability of the integrated TopLink would be fixed for the production release, but I'm finding it almost as troublesome as the preview...

    I've hit another one. As I said, I was redoing my mappings with the integrated mapping tools. I edited a couple of my classes to change some attributes from related object types to ValueHolderInterface. I closed the IDE so that the TopLink project would pick up the changes. When I try to open my mapping project I get this:
    java.lang.NullPointerException
            at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:274)
            at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:200)
            at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:167)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:691)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProject(MWJDeveloperMediator.java:665)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1098)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1070)
            at oracle.toplink.addin.appnav.JProjectObserver.handleObjectOpened(JProjectObserver.java:115)
            at oracle.toplink.addin.appnav.JProjectObserver.update(JProjectObserver.java:65)
            at oracle.ide.IdeSubject.notifyObservers(IdeSubject.java:215)
            at oracle.ide.model.DefaultDocument.notifyObservers(DefaultDocument.java:273)
            at oracle.ide.addin.UpdateMessage.fireObjectOpened(UpdateMessage.java:543)
            at oracle.ide.model.DataNode.fireObjectOpened(DataNode.java:191)
            at oracle.ide.model.DataNode$1.run(DataNode.java:168)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)Local Exception Stack:
    Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The underlying descriptor callback method [postBuild], with parameter (DescriptorEvent), triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.StackOverflowError
    Descriptor: XMLDescriptor(oracle.toplink.workbench.model.MWProject --> [DatabaseTable(project)])
            at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileEventExecution(DescriptorException.java:1364)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:133)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:179)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:331)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:226)
            at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
            at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
            at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
            at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
            at oracle.toplink.publicinterface.Session.readObject(Session.java:2502)
            at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:270)
            at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:200)
            at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:167)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:691)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProject(MWJDeveloperMediator.java:665)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1098)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1070)
            at oracle.toplink.addin.appnav.JProjectObserver.handleObjectOpened(JProjectObserver.java:115)
            at oracle.toplink.addin.appnav.JProjectObserver.update(JProjectObserver.java:65)
            at oracle.ide.IdeSubject.notifyObservers(IdeSubject.java:215)
            at oracle.ide.model.DefaultDocument.notifyObservers(DefaultDocument.java:273)
            at oracle.ide.addin.UpdateMessage.fireObjectOpened(UpdateMessage.java:543)
            at oracle.ide.model.DataNode.fireObjectOpened(DataNode.java:191)
            at oracle.ide.model.DataNode$1.run(DataNode.java:168)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.reflect.InvocationTargetException
            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:324)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:125)
            ... 32 more
    Caused by: java.lang.StackOverflowError

  • Vulnerability - Oracle toplink mapping workbench password algorithm

    Could someone from Oracle post security contact info. This is regarding a possible vulnerability in TopLink referred to in this posting:
    http://marc.theaimsgroup.com/?l=bugtraq&m=107531028325112&w=2
    I would like to know Oracle's response to this item before I publish a report to our clients.
    Thanks,
    Mark Hoffman

    It has come to our attention that a 3rd party has published the algorithm used to obfuscate a database password stored in the runtime configuration file (project.xml or java source file) generated by the TopLink Mapping Workbench version 9.0.3.
    This database password is NOT used when TopLink is using an application server’s database connection pool and this issue does not apply. In this case TopLink uses a specified data source name and the application server manages the database password.
    For those not using the app server connection pool, the obfuscation is not meant to offer encryption protection for the password stored in the file. It is a mechanism meant to make the password in the file unreadable to the naked eye. It is not a replacement for proper file permission and access control to protect the file.
    It is an optional convenience feature that customers have requested as they have found it to be useful during development and internal testing. The only way the password is saved in the file is if the option that is explicitly marked “Save Password (Unencrypted)” is used.
    For encrypted security protection using technology such as Java Cryptography Extension (JCE), the unencrypted password can be set using APIs provided in the TopLink runtime libraries. A code example follows:
    boolean shouldLoginSession = false;
    DatabaseSession session = null;
    session = (DatabaseSession)SessionManager.getManager().getSession("MySessionName", shouldLoginSession);
    String password = //retrieve the password as an unencrypted string from somewhere
    session.getLogin().setPassword(password); //note this assumes that the user is already set in the project
    session.login();
    Guidelines:
    1.     If you are using the application server’s database connection pool, this issue does not apply. TopLink simply specifies a data source name and the application server manages, stores and encrypts the password.
    2.     If you are not using the application server’s database connection pool, use the optional Mapping Workbench feature to store the password in the project.xml or java source file for development or internal testing purposes only if there is proper file permission and access control to protect the file.
    3.     For deployment or unsecured development environments utilize the TopLink API’s provided that allow secure password encryption technology to be used.
    This issue only applies to version 9.0.3 and prior; in 9.0.4 the TopLink Mapping Workbench uses JCE to encrypt the file.
    Regards,
    Dennis Leung
    Oracle Corp.

  • During export from Discover to Excel, Time Format changes to Number Format

    Hi
    I have a seconds column which is of number datatype. But in my report, I am converting the number in *0HH:MI:SS* format. For example, I have *4952534 seconds*. So my report is showing *1375:42:14* which is a Time Format. It looks good when I view the data in Discoverer Viewer or Plus. But when I try to export the data to Excel, the time format gets converted to *4952534 seconds*, which is creating problems. So can you suggest on how can I preserve the formatting during export to excel from discoverer.
    Thanks
    Sachin

    Hi,
    Excel will not implement the 0HH:MI:SS data format, it just gets the field as a number. You will have to format the field into text using the calculation from my previous post.
    Rod West

  • [Error during Export] R3load exited with return code 11

    Hi guys,
    While performing and Unicode Migration, during Export Phase, Migration Monitor returned the following error while exporting a package
    ERROR: 2014-06-01 10:57:44 com.sap.inst.migmon.LoadTask run
    Unloading of 'REGUC' export package is interrupted with R3load error.
    Process '/usr/sap/ECP/DVEBMGS00/exe/R3load -e REGUC.cmd -datacodepage 4102 -l REGUC.log -stop_on_error' exited with return code 11.
    For mode details see 'REGUC.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    REGUC.log details:
    (As you see, it does not provide reasons of this error, all messages are informative and alike all other Packages logs)
    /usr/sap/ECP/DVEBMGS00/exe/R3load: START OF LOG: 20140601105052
    /usr/sap/ECP/DVEBMGS00/exe/R3load: sccsid @(#) $Id: //bas/740_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    /usr/sap/ECP/DVEBMGS00/exe/R3load: version R7.40/V1.8
    Compiled Jul 23 2013 21:30:53
    /usr/sap/ECP/DVEBMGS00/exe/R3load -e REGUC.cmd -datacodepage 4102 -l REGUC.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): US7ASCII
    (EXP) INFO: check NameTab widths: Ok.
    (DB) INFO: Export without hintfile
    (RSCP) INFO: UMGCOMCHAR read check, OK.
    (RSCP) INFO: environment variable "I18N_POOL_WIDTH" is not set. Checks are active.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 1160
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: activated
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (RSCP) INFO: init SUMG interface (3#$Revision: #1 $); package name: "REGUC".
    (RSCP) INFO: "REGUC001.xml" created.
    (GSI) INFO: dbname   = "ECP20030615080638
    (GSI) INFO: vname    = "ORACLE "
    (GSI) INFO: hostname = "ecp "
    (GSI) INFO: sysname  = "SunOS"
    (GSI) INFO: nodename = "ecp"
    (GSI) INFO: release  = "5.10"
    (GSI) INFO: version  = "Generic_142900-13"
    (GSI) INFO: machine  = "sun4u"
    Tried to find what does R3load Return Code 11 means, but I couldnt find further information on this.
    Any hint of what is causing this error?
    (Please disregard any Filesystem issues since all of them have available space)
    Best!

    After using latest R3load patch, it provides furher information on the log file.
    -------------------- Start of patch information ------------------------
    patchinfo (patches.h): (0.070) R3ldctl: fix CDS views creation in upgrade export mode (note 2
    017805)
    DBSL patchinfo (patches.h): (0.022) Smaller corrections in release 7.40 (th, dp, vmc, dpmon)
    (note 1821404)
    --------------------- End of patch information -------------------------
    process id 27326
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): US7ASCII
    (EXP) INFO: check NameTab widths: Ok.
    (DB) INFO: Export without hintfile
    (RSCP) INFO: UMGCOMCHAR read check, OK.
    (RSCP) INFO: environment variable "I18N_POOL_WIDTH" is not set. Checks are active.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (RSCP) INFO: UMGSETTINGS nametab creation: ok.
    (RSCP) INFO: Global fallback code page = 1160
    (RSCP) INFO: Common character set is  not  7-bit-ASCII
    (RSCP) INFO: Collision resolution method is 'fine'
    (RSCP) INFO: R3trans code pages = Normal
    (RSCP) INFO: EXPORT TO ... code pages = Normal
    (RSCP) INFO: Check for invalid language keys: activated
    (RSCP) INFO: I18N_NAMETAB_NORM_ALLOW = 999999999
    (RSCP) INFO: I18N_NAMETAB_NORM_LOG   = 1000000002
    (RSCP) INFO: I18N_NAMETAB_ALT_ALLOW  = 10000
    (RSCP) INFO: I18N_NAMETAB_ALT_LOG    = 10003
    (RSCP) INFO: I18N_NAMETAB_OLD_ALLOW  = 0
    (RSCP) INFO: I18N_NAMETAB_OLD_LOG    = 500
    (RSCP) INFO: init SUMG interface (3#$Revision: #1 $); package name: "REGUC".
    (RSCP) INFO: "REGUC003.xml" created.
    (GSI) INFO: dbname   = "ECP20030615080638
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "ecp                                                             "
    (GSI) INFO: sysname  = "SunOS"
    (GSI) INFO: nodename = "ecp"
    (GSI) INFO: release  = "5.10"
    (GSI) INFO: version  = "Generic_142900-13"
    (GSI) INFO: machine  = "sun4u"
    (GSI) INFO: instno   = "6120023288"
    (RTF) ########## WARNING ###########
            Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (RDI) WARNING: /respaldo/ECP_Export/ABAP/DATA/REGUC.STR: cannot find version token "ver:" at line 1
    (RDI) WARNING: /respaldo/ECP_Export/ABAP/DATA/REGUC.STR: unknown file format, assuming version 2
    (EXP) INFO: table REGUC will be exported with sorting (task modifier)
    ------------------ C-STACK ----------------------
    [0] t_splay ( 0x1020df850, 0xb3, 0x4386, 0x100a02078, 0x0, 0x1020df870 ), at 0xffffffff7b9629
    94
    [1] t_delete ( 0x1020df850, 0x4348, 0x1d9870, 0x1000d0408, 0xffffffff7bb3c000, 0x0 ), at 0xff
    ffffff7b9627e4
    [2] realfree ( 0x101ee7590, 0x1f82b1, 0x1d9cd0, 0x1f82b0, 0xffffffff7bb3c000, 0x101ee7590 ),
    at 0xffffffff7b9623b0
    [3] _malloc_unlocked ( 0x7d40, 0x200000, 0x101edf840, 0x0, 0x101ee7580, 0x0 ), at 0xffffffff7
    b961eb4
    [4] malloc ( 0x7d39, 0x2388, 0x1da428, 0x10038fe84, 0xffffffff7bb3c000, 0x2000 ), at 0xffffff
    ff7b961c28
    [5] rstg_get ( 0x2, 0x0, 0x2, 0x7d10, 0x0, 0x10077d8c0 ), at 0x10038ff4c
    [6] c3_uc_new_cache ( 0x100a02078, 0x284db0, 0x284c00, 0x10077d8c0, 0x100a02108, 0xb3 ), at 0
    x1000d1ce8
    [7] c3_uc_seek_cache ( 0xb3, 0xff79, 0xffffffff7ffcae3e, 0x100a02078, 0x10189fa48, 0x10077d8c
    0 ), at 0x1000d188c
    [8] c3_uc_new_tabcache ( 0x0, 0xb3, 0x4386, 0x100a02078, 0xb3, 0x10077d8c0 ), at 0x1000d13fc
    [9] c3_uc_insert_record_in_cache ( 0xffffffff7ffcb04e, 0x10189fa48, 0x100a02078, 0x100a024c8,
    0xb3, 0x1058c8f84 ), at 0x1000d0408
    [10] c3_uc_insert ( 0x0, 0x100a02078, 0x0, 0x0, 0x10077d8c0, 0xffffffff7ffcb04e ), at 0x1000c
    f944
    [11] c3_uc_convert_table_entry ( 0x1015c61f8, 0x0, 0x100a02078, 0x0, 0x10189f408, 0x31a000 ),
    at 0x1000ce314
    [12] c3_uc_convert_logic_table ( 0x1015c61f8, 0x100a02078, 0x0, 0x4a, 0x100638dc0, 0x10077d8c
    0 ), at 0x1000cdb18
    [13] c3_uc_convert_cluster_data ( 0x100a02078, 0xffffffff7ffcbc50, 0x1015c6428, 0x1015c61f8,
    0x10077d8c0, 0x0 ), at 0x1000cd10c
    [14] c3_uc_convert_cluster_item ( 0xffffffff7ffcbc78, 0xffffffff7ffcbc50, 0x100954770, 0x1038
    6f6e0, 0xffffffff7ffcbb8c, 0x100a02812 ), at 0x1000be1d4
    [15] process_task ( 0xffffffff7ffcbc78, 0xffffffff7ffcbc50, 0x100954770, 0x100a02810, 0x10063
    32e0, 0x10077d8c0 ), at 0x1000b2f58
    [16] CnvCluster ( 0x1014642d0, 0x100954670, 0x100aa9610, 0x2849b8, 0x284800, 0x6cb978 ), at 0
    x1000b1f8c
    [17] cnv_clust2 ( 0x100aa9580, 0xffffffff7ffcc258, 0x100954770, 0xfc0, 0x107d00, 0x100954670
    ), at 0x100062714
    [18] cnv_cp ( 0x100aa9580, 0xffffffff7ffcc258, 0x100aa95e0, 0x0, 0x10077d8c0, 0x1d6c00 ), at
    0x100064644
    [19] process_buffer ( 0x100aa9580, 0xffffffff7ffcc258, 0xfff00, 0x100a97bd0, 0x10, 0x100aa95b
    0 ), at 0x10007162c
    [20] execute_table_unload ( 0xffffffff7ffed610, 0xffffffff7ffdc4b0, 0x0, 0x100aa9580, 0xfffff
    fff7ffcc258, 0x10077d8c0 ), at 0x10006c488
    [21] export_table_task ( 0xffffffff7ffed610, 0x0, 0xffffffff7ffdc368, 0xffffffff7ffcc330, 0xf
    fffffff7ffeedb8, 0xffffffff7ffeec60 ), at 0x10006c934
    [22] db_unload ( 0x100a97b0d, 0xffffffff7ffed610, 0x0, 0x10077d8c0, 0xffffffff7ffeec60, 0xfff
    fffff7bb47540 ), at 0x10006d148
    [23] main_r3ldmain ( 0x72ec00, 0xffffffff7ffff448, 0xffffffff7ffff228, 0xffffffff7bb47540, 0x
    1005fc290, 0x0 ), at 0x1000514e0

  • Stitch lines created in a PDF/X-1a due to transparency flattening during export from InDesign

    Has there been any sure fire methods to avoid the digital stitch lines created in a PDF/X-1a due to transparency flattening during export from InDesign? If I attempt to edit the PDF using the Acrobat Edit Text and Graphics tool the PDF is actually carved into sectors and images are not selectable as a whole. Also contrary to what I have read those white lines do indeed image from time to time. I could export as PDF/X4 to preserve the transparency but on occasion it would be advantageous to flatten it before supplying to the printer. Currently using CC and have done the usual things in an attempt to avoid the lines such as all text above transparent objects on a separate layer and 'Clip-Complex-Region' on export.
    Thanks in Advance!

    If the default High Res flattener preset is stitching make a custom preset that's all rasters and use it in the advanced tab of the PDF/X-1a preset

  • OBIEE 11.1.1.6.12 - value modification during export in tab delimited format

    Hi all,
    we have noticed unproper value modification during export in tab delimited format.
    Please find example below:
    The proper value is 24150170000011615 (it is state register number of enterprise).
    The wrong value is 24150170000011600.
    Correct value:
    http://s12.postimg.org/v2gpqqzgd/obiee_1.png
    How do we export data from obiee:
    http://s23.postimg.org/6k7dwiezf/obiee_2.png
    Wrong value after export:
    http://s22.postimg.org/qdgqgogn5/obiee_3.png
    What should we do to fix it?

    The bigger picture is as follows:
    I have a button on my report that essentially should download the output of report to tab delimited text file. This button is integrated with a custom built class which has a main method. When I click on the button, the logic written in the main method gets executed.
    In this method I generate my internal table and pass to cl_gui_frontend_services=>gui_download method with parameters mention above.
    I try debugging but every thing seems to be working correct when sy-subrc = 0 through executable program and it does not enter into the download method logic when i do it through main method, instead sy-subrc is straight set to 6 (unknown error).
    Regards,
    Pankaj.

  • Export Parameters in Parameterized Message Mapping does not work.

    Hello, XI-Gurus!
    I have a question: how to use an EXPORT parameter in Parameterized Message Mapping? seems it does not work...
    (I use XI / PI 7.1)
    For example, I have a follow scenario: a large message comes to XI from one BS (message contains a lot of rows), then this large message splits to some small messages (something about 1000 rows in one small message), and send small messaeg one by one from XI to second BS. So, after receive step I use a transformation step with Parameterized Message Mapping to get a total amount of rows in large message (it needs for making condition for loop in IP, for example). I want to use an EXPORT parameter to pass this number from Parameterized Message Mapping to Integration Process. How can I do it?
    Of course, I know the way to how to make this scenario without any parameterizing, but I want to use exactly "Parameterized Message Mapping" like it writes in this help:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm
    This topic contains something about procedure how to use an EXPORT parameter, but this procedure does not work. I don't understand how to write this UserDefined Function, which I can set any export parameters.
    I read this blog:
    /people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
    this blog has NO solutions about EXPORT parameters. about IMPORT parameters - everything OK.
    Some topics about how to use export parameters in MM in this forum marked as "answered", but this is not true.
    How to export parameters from Message Mapping
    Export parameter REALLY work in message mapping???????
    Export parameter in Message mapping UDF
    WBR,
    Vsevolod

    Hi Rudolf,
    It still does not works.
    Great thanks for all your answers! If your advice works on your PI-server, it means that my problem not in UDF.
    Step by step:
    1) I create in "Signature" tab two parameters: FILE_NAME, FILE_TYPE (of course, they both Export and xsd:string type)
    2) Then, I goes to "Functions" tab and create new function "testUDF" with one argument var1.
    3) In body of this UDF insert 2 strings:
       getOutputParameters.setString("FILE_NAME" , "Order");
       getOutputParameters.setString("FILE_TYPE" , "PDF");
    4) in "Definition" tab I bind function "Local.testUDF" with one field in my input message and goes to "Test" tab for testing.
    5) And then I have a message window "Problems While Testing":
    Source text of object Message Mapping: mm_ParamMap | urn:****.*.:****:TEST has syntax errors:
    Function testUDF, Line 1:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_NAME" , "Order");
    ^
    Function testUDF, Line 2:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_TYPE" , "PDF");
    ^
    Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details. Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Look at this notes, first writes that I use a deprecated API, second - about unchecked or unsafe operations.
    And I have no idea what's wrong... Can you help me?
    Thanks!
    WBR,
    Vsevolod

  • TopLink Map issue

    Hi all
    i m very new to ADF ...
    while creating one toplink i selected emp as my table .it asks for toplinkmap in the wizard so i created new and it took some value by default.
    now when i rebuild this project it gives following error
    TopLink Map 'tlMap1' -> One of the packages is incomplete.
    Package dataprj -> One of the descriptors in this package is incomplete.
    Descriptor Emp -> No primary keys specified in APPS.EMP table.
    End TopLink Map 'tlMap1'
    pls help me out to fix this issue.

    hi user530923
    Maybe you should look for the "EMP" node in the "Offline Database Sources" node of your JDeveloper project (using the Applications Navigator in JDeveloper).
    If you right-click that "EMP" node, you can select "Properties...". The Edit Offline Table dialog should show. Select "Primary Key Information" on the left. Has a primary key been defined?
    You could also check "Decriptor Info" tab for your "Emp" descriptor. Select "Application Sources" > "TopLink" > "tlMap1" in your JDeveloper project, in the Structure pane double-click the "Emp" descriptor and check "Primary Keys" on the "Decriptor Info" tab.
    success
    Jan Vervecken

Maybe you are looking for

  • Source of Multiple Calendars in Outlook 2007 and iCloud (iOS7.0.4)

    Source of Multiple Calendars in Outlook 2007 and iCloud (iOS7.0.4) My  iPhones (2) and iPad list the following color-coded calendar names when the word "Calendar" is pressed at the bottom of the calendar screen:  All iCloud (no colored dot), Calendar

  • Function in xslt mapping?

    Hi guys,         I want to split the resultset containing many rows coming from database into a set fo individual rows using xslt mapping. I know we can acheive this using "split by value" node function in graphical mapping. But want is the name of t

  • Display Payment terms in Bid invitation.

    Hi all, I want to display a standard field called  BBP_PDS_BID_HEADER_D-PMNTTRMS (payment terms key) in the BID header screen, i found the sap note 458591 that tells you how to create/display customer fields, but i don't know if this applies also to

  • How to package third party jars into an ejb application?

    Hello everyone, thanks for reading... Does anybody can give me any hints or directions on how to include inside my .ear or .jar all the dependencies of all my EJBs? I need to deploy inside my ejb.jar or application.ear all the dependencies. The thing

  • 10.4.9 Server Starts in Verbose Mode

    When I restart my G4 Server, it looks like it is starting like normal, shows the blue startup screen and says Mac Server is starting up, but when the bar reaches the end, it briefly goes to an all blue screen and then moves to a black screen with whi