Stackoverflow error with JAXB

I tried to create JAXB objects for a schema in our project. I got Stackoverflow error when an element maxOccurs is 999. I tried by increasing stacksize to "1024mb" and using java -Xss1024m in xjc.bat file but still getting the same error. But maxOccurs worked upto 390. Can someone help me to fix maxOccurs="999" issue? I am using JAXB 1.0 that came with JWSDP 1.6.
Thanks

Sorry, I can not post entire schema for some restrictions. Here is the element which is failing <xs:element name="ServiceLine" type="LineLevelInfo" maxOccurs="999"/>. "unbound" or maxOccurs < 390 worked fine. Hope this would help you. Can you make "999" to work?
Thanks

Similar Messages

  • Namespace error with JAXB

    Hello everyone! This is my problem:
    I am using jaxb to unmarshall a xml file. When I unmarshall, the program doesn�t work at this point:
    JAXBContext jc = JAXBContext.newInstance("com.claynet.core.clom");
    Unmarshaller u = jc.createUnmarshaller();
    u.setValidating(true);
    Clom clom =
    (Clom)u.unmarshal(
    new FileInputStream( ".." + File.separatorChar +
    "webapps"+ File.separatorChar + "claybrary" + File.separatorChar
    + "objetosCLOM" + File.separatorChar + file_name.trim()) );
    The error I get is the following one:
    javax.xml.bind.UnmarshalException: Probably namespace URI of tag "clom" is wrong (correct one is "http://www.clayformacion.com/xsd/clomv1.0")
    - with linked exception:
    [com.sun.msv.verifier.ValidityViolation: Probably namespace URI of tag "clom" is wrong (correct one is "http://www.clayformacion.com/xsd/clomv1.0")]
    The problem seems to be a conflict with the namespace, but the schema has the namespace correctly set:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:clom="http://www.clayformacion.com/xsd/clomv1.0" xmlns="http://www.clayformacion.com/xsd/clomv1.0" targetNamespace="http://www.clayformacion.com/xsd/clomv1.0" elementFormDefault="qualified">
    The validation inside the unmarshalling crash.
    Is there any errors with the code? Can Anyone help me?
    Thanks

    Looks like error is clear namespace mismatch...try changing the following url in wsdl and regen the code
    http://example.ws found http://example.ws/xsd

  • BUG: OJC produce internal error with JAXB 2.0 src

    Hello,
    the OJC of JDev 10.1.3.0.4.36.99(Service Update 1) has problems with the src of the RI of JAXB 2.0.
    The JAXB 2.0 uses generics, polymorhy and a lot of annotations.
    To test my problem take the src from:
    https://jaxb.dev.java.net/jaxb20-ea3/JAXB2_src_20051223.jar
    or take the new nightly build src from:
    https://jaxb.dev.java.net/servlets/ProjectDocumentList?expandFolder=460&folderID=3074
    Than change the ant build.xml to use the OJC or make a project in JDeveloper.
    After you had started the build, you will find a lot of interesting messages.
    Retry the build in JDev and some messages will change.
    Regards.

    Thanks for reporting this. We've logged a bug to track the issue: 5018566
    -- Brian

  • StackOverFlow error while using TaskFlow

    Hi,
    Iam pretty new to adf jdev...
    1. I have created the fusionWeb apllication
    2. i have created two jspx pages in viewcontroller project
    page1: GoTo_Test.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view locale="#{applCorePrefs.locale}">
    <af:document id="d1">
    <af:form id="f1">
    <af:commandButton text="Enter Your Name" id="cb1" action="go"
    partialSubmit="true" blocking="true"
    useWindow="true"
    windowHeight="#{requestContext.agent.agentName == 'ie' ? 500 : 300}"
    windowWidth="#{requestContext.agent.agentName == 'ie' ? 550 : 550}"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    page2: Test.jspx
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view locale="#{applCorePrefs.locale}">
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="Name" id="it1"/>
    <af:commandButton text="Submit" id="cb1" action="close"
    partialSubmit="true" blocking="true"
    immediate="true"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    3. i have created two task Flows
    Taskflow1: OuterTF.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="OuterTF">
    <default-activity id="__37">Goto_Test</default-activity>
    <view id="Goto_Test">
    <page>/Goto_Test.jspx</page>
    </view>
    <task-flow-call id="Test_chrome">
    <task-flow-reference>
    <document>/WEB-INF/Test_chrome.xml</document>
    <id>Test_chrome</id>
    </task-flow-reference>
    </task-flow-call>
    <control-flow-rule id="__31">
    <from-activity-id id="__32">Goto_Test</from-activity-id>
    <control-flow-case id="__34">
    <from-action id="__36">go</from-action>
    <from-outcome id="__35">go</from-outcome>
    <to-activity-id id="__33">Test_chrome</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </task-flow-definition>
    </adfc-config>
    TaskFlow2: Test_chrome.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <task-flow-definition id="Test_chrome">
    <default-activity id="__1">Test</default-activity>
    <view id="Test">
    <page>/Test.jspx</page>
    </view>
    <task-flow-return id="close">
    <display-name id="__19">close</display-name>
    <outcome id="__18">
    <name>close</name>
    </outcome>
    </task-flow-return>
    <control-flow-rule id="__20">
    <from-activity-id id="__21">Test</from-activity-id>
    <control-flow-case id="__23">
    <from-action id="__25">close</from-action>
    <from-outcome id="__24">close</from-outcome>
    <to-activity-id id="__22">close</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    </task-flow-definition>
    </adfc-config>
    when i run the GoTo_Test.jspx, then getting page with button, but "StackOverFlow error" is getting when the button is clicked
    Please help me out
    Edited by: user13177987 on Nov 19, 2010 3:37 AM

    user13177987 wrote:
    page1: GoTo_Test.jspx
    <f:view locale="#{applCorePrefs.locale}">
    page2: Test.jspx
    <f:view locale="#{applCorePrefs.locale}">The problem is the locale attribute value for the f:view. It runs fine once removed. Don't know what is the applCorePrefs bean and how it was added to the pages...

  • StackOverFlow error from JVM

    When I tried to read from a sorted text file and insert words of the file into a BinarySearchTreeMap, I get a StackOverFlow error from java virtual machine in Windows. The sorted text file is 144kb. Apparently, all my classmates have this problem even though their code are correct. The program works fine for smaller text file, however I need to test with a large text file, so I can compare the run time complexities of different algorithms. Anybody knows a way to fix this?

    You can set the stack size using the -Xss parameter.
    Type
    java -X
    for a list of extended parameters.
    Try
    java -Xss64k <rest of your parameters >
    java -Xss128k <rest of your parameters >
    java -Xss172k <rest of your parameters >
    etc, until it works.
    regards,
    Owen

  • StackOverFlow error in ALSB

    We have one proxy service which picks emails from a mailbox.Then its publishes the message to a jms queue.We have another proxy service which picks the message from the JMS queue and using a java callout we parse the plain text message to XML.It was working fine until we deploy it in PROD.But when we deploy the jar in prod,it was working for fine for two days.After two days,we were getting the following error message
    ####<Feb 8, 2010 3:57:00 PM CST> <Error> <ALSB Kernel> <AUSPC1SOAESB005> <Server6> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-2F5F1C38748CD40072AA> <> <1265666220900> <BEA-382016> <Failed to instantiate router for service ProxyService ISPCase/ProxyServices/Case/ProxyAEHCaseCreation: java.lang.StackOverflowError
    java.lang.StackOverflowError
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:164)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
    >
    If we restart all the manged servers in PROD,it works only for two or three days and after that we get the same StackOverFlow.We thought that the Java callout might be the culprit and we replaced the java callout with an xquery.But after deploying prod,we get the same StackOverFlow.But we are not able to reproduce the same issue in non prod.How can we avoid the StackOverFlow error?Is it because of the Javacallout or Xquery?Please suggest.

    We have one proxy service which picks emails from a mailbox.Then its publishes the message to a jms queue.We have another proxy service which picks the message from the JMS queue and using a java callout we parse the plain text message to XML.It was working fine until we deploy it in PROD.But when we deploy the jar in prod,it was working for fine for two days.After two days,we were getting the following error message
    ####<Feb 8, 2010 3:57:00 PM CST> <Error> <ALSB Kernel> <AUSPC1SOAESB005> <Server6> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-2F5F1C38748CD40072AA> <> <1265666220900> <BEA-382016> <Failed to instantiate router for service ProxyService ISPCase/ProxyServices/Case/ProxyAEHCaseCreation: java.lang.StackOverflowError
    java.lang.StackOverflowError
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:164)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
         at weblogic.xml.query.types.XQueryTypeSeqNode.toString(XQueryTypeSeqNode.java:173)
    >
    If we restart all the manged servers in PROD,it works only for two or three days and after that we get the same StackOverFlow.We thought that the Java callout might be the culprit and we replaced the java callout with an xquery.But after deploying prod,we get the same StackOverFlow.But we are not able to reproduce the same issue in non prod.How can we avoid the StackOverFlow error?Is it because of the Javacallout or Xquery?Please suggest.

  • Error compiling jaxb classes

    Hello!
    This is my first pass through the world of jaxb. I have a schema; I compiled it into a bunch of classes. One of them has an error.
    In this declaration:
    public class MSVValidator implements XMLSerializer, IDContextProvider2 {My IDE (Eclipse) has some heartburn with the IDContextProvider2 interface. The error message is as follows:
    The type org.relaxng.datatype.ValidationContext cannot be resolved. It is indirectly referenced from required .class filesIt has a point. I can't find it in any of the 4 libs that come with jaxb (jaxb-api.jar, jaxb-impl.jar, jaxb-libs.jar, jaxb-xjc.jar). I know I'm not supposed to decompile class files, but if I were to decompile this one I feel sure I would find:
    import org.relaxng.datatype.Datatype;
    import org.relaxng.datatype.ValidationContext;do I just need to go out and find the proper support lib, or is this a flag that I'm using an out-of-date set of libs, or ????
    I'm pretty sure that I can fix this by throwing libs at it, but if that's not the right answer I'd like to find out the right answer.
    Thanks in advance - dan fox

    it does have a point because you need to add more than those 4 .jar files to comple the jaxb generated classes....for example you need relaxngDatatype.jar file from the jwsdp-1.5\jwsdp-shared\lib folder. if you aren't using the jwsdp then you need to download these extra jars.... find out where the xjc.bat is getting its classpath and get the all the jars from there....
    good luck

  • Validating datatypes with JAXB while unmarshalling

    Hi,
    is there in JAXB any method to check correct datatypes while JAXB unmarshalling
    For example, I tried to unmarshall an xml file to objects and in on element of this XML file there was the data "AAAA"
    <testElement>AAAA</testElement>
    in the XSD Shema this element was declared as type Integer.
    After unmarshalling the xml doc I've got an Object with an Attribut testElement which has the value "0" ... so can I test
    type while unmarshalling an throw an exception?
    Thanks a lot for your help!
    with best regards
    Rene
    Forget it ... problem almost solved ...
    Edited by: Gambler79 on Mar 10, 2008 2:48 PM

    I'm having what I think is a related problem to what's mentioned in this thread. Has anyone successfully used targetNamespace with JAXB? Below is the sample schema and xml I'm trying to unmarshal via JAXB version 1.02. Any help would be greatly appreciated.
    This is the schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://foo.com/repository/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://foo.com/repository/"
    elementFormDefault="unqualified"
    attributeFormDefault="unqualified">
    <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
    <xsd:complexType name="PurchaseOrderType">
    <xsd:sequence>
    <xsd:element name="poText" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ====================================
    This is the XML:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <purchaseOrder xmlns="http://foo.com/repository/">
    <poText>foo</poText>
    </purchaseOrder>
    ====================================
    After calling unmarshal (with appropriate namespace), I get:
    DefaultValidationEventHandler: [ERROR]: Unexpected element {http://foo.com/repository/}:poText
    Location: line 3 of file:/C:/project/dev/prototype/repository/example/query.xml
    javax.xml.bind.UnmarshalException: Unexpected element {http://foo.com/repository/}:poText
    Can someone please let me know what I'm doing wrong here?
    Thanks.
    --S.

  • Frustrated with JAXB...

    So I'm getting a strange internal error in JAXB, when I try to get a new instance from the JAXBContext
    context ="asb.msgLogReport";
    JAXBContext.newInstance(context);
    I've double checked the jar file that I included, and yes the package & subpackage match exactly to what I'm passing the JAXB context.
    Here's the error:
    com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
    asb.msgLogReport.impl.runtime.DefaultJAXBContextImpl does not have a no-arg default constructor
         this problem is related to the following location:
              at asb.msgLogReport.impl.runtime.DefaultJAXBContextImpl
              at asb.msgLogReport.ObjectFactory
    at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:66)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:309)
         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:179)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:70)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:50)
         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:118)
         Any clue what could be causing the problem?
    Thanks, I appreciate any help.

    Interesting bug - apparently, after comparing the way I jarred up my files with the way a coworker did it, there are 2 props files generated by jaxb
    bgm.ser and jaxb.properties
    When I jarred up the files, I noticed all the classes were there but NOT the 2 properties files. Once I added them, jaxb context's newinstance method worked just fine.
    So I guess the lesson is be careful what you jar up.

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • Odd Error with decode function in Order By Clause

    I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
    select task_id, display_date, remark_id from task_list
    where task_id > 1000
    order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
    returns the error:
    select task_id, display_date, remark_id from task_list
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected NUMBER got DATE
    I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?

    I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
    The Order by was rewritten like this:
    order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
    decode(pSort, 'Remark_ID',Remark_ID);
    Thanks

  • XML Publisher Error with reports published in XML publisher

    Hi All,
    I am geting the following error with a report published using XML Publisher
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
    How can i Rectify this?

    Hi Ark,
    In order to generate a report using xml publisher. we need the following.
    1. XML Data
    2. Template file (RTF/PDF/..)
    XML data will not be created by the template file.
    We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
    Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
    Thanks,
    K.Nataraja Suthan,

  • Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)

    Hi,
    I bought Mainstage 3 for my MBP (15'' 2011).
    When i click con "perform" i get graphic errors.
    I have the same issue with the old Mainstage version since Mountain Lion.
    Also a fresh installation didn't help.
    I think i'm not the only one with this issue!
    I don't know how to report a bug?
    Perhaps someone can help me.
    (and  I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
    /forgotten ebi
    So, here an example how it looks like when i click on "perform":

    Same configuration,same problem. BUT I found a workaround.
    Mainstage has this error with the AMD video card and/or a second monitor connected.
    With a little app (http://gfx.io)  it's possible to really force the MBPro to use the Intel Graphics card.
    This will work only with the internal screen, not with a second screen connected.
    And sometimes you need to restart, to really make the Intel video card free.
    This works fine...In the meantime of a fix.

  • Error with an infoset in BI

    HI BI gurus,
    we have a problem with an infoset.
    We create an infoset in RSA1 linked to a cube and a DSO.
    We activate it in english without problems and I can create a query with no errors (with a english logon).
    If I try to create a query in italian language the query designer show mw this error: " unexpected error - RCF_SYSTEM_FAILURE. You must restart the query designer."
    Do you have any idea how to fix and solve this problem? We try to activete the infoset in Italian but the error remains.
    Thanks for any help.
    SB

    Hi,
    is italien installed as a language in your system?
    Siggi

  • I am trying to download my photos from my iphone to my mac-iphoto. It keeps trying but about halfway through it says there is an error with a photo therefore it wont download any of my pictures or videos.  It wont tell me which picture is the issue.

    I took a lot of pictures and video on my recent trip to Ireland.  Now I am trying to download the photos and videos from my iphone to my mac - iphoto.  I have tried 3 times and each time (at a different point) I get a message telling me that there was an error with one of my photos and it wont load the pictures.  Help!!

    Try using Image Capture to download to a folder on the Desktop.  If there's a damaged file on the iPhone that's preventing the download you can isolate it with Image Capture and then delete it from the iPhone.

Maybe you are looking for

  • Error while downloading PDF file from FTP Server

    Hi Friends, I have sent a PDF file with data to FTP , Then i want to check that uploaded pdf file , whether that is correct or not? for that , i have downloaded that file from FTP and i am trying to open the file . but it is giving this problem . "Th

  • Looking for a way to switch views using Javascript

    Hi ! I'm currently studying Acrobat 3D. <br /><br />I've got a PDF document with a 3D Annotation, which was imported from a U3D file. I defined 3 views : "initial", "front" and "top".<br /><br />My problem is that I'm looking for a way to switch view

  • Features request for belle fp2

    I have nokia 808. I use an auto number lock to protect my phone (settings -> phone -> phone management -> security settings -> phone and SIM card -> phone auto lock period). While on a call, phone lock itself and I don't get the full call menu eg. Th

  • Java App from SAP Portal - SSO2Ticket call - java.lang.UnsatisfiedLinkError

    Hi I am facing a problem in trying to call a java application from SAP portal. *Cause:* This java application is built on Unix (AIX) server. Previously it was running fine. Then there is a Tech Upgrade on SAP side in our company. After that I have be

  • Customer Exit in CMOD

    Hi Experts,   I have written the below customer exit (variable) in CMOD that show all the entries < Sys Date...... But i need to enhance it to include entried < Sys Date and Entries with no date date value (not assigned ,#) Please update me how to pr