How to resolve corruption in logical model?

Hello
I have a logical model created in SDDM 3.1.2.704.  I have engineered to a relational model successfully in the past, but recently when I tried to engineer logical -> relational nothing happens.  I get the following entry in the log file:
[AWT-EventQueue-0] ERROR MDBAction - java.lang.NullPointerException
Looking at some other discussions, I used the transformation script described here
     3.1.3.709: How to Verify and Fix a Possibly Corrupted Design?
This didn't fix my problem, but the output file (generated when I press the Engineer to Relational model button) shows the following exception:
java.lang.NullPointerException
at oracle.dbtools.crest.model.design.engineering.EngCOPropertiesComparator.decodeDataTypeKindToString(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.EngCOPropertiesComparator.processDataTypeAndUse(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.EngCOPropertiesComparator.initPropertiesList(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.AttributeColumnComparator.initPropertiesList(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.AttributeColumnComparator.<init>(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.AttributeColumnComparator.<init>(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.FE_LogicalToRelational.addAttribute(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.FE_LogicalToRelational.addEntityDetails(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.FE_LogicalToRelational.setEditableStatus(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.FE_LogicalToRelational.addEntity(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.FE_LogicalToRelational.addFromLogicalModel(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.FE_LogicalToRelational.<init>(Unknown Source)
at oracle.dbtools.crest.swingui.engineeringcompare.EngineeringCompareDialog.<init>(Unknown Source)
at oracle.dbtools.crest.swingui.logical.ControllerLogical$FWDEngineer.doActionPerformed(Unknown Source)
at oracle.dbtools.crest.swingui.MDBAction$ActionInvoker.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I have tried SDDM 3.3.0.747, same result.
I have tried removing entities from the model, 1 at a time, but the problems continues (even when the model is reduced to no entities at all!)
I have tried exporting the model and importing it into an empty design.  The import fails "Unable to generate design" and produces the following exception in the datamodeler.log file:
[Thread-19] ERROR ODExtractionController - Error Generate Design: Untitled_1
java.lang.NullPointerException
at oracle.dbtools.crest.model.design.engineering.EngCOPropertiesComparator.decodeDataTypeKindToString(Unknown Source)
at oracle.dbtools.crest.model.design.engineering.EngCOPropertiesComparator.processDataTypeAndUse(Unknown Source)
at oracle.dbtools.crest.model.design.compare.COPropertiesComparator.initPropertiesList(Unknown Source)
at oracle.dbtools.crest.model.design.compare.cwddesign.AttributeComparator.initPropertiesList(Unknown Source)
at oracle.dbtools.crest.model.design.compare.cwddesign.AttributeComparator.<init>(Unknown Source)
at oracle.dbtools.crest.model.design.compare.cwddesign.CompareCWDDesigns.addAttribute(Unknown Source)
at oracle.dbtools.crest.model.design.compare.cwddesign.CompareCWDDesigns.addEntityDetails(Unknown Source)
at oracle.dbtools.crest.model.design.compare.cwddesign.CompareCWDDesigns.addEntity(Unknown Source)
at oracle.dbtools.crest.model.design.compare.cwddesign.CompareCWDDesigns.initSourceDesign(Unknown Source)
at oracle.dbtools.crest.model.design.compare.cwddesign.CompareCWDDesigns.<init>(Unknown Source)
at oracle.dbtools.crest.swingui.compare.cwddesign.CompareCWDDesignsDialog.<init>(Unknown Source)
at oracle.dbtools.crest.imports.cwddesigner.CWDExtractionController$Runner2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Any help greatly appreciated.  With over 100 entities and 200 relationships I really don't want to have to recreate this.
Thanks in advance.

Hi,
but the problems continues (even when the model is reduced to no entities at all!)
The error you reported (in engineering and import) cannot be reached if there are no entities and attributes - it's a specific error probably related to usage of distinct types that are removed from design.
You can use search functionality in order to find attributes/columns (logical/relational model) with incorrect data type definition based on distinct type.
And it's better to move to Data Modeler 4.0 (833).
So what to search (example is on logical model - it's the same for relational model - column):
1) Activate search window (CTRL-F when logical diagram is active, or Find icon), switch to advanced mode
2) for "Object type" Attribute:
- check "Data Type kind" line and put DT as search text
- check "Distinct type" line, don't put search text - it'll search for attributes without distinct type
- change the operand for expression from OR to AND
3) press "Find" button
If you find some attributes, then you need to decide what to do with them - to set data type or to delete them.
The same for columns in relational model.
Philip

Similar Messages

  • How to resolve corrupt downloaded updates

    Being new to the Apple MacBook Pro product I'm hoping someone could assist in advising on the following problem I'm experiencing. I purchased the item two days ago and after setting up the basics fro the first time of switching on the machine, I found that there were 12 software updates needing to be done. I duly accepted all 12 updates and the download process of 1.28GB started. At the end of the download the machine needs to be restarted in order to install the updates which I accept.
    After the first few seconds of carrying out the installation of the updates an error occurs informing me the updates could not be applied/installed due to a corrupt file and that the next time updates are run and installed it will try again. Needless to say I tried again and again downloaded the 1.28GB of updates, which includes the OS update from 10.6.7 to 10.6.8. Again the same thing happened where an error was returned stating that the download file was corrupt. Being in South Africa and not having the online support available from Apple as it is in most other countries I contacted the approved Apple importer and supplier locally and was informed that I need to run the updates individually.
    Again I tried downloading the updates individually starting with the OS update which also downloaded fine but when it came to installing the update it again returned the same error of being corrupt and not able to install. Thereafter I tried updating iTunes and again with the download completed it also returns the same error when trying to install the update - file corrupt cannot install.
    Any advice or assistance out there besides throwing the machine against the wall?

    A combo updater is different from a version update - the combo updater contains all the patches of all the previous updates of the major version. 10.6.8v1.1 combo updater will update any version from 10.6.0 through 10.6.7 - which you would use if having to reinstall from DVD.
    Corruption is a possibilty in any network connection when pushed to the edge of its achievable speed. If can happen over wifi or wired connections. It does not result from packet loss, because packets are guaranteed by the network stack. Corruption of data within a packet can occur. Thats where the checksums SHA1 and md5 can be used to guarantee with a very high probabilty that a file is intact.
    So certainly the fix for corruption involves getting a more reliable network connection - in general wired is better than wireless and strong signal is better and slower is better than faster.
    For those without options to connect to a more reiable network, repeated attempts at download will usually result in a good copy eventually.

  • How to resolve corrupt JPG problem (and plist errors) in Aperture

    After restoring from a Time Machine backup, I have been unable to create a new backup, and I suspect that the problem is down to some of the JPG files on the original backup being corrupted. As a result the restore over-wrote the good versions inside my Aperture library. Aperture's own rebuild option does not help.
    I ran TechTool's file structures test and it reveals that some of the PLISTs in my Aperture Library do ´not contain valid content'.
    The individual JPG files are all there within the packet, but some of them refuse to open in preview or copy to another drive.
    What tools could I use for attempting to recover these image files?

    A combo updater is different from a version update - the combo updater contains all the patches of all the previous updates of the major version. 10.6.8v1.1 combo updater will update any version from 10.6.0 through 10.6.7 - which you would use if having to reinstall from DVD.
    Corruption is a possibilty in any network connection when pushed to the edge of its achievable speed. If can happen over wifi or wired connections. It does not result from packet loss, because packets are guaranteed by the network stack. Corruption of data within a packet can occur. Thats where the checksums SHA1 and md5 can be used to guarantee with a very high probabilty that a file is intact.
    So certainly the fix for corruption involves getting a more reliable network connection - in general wired is better than wireless and strong signal is better and slower is better than faster.
    For those without options to connect to a more reiable network, repeated attempts at download will usually result in a good copy eventually.

  • Creating Multiple Logical Models?

    My boss wants me to model how all his APEX webbased applications interact, how they share data, by using Oracle's DataModeler software in SQL Developer environment.
    So, I did a data import of the similarly named tables for each application, and each one is now its own RELATIONAL MODEL. These are just displaying as yellow entities (tables) with their corresponding column and datatypes inside.
    I know to rightclick on the model in the browser to select ENGINEER TO LOGICAL MODEL, but I need to display a logical model for EACH applications related tables, but when I 'engineer to logical model' for each of the apps they all just keep adding a SINGLE logical model, when I want them to have their OWN logical model.
    tl;dr: How do I create simplified logical models for seperate apps

    A logical data model will help you (and other stakeholders) understand the business and data requirements (in other words, the information needs) from a business perspective, irrespective of DBMS technology. An LDM is an analysis artefact. This is great to validate your understanding and confirm with business analysts and business reps, as well as complementing with other analysis artefacts like process models. Also very helpful to see how different systems interact, and where there is commonality and/or redundancy.
    A physical data model (i.e., relational), a.k.a., database design, defines and illustrates the structure of the data as they will be implemented in a database. A PDM is a design artefact, derived or transformed from the logical data model. Developers and DBAs will be your main audience.
    Patrick

  • How convert spaces in logical model to underscores in physical model

    Hi,
    in Oracle Designer we used spaces in logical model objects (entities, attributes, relations) which were automatically converted to underscores when the physical model was generated from the logical one. Is there any way how do this conversion in Data Modeler? So far I have been able to convert mixed case in logical model to uppercase in physical model (with the exception of foreign keys) but changing space to underscores still eludes me.
    Why I think this is important: the logical model should use "normal" language if possible, i.e. spaces, mixed case etc. But the physical model should have uppercase only and definitely no spaces. Having objects in Oracle defined with spaces leads to many difficulties since any reference to the object must use "" around the name of the object...
    Thanks
    Jakub

    Hi,
    but the problems continues (even when the model is reduced to no entities at all!)
    The error you reported (in engineering and import) cannot be reached if there are no entities and attributes - it's a specific error probably related to usage of distinct types that are removed from design.
    You can use search functionality in order to find attributes/columns (logical/relational model) with incorrect data type definition based on distinct type.
    And it's better to move to Data Modeler 4.0 (833).
    So what to search (example is on logical model - it's the same for relational model - column):
    1) Activate search window (CTRL-F when logical diagram is active, or Find icon), switch to advanced mode
    2) for "Object type" Attribute:
    - check "Data Type kind" line and put DT as search text
    - check "Distinct type" line, don't put search text - it'll search for attributes without distinct type
    - change the operand for expression from OR to AND
    3) press "Find" button
    If you find some attributes, then you need to decide what to do with them - to set data type or to delete them.
    The same for columns in relational model.
    Philip

  • How do you resolved corrupted iTunes.cab error when installing iTunes 10.7.0.21? I am running on Windows XP

    I just downloaded the latest iTunesSetup.exe from apple. Upon installation, a pop up message appeared stating that the iTunes.cab is corrupt. Any suggestion on how to resolve this issue?

    iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
    Windows users see tip at: https://discussions.apple.com/message/18879381
    You don't have to deauthorize the old one if you are still using it.  If you are not then you should deauthorize it.  Yes, authorize the new one.  You can have up to 5 computers authorized at any time.

  • How to show relation attribute on logical model

    Hi.
    How to show child entity relation attributes on logical model?
    Entity properties attribute list contains relation attributes, LM dont show they.
    I have model with several subviews. I need to show some entity without related entities but need to save "semantic" of relations on this subview. When relation attributes does not visible - no information about invisible relations on this subview.
    I can create my own visible attribute like "reference to customer" to make sense the relation with entity "Customer". This case problem is relation attribute presents in entity implicitly and relation model have 2 attribute - my own and generated FK column.
    In logical model i can`t replace child table relation attribute to my own "visible" attribute.
    In relational model i should redefine FK manually. Transformation script is posible but very odd way.
    Any advice appreciated.

    I am confused.
    I think the legacy Oracle Designer Barker notation could show reation attributes optional or by default, int`t it?
    Thanks a lot anyway.

  • How to change "Relation UID" attribute name in logical model?

    Beginner question here, sorry if it has been covered already.
    In the Logical model in Data Modeler, how do I change an attribute name which is used as a "Relation UID"?
    For example, I create two entities each with a Primary UID called "id", then create a 1:1 relationship. Each entity will now have an attribute called "id1" marked as a Relation UID, but I can find no way to change the attribute's name. Is there a way?
    Thanks.

    Hi GuyM,
    you need to check setting in preferences - "Data Modeler>Model>logical" - FK attribute name synchronization - clear the check box if you want to set the name manually.
    Philip

  • How to copy field comments from logical model to relational one?

    Dear gurus!
    I had a logical model without field comments. Then I made an engineering of logical model into relational one. Later I added field comments to logical model. How can I copy these values to relational model? Seems to me that when I use
    model.getTableSet().toArray()
    then I get list of relational model tables. How can I get a list of logical "tables" and to get a relations between those two lists?
    Thank you!
    Edited by: user12947051 on 12.01.2012 23:58
    Edited by: user12947051 on 12.01.2012 23:58

    You don't need to write and run script for that. Just use engineering to relational model. Use compare/copy options tab if you don't want something else to go into relational model
    Philip

  • Oracle Modeler: How to link DFD Information Stores to Logical Model Entitie

    I have created a hierarchy of DFDs for my system :)
    Some of the DFDs have Information stores.
    I want to specify the Entities in each InformationStore by linking them to Entities I have defined in the Logical model/ERD.
    However... in the Information Store Properties dialog box in the Entities section there is just a [xyz] button so I can't see how to link the store to my existing Entities (Iwas epxecting to see + and - and a dialog box that allowed me to select the Entities I have already created ?
    Help !
    (are Information Structures somehow involved as they have the + and - buttons) ??

    Hi,
    Entities section just shows linked Entities.
    Go to Attributes section and add (link) desired Attributes to InformationStore.
    Regards,
    Ivan Zahariev

  • ODM: How to link DFD Information Stores to Logical Model Entities

    I have created a hierarchy of DFDs for my system :).
    Some of the DFDs have Information stores on them.
    Now I want to specify the Entities in each InformationStore.
    I'd like to do this by linking the Information Stores to the Entities I have defined already in the Logical model/ERD.
    However... in the Information Store Properties dialog box in the Entities section there is just a [xyz] button ??
    I can't see how to link the Information stores on the DFD to my existing Entities.
    I was epxecting to see + and - buttons and a dialog box that allowed me to select the Entities I have already created ?
    Help !
    (are Information Structures somehow involved as they have the + and - buttons) ??

    Not good, because I want the Logical Model to drive the processes, not the other way around. The tool seems to be implementing a version of systems analysis that I can trace to DeMarco (1979). This was discovered to be sub-optimal, and documented as such by Flavin (1981), and McMenamin and Palmer (1984). Palmer's later work (unfortunately, mostly unpublished) showed in more detail exactly how the Logical Model should drive the Process Models, not the other way around.
    Ideally, an Information Store could be associated to an Entity, and, when the analyst was ready (not before), balancing reports could be run to identify situations where the Entity had attributes that were never created, or never read. Other CASE tools have been able to do this for the last 20 years; it's not rocket science.
    I would characterize the way the tool works now as "program-centric" rather than "data-centric."
    By analogy, it reminds of a different, but also common programmer behavior, namely pestering the DBAs to denormalize everything, because it saves them (the programmers) from having to code joins.
    Don't let programmers drive software methods, or the supporting software tools.
    Mark

  • Data Modeler / Logical Model / How to display the "relationship name" ?

    Hi,
    Oracle SQL Developper Data Modeler 2.0.0 (build 584):
    I would like to know if there is a way to display the "relationship name" in the diagram for the logical model in the GUI interface and/or to print it?
    I checked in the different setup tool options and I did not find it...
    Thanks for your help.
    Regards,
    Robin Ouellet

    Hi Robin,
    you cannot "show" relationship name on logical diagram - you can show "name on source" and "name on target" properties. You can set them at cardinality page of relationship dialog, And make them visible in "Tools>General options>Diagram>Logical model" settings - it's "Show Source/Target Name" option.
    For printing - you can use "File>Print Diagram" to print in different format. Also "File>Print" allow diagram to be printed to printer, plotter or PDF printer if you have one installed.
    Philip

  • Logical Model Naming Standard (Title Case) and Foward ENGINEERING how to???

    Hi,
    I just installed the datamodeler v3.3.0.747.
    I want to use the Title Case style as separator style in my logic Model... To do this, i go to the Preferences Settings (Tools > Preferences > Naming Starndard > Logic Model) and set the Title Case as separator Style...
    However, when i do foward engineering of the logical model... The Style is omitted and everything is like the logical model... For example,
    If i create an entity called: ManagedAccount, i will expected that when i do fwd enginnering, the table associated to that entity will be call as Managed_Account; However, i still getting ManagedAccount...
    So, What am i doing wrong??? or this is a bug???
    Thanks!

    Hi,
    in order to get it working in current release you need to create glossary even empty one and set its property "Incomplete Modifiers" to true (check the check box with that name), and to to add that glossary in "Tools>Preferences>Data Modeler>Naming Standard".
    We'll change it in next release to work without glossary for this particular case.
    Philip

  • I am no longer able to double click on a file and have it open.  Any suggestions on how to resolve this problem?

    I am no longer able to double click on a file and have it open.  Any suggestions on how to resolve this problem?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • HT4236 Syncing photos using iTunes in windows revealed this error message "iPad Jayvee cannot be synced because it cannot be read from or written to ." Please advise asap how to resolve the issue.  Thanks!

    Please advise how to resolve error message - cannot be synced because it cannot be read from or written to.

    Hello Janet,
    I would recommend this article named 'Disk cannot be read from or written to' when syncing iPod or 'Firmware update failure' error when updating or restoring iPod found here http://support.apple.com/kb/ht1207
    Outdated operating system software
    Make sure you have the latest updates for your operating system, which may include improvements for device connections. For example, many USB and FireWire improvements have been included in Windows Service Packs.Check for Mac OS X downloads. Check for Windows updates.
    Computer needs updates
    Make sure you have the latest updates available for your specific computer model (or components for home-built PCs). These are usually available for download on the support website for the maker of the PC (or component). Many USB updates are listed as "Intel chipset" or just "chipset" updates on PC manufacturer's support and download websites.
    Software interference
    Some software can interfere with iTunes, making it unable to write files to your iPod. Think about what software you have installed, and try disabling any add-ons that might be interfering with iTunes. Check your suspected software's documentation or contact the software maker if you need assistance with disabling the application. Out-of-date or incorrectly configured security software frequently causes this issue. See these steps for identifying and troubleshooting third-party security software.
    Damaged files
    If one of your music files or photos is damaged, iTunes may display one of these errors when transferring that file to the iPod. If you identify a file that is causing the error, try deleting that file and reimporting it from a backup file or from the original source. You may be able to repair files by repairing the disk (see the solutions in the next section).
    Unregistered .dll files (Windows)
    Malware or other software may cause an issue with the digital signing of Windows XP drivers. First try restoringthe iPod using the latest version of iTunes.. If you are unable to restore it or the symptom reappears, follow the steps in this document.
    Damaged disk structure
    These errors can also appear if the format of your computer's hard drive or your iPod disk is damaged.
    To repair your computer's hard disk—Mac OS X users, read this article for instructions. Windows users, search the Help system in Windows for chkdsk to get more information on checking and repairing the disk structure.
    To repair an iPod disk—Restore the iPod or iPod shuffle using the latest version of iTunes.
    Warning: Be sure to back up your data before restoring an iPod. The restore process cannot be undone. All of your songs and files will be deleted.
    Corrupt iPod photo Cache
    If you're getting the error when transferring photos to an iPod photo, try deleting the iPod photo Cache and then starting the photo sync again.
    Lost connection
    Make sure that the connections from your computer to the iPod are snug and do not wiggle or come loose during transfers. For example, if you use the wrong size dock for your iPod, it can put strain on the connectors and cause a bad connection. See these articles for more information:
    Learn about iPod Universal Dock
    iPod Dock: Specifications
    Conflict with third-party hardware
    Third-party USB or FireWire devices may also interfere with iTunes' ability to communicate with your iPod. Remove all USB and FireWire devices except the keyboard and mouse before reconnecting your iPod to the computer.
    Bad hardware
    Hardware failure or non-compliant hardware can cause these errors. This could be an issue with iPod hardware or with the cable or dock you're using, but more often it's an issue with the USB or FireWire card or interface in your computer. Some USB and FireWire interfaces just don't work very well. If you isolate the issue to the USB or FireWire interface in your computer, you may want to try a different port, get the computer serviced, or replace the card or interface with a better one.
    If you isolate the issue to an Apple-supplied cable or dock, or the iPod itself, you can get it serviced here.
    Take care,
    Sterling

Maybe you are looking for