Unexpected behaviour from LSSerializer.writeToString

I was trying to use LSSerializer to serialize a fragment of a larger XML document when I ran into some odd behaviour from Oracle's implementation.
This sample code shows LSSerializer being used to write a org.w3c.dom.Element XML fragment in both Oracle and Xerces:
<pre>
import java.io.ByteArrayInputStream;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.ls.DOMImplementationLS;
import org.w3c.dom.ls.LSSerializer;
public class Test
public static final String xml = "&lt;foo>&lt;bar>abc&lt;/bar>&lt;baz>xyz&lt;/baz>&lt;/foo>";
public static void main(String[] args) throws Exception
// Oracle
System.out.println("Oracle LSSerializer:");
test(new oracle.xml.jaxp.JXDocumentBuilderFactory());
System.out.println();
// Xerces
System.out.println("Xerces LSSerializer:");
test(new com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl());
private static void test(DocumentBuilderFactory fac) throws Exception
DocumentBuilder b = fac.newDocumentBuilder();
Document d = b.parse(new ByteArrayInputStream(xml.getBytes()));
Element e = d.getDocumentElement();
System.out.println("Document root element: " + e.getNodeName());
DOMImplementationLS di = (DOMImplementationLS) d.getImplementation();
LSSerializer ser = di.createLSSerializer();
System.out.println(ser.writeToString(e));
</pre>
Here's the output:
<pre>
Oracle LSSerializer:
Document root element: foo
&lt;bar>abc&lt;/bar>&lt;baz>xyz&lt;/baz>
Xerces LSSerializer:
Document root element: foo
&lt;?xml version="1.0" encoding="UTF-16"?>
&lt;foo>&lt;bar>abc&lt;/bar>&lt;baz>xyz&lt;/baz>&lt;/foo>
</pre>
As you can see, Oracle's LSSerializer implementation serializes the children of the org.w3c.dom.Element, but not the element itself.
It's not hard to work around, but it really doesn't seem like the correct behaviour. It's certainly doesn't behave the way a reasonable developer would expect it to.

The XDK 10g implementation is slightly different from the Xerces implementation.
In XDK 10g, the node previous to the node to be output should be specified in the
writeToString() method.
Also in XDK 10g, SHOW_ELEMENT does not output the element text, in Xerces the element text is output.
Refer
http://www.oracle.com/technology/pub/notes/technote_dom.html

Similar Messages

  • DOM nodes serialized using LSSerializer.writeToString() looses formatting

    Hi All,
    I am trying to serialize DOM nodes into a serialized string, and facing the below problem,
    where I am loosing all the formatting ( new lines, spaces ) in the process.
    Basically here is how the whole process can be outlined:
    1. I take a formatted xml request sample String:
    <Batch>
    <Request1>
    <Content>abc</Content>
    </Request1>
    <Request2>
    <Content>efg</Content>
    </Request2>
    </Batch>
    2. Feed it into a Dom parser to parse the xml string and convert it into DOM objects
    public void parse( String xmlModel ) throws Exception {     
              if( xmlModel == null ){
                   throw new Exception( "No xml model string was supplied for parsing");
              else{
                   this.xmlModel = xmlModel;
              // Now try building the document
              try{
                   DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                   dbf.setNamespaceAware(true);
                   //parse the xml file.
                   DocumentBuilder parser = dbf.newDocumentBuilder();
                   parser.setErrorHandler(new ErrorHandlerImpl());
                   // ByteArrayInputStream extends from inputstream
                   InputStream is = new ByteArrayInputStream(xmlModel.getBytes());
                   setDoc(parser.parse(is));
    ( Continued in 3 .... )
    3. Then once the Document Object Model is ready, I try to serialize the object
    using the LSSerializer API interface to convert the DOM Node to an XML string,
    as below in the method implementation continued from above ..
    ( Continued from above here .... )
                   //write the output to the specified String variable
                   DOMImplementation impl = doc.getImplementation();
                   DOMImplementationLS implLS = (DOMImplementationLS) impl.getFeature("LS","3.0");
                   LSSerializer writer = implLS.createLSSerializer();
                   writer.getDomConfig().setParameter("error-handler",new DOMErrorHandlerImpl());
                   // This is to suppress the xml header, with version and the encoding being automatically generated
                   writer.getDomConfig().setParameter("xml-declaration", false);
    4. Assume the Node object got from the main DOM object is represented as "node"
    and if we try
    // Basically calling - LSSerializer.writeToString( Node node )
                   String xmlSerialized = writer.writeToString(node);
    System.out.println(xmlSerialized);
    The output would look like this:
    <Batch> <Request1> <Content>abc</Content> </Request1> <Request2> <Content>efg</Content> </Request2> </Batch>
    Basically lost all the formatting.
    Can someone suggest how to fix this ?
    Thanks

    I'm having the same problem. I think it's a bug with the LSSerialized. My code:
        Document doc = myElement.getOwnerDocument();
        ProcessingInstruction pi = doc.createProcessingInstruction(
            "xml-stylesheet",
            String.format(" type=\"%s\" href=\"%s\"", type, href));
        doc.insertBefore(pi,doc.getFirstChild());returns the following xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <windsor><queen favorite-dog="corgis"><name>Elizabeth</name><count>II</count></queen></windsor><?xml-stylesheet  type="text/xsl" href="mystylesheet.xsl"?>Interestingly, if I print out the nodes in order, using this code:
    NodeList nl = doc.getChildNodes();
        for(int i = 0 ; i < nl.getLength() ; i++) {
          System.out.println("NODE: " + nl.item(i));
        }They are in the correct order:
    NODE: [xml-stylesheet:  type="text/xsl" href="mystylesheet.xsl"]
    NODE: [windsor: null]I think I'm going to have to switch to using the transform framework for output serialization. sigh

  • Need Help in expdp for resolving ORA-39127: unexpected error from call

    Hi All,
    My Environment is -------> Oracle 11g Database Release 1 On Windows 2003 Server SP2
    Requirement is ------------> Data Pump Jobs to be completed without any error message.
    I am tryring to take export data pump of a schema
    Command Used --> expdp schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
    Export Log Show this details its completed with 2 error messages
    Export: Release 11.1.0.6.0 - Production on Saturday, 23 April, 2011 13:31:10
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the OLAP option
    FLASHBACK automatically enabled to preserve database integrity.
    Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 192 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',0,1,'11.01.00.06.00',newblock)
    ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5980Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',1,1,'11.01.00.06.00',newblock)
    ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5980
    . . exported "SCOTT"."DEPT" 5.945 KB 4 rows
    . . exported "SCOTT"."EMP" 8.585 KB 14 rows
    . . exported "SCOTT"."SALGRADE" 5.875 KB 5 rows
    . . exported "SCOTT"."ACCTYPE_GL_MAS" 0 KB 0 rows
    . . exported "SCOTT"."BONUS" 0 KB 0 rows
    Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
    D:\APP\ADMINISTRATOR\ADMIN\SIPDB\DPDUMP\SCORR.DMP
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 13:40:08
    Please help me to resolve this issue.
    Thank you,
    Shan

    Hi Shan,
    I am getting very similar to yours
    "ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found."
    error message while creating OLAP Analytic Workspace with AWM.
    I am creating workspace for the first time, actually following some tutorial to get some knowledge about OLAP)
    I see you managed to solve you problem.
    I wonder how I can get this MOS DOC 852794.1 - is it possible to get it without going to Metalink?
    Thanks in advance for any help.
    Regards,
    SC

  • Unexpected behaviour upon pressing the 'Enter' key on dialog screen

    Hi.
    I have two dialog screens that exhibit unexpected behaviour when i pressed the 'Enter' key.
    Screen 1: When I pressed the 'Enter' key, the focus shifted to another input field and the content of the previous input field is cleared. The thing is, I did not have any codes in PAI for 'Enter'. Why is this happening?
    Screen 2: On load, some of the fields on this screen will be disabled. However, when I pressed the 'Enter' key, all the disabled fields become enabled. Again, I did not have any codes that handle the 'Enter' key in PAI. Why is this happening?
    Any help is appreciated.

    Hi Atish.
    Yes, I have used CHAIN... END CHAIN.
    I thought that CHAIN... END CHAIN allows my input fields to be re-activated after an error message is displayed.
    How would CHAIN... END CHAIN cause the unexpected behaviour?
    Thanks.

  • ORA-39127: unexpected error from call to export_string :=SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP

    Hi,
    I am trying to export a Schema from 11.2.0.2 and getting the below error on export
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12425,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string :=
    SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12424,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12423,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.GRANT_EXP(2003412,1,...)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 2296
    ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 52
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    I  have searched the forum and found similar errors, but I am struggling to understand the cause and solution.
    Forums seem to indicate it may be related to bug 4358907, Re: Datapump export/import object grants given by another user but not sure it is relevant as I can see a ORA-01031: insufficient privileges in this log.
    Can you please advise?
    Thanks

    Please show your export command  and read MOS ID: ORA-39127 using datapump exp [ID 451987.1 ]
    and check below forms discussion:
    https://forums.oracle.com/message/10237007

  • ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12425,1,...)

    Hi all,
    I am getting this erro on a Datapump Schema export on 11.2.0.2:
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12425,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12424,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12423,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.GRANT_EXP(2003412,1,...)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 2296
    ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 52
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    I believe it requires some specific privileges on DBMS_RMGR_GROUP_EXPORT.
    I have found this below explanation Kevin's Blog: SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP but I am not a DBA, so I am not sure what grant needs to be modified.
    It also complains of unsufficient privileges on DBMS_SCHED_JOB_EXPORT.GRANT_EXP, but I am not sure who needs what grant.
    Could you please advise on how to resolve the issue?
    Thanks

    Hi,
    Can anyone help if possible please?
    Thanks

  • Fatal Error: Unexpected error from Microsoft HTML Compiler

    I'm using RH 6 with Vista (yes I know Vista is not supported,
    but I'm one of the few that has to have it, so I'm using the
    tweaked unsupported version)
    Sometimes when generating a CHM output (Compiled HTML Help)
    right after the "Compacting file system..." step I get an error
    that says "Fatal Error: Unexpected error from Microsoft HTML
    Compiler".
    I'm not sure what causes it. I don't get it all the time, but
    I seem to get it more often than not. However, it doesn't seem to
    do anything adverse to the compiled help file. Well, not that I can
    see anyway.
    Any information on what causes this and how I can fix it?

    If deletion of the CPD doesn't work, there seems to be more
    amiss in the HHP.
    Have you had a look at the new version of the HHP-file?
    Your missing images are due to another problem: I guess you
    have images linked to from imported topics. During import RH copies
    all necessary files to the appropriate relative locations, but it
    does not 'recognize' new folders created during this step. For the
    compilation RH copies all the stuff it thinks belong to the project
    to a temp folder, but 'unrecognized' files are ignored, thus
    missing in the compiled help.
    Use Windows explorer to note where linked images are situated
    and 'create' these folders within RH via the context menu of the
    Project Explorer's folders 'HTML Files' section. This way RH
    suddenly recognizes the folders and is able to handle the images
    therein.
    Perhaps some unrecognized folders are responsible for
    compiler crash, too?
    Regards
    ---Dirk Bock

  • Error: Request failed. unexpected response from server. the status code of response is '0' in safari browser

    Hi,
    I am using Javascript serializer to send server side code to javascript.
    This works in IE 9, Mozilla, chrome. But fails with error in Safari as "request failed. unexpected response from server. the status code of response is '0' . status text of the response is ". null
    My code is as below:
    <asp:UpdatePanel ID="panLayout" runat="server">
    <ContentTemplate>
    <div id="divloadingImage" >
    <br />
    <asp:Image ID="imgLoading" runat="server" ImageUrl="/images/rotate.gif" ImageAlign="Middle" />
    <br />
    </div>
    <div id="banner-fade" >
    <ul id="carousel" class="bjqs">
    </ul>
    </div>
    <asp:Timer ID="timerRSS" Interval="1" runat="server" ontick="timerRSS_Tick"></asp:Timer>
    </ContentTemplate>
    </asp:UpdatePanel>
    In CS:
    protected void timerRSS_Tick(object sender, EventArgs e)
    DisplayImages();
    divloadingImage.Visible = false;
    bannerfade.Visible = true;
    timerRSS.Enabled = false;
    private void DisplayImages()
    List<SharePointListItem> allImages = GetallImages();
    JavaScriptSerializer serializer = new JavaScriptSerializer();
    string json = serializer.Serialize(allImages);
    string script = string.Format("<script type=\"text/javascript\">var allSliderImages={0}</script>", json);
    if (!this.Page.ClientScript.IsClientScriptBlockRegistered("clientScripts"))
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScripts", script, false);
    string scriptRegister = string.Format("<script type=\"text/javascript\">FetchData();</script>");
    ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScriptData", scriptRegister, false);
    In Javascript:
    function FetchData() {
    if (typeof allSliderImages !== "undefined") {
    for (var i = 0; i < allSliderImages.length; i++) {
    Imagesuccess(allSliderImages[i].fileleafref, allSliderImages[i].filedirref, allSliderImages[i].caption1);
    var rota = $("#bannerfade");
    rota.css("display", "block");
    function Imagesuccess(fileLeaf, fileDir, UserCaption1) {
    var ul = $('#bannerfade > ul');
    var li;
    var filename = fileLeaf;
    var dir = fileDir;
    var caption1 = UserCaption1;
    var sfils = filename;
    filename = dir + '/' + filename;
    var imageCaptionData;
    if (caption1 != null && caption1 != "") {
    imageCaptionData = '<div class="HeadlineDiv">' + caption1 + '</div>';
    li = $('<li>' + imageCaptionData + '<div class="SubHeadline" style="color:white;">' + '<br/></div>' + '<img src="' + filename + '"/>' + '</li>');
    ul.append(li);
    $('#bannerfade').bjqs({
    height: 354,
    width: 970,
    responsive: true
    Below is the data I get:
    <script type="text/javascript">
    var allSliderImages=[{"id":"1","Title":"Scenic","caption1":"scenic","fileleafref":"02.jpg","filedirref":"/s/Test/Library"},
    {"id":"2","Title":"nature","caption1":"scenic2","fileleafref":"C034.jpg","filedirref":"/s/Test/Library"},
    {"id":"3","Title":"Tiff","caption1":"Tiff","fileleafref":"test_tiff.tif","filedirref":"/s/Test/Library"}]</script>
    The data is shown in all browsers except Safari. How to fix this?
    Update: I have checked this link: http://sharepoint.sureshc.com/2013/07/unexpected-response-data-from-server-in.html
    but that did not help.
    Thanks

    Hi,
    From
    this documentation, though SharePoint 2013 supports several commonly used web browsers including Apple Safari (latest released version), it is not guarantee
    that SharePoint 2013 can run perfectly on all these browsers, “certain web browsers could cause some SharePoint 2013 functionality to be downgraded, limited, or available only through alternative steps”.
    According to the code provided, it seems more relate to ASP.NET, therefore, a suggestion is that you can open a thread in ASP.NET forum, communities there will be more familiar
    with this issue:
    http://forums.asp.net/
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Oracle error ORA-39127 unexpected error from call to export_string

    Hi
    The export for an database encounters the following error .Can someone take a look at the cause please.
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_SERVER_ALERT_EXPORT.SYSTEM_INFO_EXP(1,dynconnect,'11.02.00.02.00',newblock)
    ORA-13914: Threshold notification failed.
    ORA-06512: at "SYS.DBMS_SERVER_ALERT", line 187
    ORA-06512: at "SYS.DBMS_SERVER_ALERT_EXPORT", line 132
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7418
    Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/PRE_TABLE_ACTION
    Regards

    There are a lot of similar errors on MOS, perhaps you should search through them and see if any apply to you.
    What version/patch level are you on? Have you made any grid control threshold modifications? Are you using procobol in an upgraded database?
    You might want to go through support for this one.

  • ORA-39127: unexpected error from call to

    Hi ALL.
    11.2.0.3
    Is this a bug?
    I got error when running expdp system/manager full=yes
    ORA-39127: unexpected error from call to "SYS"."DBMS_JVM_EXP_PERMS"."GRANT_SYSPRIVS_EXP"But it works fine on 11.2.0.1
    Any ideas and solutions please.....
    Thanks a lot,

    hello,
    You may look into the following My Oracle Support Document: DataPump Export (EXPDP) Failed On Identifier SYS.DBMS_JVM_EXP_PERMS Must Be Declared [ID 1095533.1]
    According to the document the versions affected are 10gR2 and 11gR1, but, the workaround may solve your issue.
    Hope it helps.

  • Unexpected error from Microsoft HTML compiler.

    when trying to complie my .mpj file into Microsoft HTML help,
    I get the following error message
    Unexpected error from Microsoft HTML compiler.
    any ideas about what to do to get my compiler to work
    properly?

    Please don't cross post. Only one post gets answered and
    anyone later searching then finds useless threads.
    Please add a link here to the post that has been answered.
    Also you duplicated the post in this forum. Please edit that
    too.
    You need to be a bit patient if nothing happens when you
    click the button to post. Trick is that if nothing happens copy you
    message to the clipboard and cancel the post. Sometimes it has
    taken, nothing else to do. Sometimes it has not so then create a
    new post using the clipboard.

  • Unexpected result from treenode.getPath() ???

    Hi,
    I am using Jtree in application.
    The tree is as following
    - Desktop
          -C:\
              - Folder1
              - File2
         - D:\I want to expend the node Folder1 as selected node. To do that I got the FileNode Folder1 and do
    TreePath path=new TreeaPath( folder1node.getPath() );
    int row=tree.getRowForPath(path);
    jtreetable.expend(row);
    But the problem is with the path returned. I must get the path [Desktop, C:\, Folder1] but I am getting path [Folder1].
    What I am doing wrong. Is there any other way to expend a particular node programatically ?
    Thanks

    Andy,
    You should contact support with regards to this issue. It is a known
    problem, you can reference CR042529.
    Cheers!
    Adam
    "Andy Kimbrough" <[email protected]> wrote in message
    news:3ae8b1f7$[email protected]..
    randomly I get the following error in my weblogic.log. The server stopsresponding and I get about a million of these entries, what is going on? I
    am running on Linux 6.2....<Error> <Posix Performance Pack>
    <mdw2.neomorphic.com> <myserver> <ExecuteThread: '49' for queue: 'default'>
    <><><00000><Uncaught Throwable in processSockets>java.io.IOException:
    unexpected result from poll: -1at weblogic.socket.PosixSocketMuxer.pool
    (Native Method)at weblogic.socket.PosixSocketMuser.processSocktesat
    weblogic.socket.SocketReaderRequest.executeat
    weblogic.kernel.ExecuteThread.executeat weblogic.kernel.ExceuteThread.run

  • SAP Personas: An unexpected behaviour has been detected and you have been disconnected – please log in again.

    Hallo everyone,
    We are installing Personas and facing several challenges.
    Personas 2 SP02 was installed according to instructions of Note '1848339 - Installation and Upgrade note for Personas' and configured according to the Config Guide v1.3 (rel. May 2014). The referenced notes were also applied as well as the 'How to config - FAQ' blog by Sushant.
    We are able to log on and execute transactions and perform activities successfully (e.g. SE80, SPRO, KB15, etc.).
    When trying to copy a screen the following error appears: 'An unexpected behaviour has been detected and you have been disconnected - please log in again.'
    Thereafter one can simply continue executing transactions without having to log in again.
    Please see the download of the error attached as per blog: SAP Screen Personas Support Tips – client side logging
    The HAR is unfortunately too large to attach. Are there any alternatives?
    Thank you in advance for you assistance!
    Kind regards,
    Daniel
    Message was edited by: Daniel K

    Hi,
    I have never worked on SAP PERSONA but you can try below things
    1)try to use different user or J2ee_admin since it might be same user multiple session case
    2) Try with different browser since plugins can behave unexpectedly
    3)Make entry in host file also
    4) check dev_icm logs
    5) check on ABAP side for dumps in ST22
    Warm Regards,
    Sumit

  • Cant send data to nike cause i tunes received unexpected response from server

    my workout can not be sent to nike+ because i tunes received an unexpected response from server

    Hi,
    From
    this documentation, though SharePoint 2013 supports several commonly used web browsers including Apple Safari (latest released version), it is not guarantee
    that SharePoint 2013 can run perfectly on all these browsers, “certain web browsers could cause some SharePoint 2013 functionality to be downgraded, limited, or available only through alternative steps”.
    According to the code provided, it seems more relate to ASP.NET, therefore, a suggestion is that you can open a thread in ASP.NET forum, communities there will be more familiar
    with this issue:
    http://forums.asp.net/
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Getting Error as Unexpected exception from plug-in (Execute)?

    Hi all,
    i was getting an plugin error when writing the data into CRM 2013 using CRM 2013 SDK from SSIS Package. i tried to find out the root cause by debugging and came to know that this is not data issue.seems something related to plugin or else. Can you please
    look at this error and suggest a way to proceed.
    error:
    Unexpected exception from plug-in (Execute): CTB.xRM.Plugins.Addressing.AddressLinesUpdatePlugin: System.Exception: An error occured during the AddressLinesUpdatePlugin
    Thanks &amp;amp; Regards, Anil

    this is not the plugin code that goes on error (CTB.xRM.Plugins.Addressing.AddressLinesUpdatePlugin)
    and you need to explain also what is doing your SSIS package and what does the plugin, and you can also try to debug the plugin first
    My blog: www.crmanswers.net -
    Rockstar 365 Profile

Maybe you are looking for

  • Update count is not refreshing in obiee11.1.1.7 after upgrade

    Hi Team, we have upgraded the obiee from 10g to 11.1.1.7 every this works fine except. when we are doing updated count for segment,Segment tree or priview List outputb File the query ends at back end but in the screen from where i clicked the update

  • COMPLETE BUTTON is not visible in OSA-HIGHER MANAGER WORKFLOW

    Hi Its pertaining to OSA, we have two level of appraisal Approval system. Employee-Manager and Higher Manager. The problem is when we send the Appraisal Document to Higher manager for completion of Document, the Complete button doesnt appear in BSP,

  • Seek help to format spool file from SQL*PLUS

    I am running a Unix shell script to call a Oracle 11g SQL script from a Oracle database. In this SQL script, I need to connect to many different remote databases to select data, then sool these records as one big text file to a directory. Then email

  • Upgrade WLC 5508 to ver 7.5

    hi, I need upgrade a WLC 5508 to ver 7.5.  we have  aironet 1242 AG y 1131 AG  and  I dont see any ver AP to join please, are there IOS to do these? thanks          RAHA [email protected]      

  • Approval Center - Report SSRS

    I would like to create a report (SSRS or Excel Services) that compares the data (Planned Work) of scheduling with data which send resources (Actual Work). That's what today is inadequate because it allows project managers complain that they can not s