ToXML method causes problem

Has anyone faced problem with the method toXML in IDocument class of ADK.
Most of the times, it gives some error or the other. Sometimes, it doenst
print at all, just blank, although, if I use getStringFrom method, it does
returns me the correct value,
and sometimes it gives NullPointerException.
Please let me know if this is some sort of a problem.
Thanks
Amit

Start up in Safe Mode.
http://support.apple.com/kb/PH11212

Similar Messages

  • JTree + FK with same value causing problems

    Hi
    I can't figure this out. If I create biz components for 2 tables having a parent-child relationship and a jTree with appropriate rules, things are ok only if the parent's id are of different values than the child. When parent.id and child.id have the same values the jTree seems to recursively fire valueChanged() at strange times.
    Example:
    CREATE TABLE PARENT
    PARENT_ID NUMBER CONSTRAINT PARENT_ID_NN NOT NULL,
    PARENT_NAME VARCHAR2(40 BYTE),
    CONSTRAINT PARENT_C_ID_PK
    PRIMARY KEY
    (PARENT_ID)
    CREATE TABLE CHILD
    CHILD_ID NUMBER CONSTRAINT CHILD_ID_NN NOT NULL,
    CHILD_NAME VARCHAR2(40 BYTE),
    PARENT_ID NUMBER,
    CONSTRAINT CHILD_C_ID_PK
    PRIMARY KEY
    (CHILD_ID)
    ALTER TABLE CHILD ADD (
    CONSTRAINT PARENT_FK
    FOREIGN KEY (PARENT_ID)
    REFERENCES PARENT (PARENT_ID));
    INSERT INTO PARENT VALUES (1, 'Parent 1');
    INSERT INTO PARENT VALUES (2, 'Parent 2');
    INSERT INTO PARENT VALUES (3, 'Parent 3');
    INSERT INTO CHILD VALUES (100, 'Child A', 1);
    INSERT INTO CHILD VALUES (200, 'Child B', 2);
    INSERT INTO CHILD VALUES (300, 'Child C', 3);
    I use the JDev 10.1.2 wizard to create biz components and test the AppMod to make sure the link works. Now I create a blank panel and drag over the ParentView data control. Using the jTree tree binding editor I create two rules:
    1) DataCollectionDef.ParentView - DisplayAttribute.ParentName - BranchRuleAccessor.ChildView
    2) DataCollectionDef.ChildView - DisplayAttribute.ChildName
    Now I add a tree selection listener:
    jTree1.addTreeSelectionListener(new TreeSelectionListener()
    public void valueChanged(TreeSelectionEvent e)
    DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)jTree1.getLastSelectedPathComponent();
    if (selectedNode != null)
    System.out.println(selectedNode.getUserObject().toString());
    When I run my panel and watch in JDev everything is fine, i.e. nothing is printed to the screen when it first loads and when I click a node, the correct UserObject prints.
    Here's the rub, now I close the panel and update my child table as follows:
    UPDATE pdssuser.child SET child_id = 1 WHERE child_id = 100;
    UPDATE pdssuser.child SET child_id = 2 WHERE child_id = 200;
    UPDATE pdssuser.child SET child_id = 3 WHERE child_id = 300;
    This time, when I run my panel, the console shows that valueChanged() has been fired 3 times on load:
    Parent 1
    Parent 2
    Parent 3
    This behavior is causing problems with my real tree.
    I haven't had any luck finding threads about this. Any ideas?
    Thanks
    John

    ok, last one (i hope)
    The same issue occurs with 10.1.2.1
    ...but changing the location where I add the treeSelectionListener to after setBindingContext() seems to fix the problem.
    The second call to panelBinding.refreshControl() in setBindingContext() (the one after the call to jbinit()) is what fires the valueChanged events. Somewhere in there, DCBindingContainer.java or DCIteratorBinding.java, the treeSelectionListener is hearing that a value changed (maybe due to a query execution?). I guess the jTree1.setModel(...) call in jbinit() simply sets up the tree but the VO queries described in the Branch Rule accessors are executed on the refreshControl.....i'm out of my comfort zone here and may be confusing you with my "troubleshooting" so I'll just tell you my work-around.
    So to fix it I add the treeSelectionListener in my main method (not jbinit()) after the setBindingContext() has been called.
    I still have no idea why the FK triggers this behavior...but at least it's working.
    * the main method
    public static void main(String [] args)
    try
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception exemp)
    exemp.printStackTrace();
    Panel1 panel = new Panel1();
    panel.setBindingContext(JUTestFrame.startTestFrame("DataBindings.cpx", "null", panel, panel.getPanelBinding(), new Dimension(400, 300)));
    panel.revalidate();
    // Now add the treeSelectionListener
    panel.addSelectionListener();
    * the JbInit method
    public void jbInit() throws Exception
    this.setLayout(borderLayout1);
    this.add(jTree1, BorderLayout.CENTER);
    jTree1.setModel((TreeModel)panelBinding.bindUIControl("ParentView1", jTree1));
    // DON'T ADD treeSelectionListener here
    * Add the selection listener to the tree
    public void addSelectionListener()
    jTree1.addTreeSelectionListener(new TreeSelectionListener()
    public void valueChanged(TreeSelectionEvent e)
    DefaultMutableTreeNode selectedNode = (DefaultMutableTreeNode)jTree1.getLastSelectedPathComponent();
    if (selectedNode != null)
    System.out.println(selectedNode.getUserObject().toString());
    }

  • Will multiple Lan cards cause problems using rmi?

    Will multiple Lan cards cause problems using rmi? If a host has two or more network cards (only one of which is Internet-enabled), how does RMI know which IP address to use? There seems to be a problem when such a client registers with an RMI service, and has a client-side callback method invoked by the server.

    You can tell RMI the address you want by defining java.rmi.server.hostname at the JVM which exports the remote object.

  • Quotation and Purchasing Requisition causing problem

    Dear all,
    I need to seek your advise.
    It is causing problems in the supply chain that quatations and purchace requisitions is causing production order creation in the workshop at the distribution center and in the SAP factories.
    We would really want these two order types/demands isn't valid for the production planning as it is often result in production where orders never are converted.
    Questions:
    1 - Is it advisable to exclude these two demands (i.e. Quotation/PR) from production point of views? if no, why, what's the reason?
    2 - Either Yes or no on question 1,  would it be possible to exclude these as demands for production so that only actual orders causes production order creation from the system config?
    3 - If question no.1 is "Not advisable", what is the alternative solution to solve our problem (i.e. it is often result in production where orders never are converted).
    Thanks.

    1) I would like to ensure that our Quotation (MM/SD)/ PR (SD derived PR example drop ship, and MM derived PR, example STO PR) to be excluded as demand during MRP run. And the best way is to use the BADI - MD_CHANGE_MRP_DATA. Is that correct?
    Yes the BADI is provided as the exclusion of these demands in planning is not considered as standard & hence the enhancement.
    2) Does this BADI- MD_CHANGE_MRP_DATA work for exclusion of Quotation as demand as well?
    I have written code in this BADI to exclude Stock Transfer PR, but not for quotation so cant speak from experience on that. But I am sure one of the methods in that BADI should cover that. Discuss with your abaper & he / she will let you know which method will cover this need
    3) Any other way?
    To the best of what I know usage of BADI is the only option to prevent planning of demands coming from STO's. But the other way would be, to work with PO - SO kind of concept i.e. the plant which requires a part from another plant will raise a PO, this will then have to manually entered in the other plant as a SO (But note, creating sales order for plants within same company code will violate some norms in Finance, so check with your FI-CO colleagues)

  • Null values from DB2 cause problems

    Hi,
    I have another problem with database link to DB2 using IBM iSeries Access for Linux on 64 bit OEL5 with Oracle Database gateway and unixODBC 2.2.14.
    DB link works. However, null values from DB2 cause problems. Date columns that are null on db2 return a date '30.11.0002', and character columns that are null return an error ORA-28528: Heterogeneous Services datatype conversion error.
    isql returns correct results.
    How can i fix this? Perhaps set some parameters for data conversion on the gateway?
    Thank you.

    If the driver is not fully ODBC level 3 compliant and misses functions, we're lost. But sometimes the drivers are ODBC level 3 compliant but miss the correct 64bit implementation. In those cases we can tell the gateway to use the 32bit ODBC level 3 standard by setting in the gateway init file:
    HS_FDS_SQLLEN_INTERPRETATION=32

  • I want to uninstall ReloadEvery as I think it is causing problems however it is not in my list of Extensions or Plugins yet it is clearly installed, I tried reinstalling FF but it was still there! How can I get rid of it?

    I installed ReloadEvery a while ago and it seemed to be working fine however I am now having problems with FF crashing and weird things like pages not reloading and not being able to use the back button etc
    I have already tried uninstalling and reinstalling FF and upgrading to FF 4.
    When I upgraded to FF 4 I was still having problems even though I didn't have any Extensions installed at all, or so I thought. I noticed that ReloadEvery was still installed. I was rather puzzled as I had done a clean install of FF 4. I want to remove ReloadEvery to see if it will solve my problems.
    I have also tried following the help on the FF Troubleshooting about manually uninstalling Extensions but again ReloadEvery not listed there yet I am still able to use it in FF!
    I want to get rid of it!! I really need some help please.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies

  • FF 3.6 AND 5 on same Mac, 1 profile - can I uninstall 5 without causing problems running 3.6 or with the profile?

    I upgraded from 3.6.16 to 5, but don't like how 5 handles tabs (auto reloading 'problem loading' tabs when internet connection is reestablished). So I installed 3.6 in a separate folder, e.g. both versions are on this computer. I went back to using 3.6, and let it upgrade to either 3.6.18 or 19 (don't recall which & it's not open right now). I'm having problems with it using too much CPU & Memory, and not sure if that's a difference between 3.6.16 & 3.6.18/19, or if having 5 on the same computer even if closed could be causing the problem.
    Can I uninstall 5 without causing problems with the 3.6 version and the single profile?

    If you haven't tried this, give it a try. It worked for me, hopefully it will work for you. In your version 3 firefox, disable all extensions, I had two plugins (doubletwist and joost, disable those if you have them). Then install firefox 5 by overwriting your version 3 firefox. It should work fine after that. I tried everything before, I gave that a last ditch shot. Oh yeah, before you install firefox 5, clear your cache of everything just to be sure.
    Hopefully that helps.

  • I have two Iphones with different email addresses sharing one Apple ID. Will that cause problems with using messaging and FaceTime?

    I have two Iphones 5 with different email addresses sharing one Apple ID account.Both are using IOS 8.
    I would like to set up a new Apple Id for one of the phones and remove it from the old account.
    If I do that, can I move all of the purchased apps and songs to the new Apple account?
    Also, will sharing one Apple ID account with two devices cause problems with using messaging and FaceTime?

    Sharing an iCloud account between two devices can be done without causing issues with iMessage and FaceTime, just go into Settings for each of these functions and designate separate points of contact (i.e. phone number only, or phone number and unique email address).  While that works, you'll then face the problem where a phone call to one iPhone will ring both if on the same Wi-Fi network -- but again, that can be avoided by changing each phone's settings.
    Rather than do all that, don't fight it -- use separate IDs for iCloud.  You can still use a common ID for iTunes purchases (the ID for purchases and iCloud do not have to be the same) or you can use Family Sharing to share purchases from a primary Apple account.

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • TS3579 I found this useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up

    I found this  (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder. 

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • I replaced my hard drive and used time machine to boot from but it installedthe unrepaired disk permissions of the faulty previous drive would this cause problems on my new drive?

    I replaced my hard drive on macbook pro and used time machine to boot from but it also installed the unrepaired disk permmissions of the other drive, would this cause problems to my new drive?

    Can you remember what the permissions problem was that you had before? You may need to reinstall OS X from scratch and not reinstall anything from your Time Machine backups. To be on the safe side you should reinstall all third-party applications from scratch, as well. Then only restore from your backup your document/data files.

  • I deleted the 4oD app from my iPad but it still appears in the list in Settings. How do I get rid of that? It is causing problems when they issue updates as it apparently thinks I still have it when I don't.

    Can any one help me get rid of a deleted app 4oD that still appears in the Settings list. I deleted it from the home screen and Spotlight search confirms it has gone. It is causing problems because I get notified of updates and I cannot get rid of them either. I have tried re-downloading via my MacBook because there isn't a download option from the iPad (App Store clearly think I still have it when I don't) then deleting again but the listing in Settings remains.
    It is really irritating me.
    Thanks.

    Have you tried deleting the App within the Settings menu (rather than from the Home Screen)?
    Settings>General>Usage>
    From the Apps list, find the App (press "Show all Apps" if the app is not in the immediately shown list), tap on the app you wish to delete, then tap "Delete App"

  • If I install the update to Adobe Reader 10, will that cause problems with Acrobat Pro 9?

    Firefox (version 15.0.1) is telling me I need to install an update to Adobe Acrobat 9.4 in order to view pdf files in my browser. I use Acrobat Pro 9. The update is actually Adobe Reader 10, and I am wondering if I install this, will it cause problems with my version of Acrobat Pro?
    Because I am not sure if this is so, I have temporarily disabled the plug-in and now pdf files download automatically rather than display in my browser. I would prefer they open in my browser but do not want to upgrade to Acrobat X.
    My OS is Windows Vista. I did not include the "troubleshooting information" file because I'm not sure what specific info is being requested.
    Thanks for any help.

    Hi WMdotcom
    did you try to view pdf with your acrobat pro 9 ?
    see
    [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types
    Set how Firefox handles different types of files]
    thank you

  • Reduce folders in Windows 7 for pictures without causeing problems with PSE11

    I want to simplify  my Windows 7 folders and reduce the number of the folders. Can you please advise me on the best way to do this so as not to cause problems with PSE11 finding the pictures? Thank you.

    19441965 wrote:
    I want to simplify  my Windows 7 folders and reduce the number of the folders. Can you please advise me on the best way to do this so as not to cause problems with PSE11 finding the pictures? Thank you.
    The only way to move files or folders/subfolders without causing problems, that is not creating 'missing files' is to do this from within the Organizer, not the OS (Win/Mac).
    You can create folders and move pictures from the Organizer.
    Note that if you are moving the files of several subfolders into a single one, you run the risk of wanting to move files with the same filename into the same folder ; your OS won't allow that. So the Organizer will rename pictures if needed.
    If you want to do such a big reorganizing task, absolutely do a full backup before. There is no advantage  for such a reorganizing from an Organizer point of view, but if you need it for some reason, it has to be done from within the organizer.

  • Recently purchased a used IPad 2 but it still has previous owner's data.  I've been told not to sync it to my computer as it will cause problems.  What do I need to do to make it compatible with accounts on my mac and ipod touch?

    Recently purchased a used IPad 2 but it still has previous owner's data.  I've been told not to sync it to my computer as it will cause problems.  What do I need to do to make it compatible with accounts on my mac and ipod touch?  Thanks for any and all help!

    You can wipe the iPad's contents completely by going to Settings>General>Reset>Erase All Content and Settings. This will remove all of the previous user's apps, data, settings and so on from the iPad and you can set it up as your own.

Maybe you are looking for

  • Video Component Mute Button to Off by Default

    Hello, I want to set the FLV component Mute button off by default. I have seen this question asked across many forums but not answered. All the literature I read it only tells you how to associate the mute button with the video clip but not how to co

  • IPhoto slideshow in Keynote Presentation

    Is it possible to insert or link to an iPhoto slideshow (with its theme and music) in a Keynote presentation?  When I export to a Quicktime movie, I do not get the theme, just the slides and music.

  • Problem with downloading an issue to an Android tablet

    We're experiencing a problem with downloading an issue to an Android tablet. Adobe Content Viewer on a Samsung Galaxy Tab 2 attempts to download an issue, but after about 30 seconds of downloading ACW stops and without any error message returns to th

  • Shortest Path

    I have this table: with t as (   select 'A' source, 'B' destination, 7 meter from dual   union all   select 'A' source, 'C' destination, 9 meter from dual   union all   select 'A' source, 'F' destination, 14 meter from dual   union all   select 'B' s

  • TRIM Command Capture

    Is it possible to capture TRIM commands in an Xperf trace? And if so, what provider do I need to use? Thank you, Dennis Ginley