Calling pageContext.redirectToDialogPage throws an error in 11.5.10.2

In my CO I have a call to pageContext.redirectToDialogPage to show a confirmation Dialog Page before I need commit a delete.
When I click afterwards on the Yes Button to confirm the delete I get the following error:
You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed.
Here is my code:
else if ("DESTDELETE".equals(pageContext.getParameter(EVENT_PARAM)))
// delete icon on destination has been pressed, will first ask confirmation
// from user via dialog page
// get parameters from delete event
String itiDestinationId = pageContext.getParameter("itiDestinationId");
String lineNum = pageContext.getParameter("lineNum");
String location = pageContext.getParameter("location");
// create warning message to be displayed on dialog page
MessageToken [] tokens = { new MessageToken ("LINE_NUM",lineNum),new MessageToken ("LOCATION",location)};
OAException mainMessage = new OAException("XXTRV",
"XXTRV_DEST_DELETE_WARN",
tokens);
// create dialog page
OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
mainMessage,
null,
String yes = pageContext.getMessage("FND","FND_DIALOG_YES",null);
String no = pageContext.getMessage("FND","FND_DIALOG_NO",null);
Hashtable formParams = new Hashtable(1);
formParams.put("itiDestinationId",itiDestinationId);
formParams.put("lineNum",lineNum);
formParams.put("location",location);
dialogPage.setOkButtonItemName("DeleteDestYesButton");
dialogPage.setOkButtonToPost(true);
dialogPage.setNoButtonToPost(true);
dialogPage.setPostToCallingPage(true);
dialogPage.setOkButtonLabel(yes);
dialogPage.setNoButtonLabel(no);
dialogPage.setFormParameters(formParams);
// Show dialog page to ask Delete of the destination line
pageContext.redirectToDialogPage(dialogPage);
I see the following error in the log files after pageContext.redirectToDialogPage(dialogPage);:
java.lang.Throwable
     at oracle.apps.fnd.framework.OACommonUtils.getCallStack(OACommonUtils.java:784)
     at oracle.apps.fnd.framework.webui.OADialogManager.redirectToDialogPage(OADialogManager.java:95)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.redirectToDialogPage(OAPageContextImpl.java:4290)
     at oracle.apps.xxtrv.claim.webui.ClmSimCO.processFormRequest(ClmSimCO.java:318)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
     at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2700)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
     at OA.jspService(OA.jsp:33)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
After clicking on the Yes button I see the following error messages in the log file:
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_FORM_POST_SECURITY_FAILED. Tokens: HOME = FND_GLOBAL_PRMPT_HOME;
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.throwSecurityException(OAPageContextImpl.java:9199)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkMACFormParameterSecurity(OAPageContextImpl.java:9104)
     at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkMACFormParameterSecurity(OAPageContextImpl.java:9088)
     at oracle.apps.fnd.framework.webui.OAKeyFlexHelper.processFormDataNew(OAKeyFlexHelper.java:247)
     at oracle.apps.fnd.framework.webui.OAKeyFlexHelper.processFormData(OAKeyFlexHelper.java:155)
     at oracle.apps.fnd.framework.webui.beans.layout.OATableLayoutBean.processFormData(OATableLayoutBean.java:358)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataNamedChildren(OAWebBeanHelper.java:1122)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1054)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormData(OAMessageComponentLayoutBean.java:531)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormData(OAHeaderBean.java:394)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.layout.OACellFormatBean.processFormData(OACellFormatBean.java:416)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.layout.OARowLayoutBean.processFormData(OARowLayoutBean.java:352)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.layout.OATableLayoutBean.processFormData(OATableLayoutBean.java:358)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(OAStackLayoutBean.java:356)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormData(OAPageLayoutBean.java:1574)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormData(OAFormBean.java:390)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(OAWebBeanHelper.java:1095)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1051)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(OAWebBeanHelper.java:1045)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(OAWebBeanHelper.java:769)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(OAWebBeanContainerHelper.java:669)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormData(OABodyBean.java:358)
     at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(OAPageBean.java:2567)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1701)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
     at OA.jspService(OA.jsp:33)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
     at java.lang.Thread.run(Thread.java:534)
Anyone an idea?
Thanks.

Marnix,
Things are quiet fine. Can u share your mail id, so that i discuss the same online. Send me at [email protected]
Regards,
Gyan

Similar Messages

  • Webservice being called multiple times throws strange error

    This is something that just started occurring and doesn't make much sense to me.
    Using JDK 1.7 and doing the following:
    FlashlineRegistryTr registry = new FlashlineRegistryTrServiceLocator().getFlashlineRegistryTr(lUrl);
    ((Stub)registry).setMaintainSession(true);
    I can call registry.authTokenCreate(USERNAME, CREDENTIAL);  ONCE and it works fine.  When I immediately call it again, same command, it fails with the exception below.
    The issue has to do with setting the Maintain Session to true.  If I remove that line it works fine, however I need that in there.
    Any thoughts on where to even begin to look? 
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: Tried to invoke method public com.flashline.cmee.openapi.databeans.AuthTokenBean com.flashline.cmee.openapi.service.FlashlineRegistry.authTokenCreate(java.lang.String,java.lang.String) throws com.flashline.framework.exception.OpenAPIException with arguments java.lang.String,java.lang.String.  The arguments do not match the signature.; nested exception is:
      java.lang.IllegalArgumentException: object is not an instance of declaring class
    faultActor:
    faultNode:
    faultDetail:
      {http://xml.apache.org/axis/}hostname:slc03rii.us.oracle.com
    Tried to invoke method public com.flashline.cmee.openapi.databeans.AuthTokenBean com.flashline.cmee.openapi.service.FlashlineRegistry.authTokenCreate(java.lang.String,java.lang.String) throws com.flashline.framework.exception.OpenAPIException with arguments java.lang.String,java.lang.String.  The arguments do not match the signature.; nested exception is:
      java.lang.IllegalArgumentException: object is not an instance of declaring class
      at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
      at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
      at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:392)
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
      at org.apache.axis.client.Call.invoke(Call.java:2748)
      at org.apache.axis.client.Call.invoke(Call.java:2424)
      at org.apache.axis.client.Call.invoke(Call.java:2347)
      at org.apache.axis.client.Call.invoke(Call.java:1804)
      at com.flashline.registry.openapi.service.v300.FlashlineRegistryTrSoapBindingStub.authTokenCreate(FlashlineRegistryTrSoapBindingStub.java:7676)
      at com.flashline.registry.openapi.MikeTest.setUp(MikeTest.java:131)
      at junit.framework.TestCase.runBare(TestCase.java:125)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    One possible solution is store the LOV values in some scope while retrieving it first time from the web service.
    Next time whenever LOV is called then return the LOV values from the scope instead of calling the web service.
    psedo code:
            if (ADFContext.getCurrent() != null &&
                ADFContext.getCurrent().getSessionScope().containsKey("LOV_LIST")) {
                LOVList =
                        (List<SelectItem>)ADFContext.getCurrent().getSessionScope().get("LOV_LIST");
            } else {
                LOVList = this.populateVendorListFromWS();
                ADFContext.getCurrent().getSessionScope().put("LOV_LIST",
                                                              LOVList );
            }Hope it helps.

  • UpdateVersion call from VersionManager  throws UnexpectedItemType error

    I tried to use updateVersion to update Comment of an current version. However
    I got a fault with the following exeption. I have no problem calling listVersions call.
    The source code is attached after the eror message. What could be problem?
    here 3
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: ORACLE.FDK.OperationError:ORACLE.FDK.UnexpectedItemType
    faultActor:
    faultNode:
    faultDetail:
    {http://xmlns.oracle.com/content/ws}fault:<detailedErrorCode xsi:type="xsd:string">ORACLE.FDK.UnexpectedItemType</detailedErrorCode><errorCode xsi:type="xsd:string">ORACLE.FDK.OperationError</errorCode><exceptionEntries xsi:type="ns1:ArrayOfFdkExceptionEntry" xsi:nil="true"/><info soapenc:arrayType="ns1:NamedValue[2]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><info xsi:type="ns1:NamedValue"><name xsi:type="xsd:string">ORACLE.FDK.INFO.Id</name><value xsi:type="soapenc:long">231304</value></info><info xsi:type="ns1:NamedValue"><name xsi:type="xsd:string">ORACLE.FDK.INFO.ExpectedItemType</name><value xsi:type="soapenc:string">VERSION</value></info></info><serverStackTraceId xsi:type="xsd:string"/>
    {http://xml.apache.org/axis/}hostname:picac22850c.pica.army.mil
    ORACLE.FDK.OperationError:ORACLE.FDK.UnexpectedItemType
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
    at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
    at oracle.ifs.fdk.FdkException.getDeserializer(FdkException.java:270)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
    at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
    at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
    at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
    at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
    at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1227)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:288)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
    at org.apache.axis.client.Call.invoke(Call.java:2748)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:2347)
    at org.apache.axis.client.Call.invoke(Call.java:1804)
    at oracle.ifs.fdk.VersionManagerSoapBindingStub.updateVersion(VersionManagerSoapBindingStub.java:941)
    at oracle.ifs.examples.ws.FolderOperations.addHistoryComment(FolderOperations.java:1073)
    at oracle.ifs.examples.ws.FolderOperations.main(FolderOperations.java:841)
    ------------ source code -------------------
    try
    // get the Manager instances
    System.out.println("here 2");
    setUp(hostname,port,user,password);
    FileManager fm = getFileManager();
    Item folder = fm.resolvePath(filepath,null);
    System.out.println("here 3");
    CommonManager cm = getCommonManager();
    VersionManager vm = getVersionManager();
    // version attributes request
    AttributeRequest[] version_attr =
    newAttributeRequestArray(
    newAttributeRequest(
    Attributes.VERSIONS,
    newAttributeRequestArray(new String[] {
    Attributes.VERSION_LABEL,
    Attributes.VERSION_COMMENT,
    // create manual version configuration definition
    NamedValue[] commentDef = newNamedValueArray(new Object[][] {
    { Attributes.VERSION_COMMENT, new String("This is a test") } });
    // set manual version configuration on the folder
    Item docs = vm.updateVersion(folder.getId(), commentDef, version_attr);
    // Item[] docs = vm.listVersions(folder.getId(), null, version_attr);
    log("folder manual version attributes");
    log(INDENT, cm.getItem(folder.getId(), version_attr));
    //log(INDENT,docs);

    You need to supply the id of the version instance to the vm.updateVersion call.
    You are currently supplying the id of the folder instance by the look of your code.
    try something like :-
          s_Logger.log("Looking up last version");
          file = commonM.getItem(file.getId(),
            CommonUtils.newAttributeRequestArray(
              Attributes.LAST_VERSION));
          Item last_version = (Item) CommonUtils.getAttribute(
            file, Attributes.LAST_VERSION);
          s_Logger.log(last_version);
          s_Logger.log("Updating last version comment");
          last_version = versionM.updateVersion(last_version.getId(),
            new NamedValue[]
              ClientUtils.newNamedValue(Attributes.VERSION_COMMENT," ... comment")
            }, null);
          s_Logger.log(last_version);cheers
    Matt.

  • Calling labview 8.2 Vi from teststand 3.5 throws an error

    calling labview-8.2 vi in teststand-3.5 throws the following error.
    In the development environment, where Teststand 3.5 and LabVIEW 8.2 are installed, teststand file doesnt throw any error. However when the same sequence is deployed in a machine that doesnt have teststand and labview. (Both Teststand runtime engine and Labview runtime engine) are installed in the end machine.
    Trying the execute the sequence in the end machine throws the following error
    "Error loading step 'Call LabVIEW measurement module for amplitude imbalance' of sequence 'MainSequence' in file 'TSG06-Amplitude Imbalance.seq'.
    LabVIEW:  VI version is later than the current LabVIEW version."
    Attachments:
    Error.JPG ‏26 KB

    Hi,
    Should have also asked this question before.
    What is your LabVIEW Adaptor set too on the target system. Use ActiveX Runtime Server or LabVIEW RTE. If its set to use the LaBVIEW ActiveX Runtime Server which can be either the Operator Interface or the seperate ActiveX Server, then these are probably built with an early labVIEW.
    If so you would need to rebuild the server you are using.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Javascript call themebasedfoi.centerToTheme() throws error

    Hello,
    i am developing a poc for a customer and i am really pleased how easy it is to get a map set up and running. The map is created with the javascript api and is running in a browser window. The target is to integrate the map in biee dashboard. And this is working fine too. But i have a problem, that could be a showstopper: i want to center the bounding box of the map around the selected fois. Ther selection of the fois ist realized by parameters in the url and this is working fine also.
    If i insert the line
    themebasedfoi.centerToTheme();
    nothing happens and the error console of my browser throws the error
    this._f249 is null
    http://intranetserver:7777/mapviewer/fsmc/jslib/oraclemaps.js <- Version: Ver11_B090225 Line 10769
    and
    Keine Elemete Gefunden (No elements found)
    http://myserver:7001/mapviever/mcserver <- my own mapserver
    My source to create the map is:
    <html>
        <head>
            <!--META http-equiv="Content-Type" content="text/html; charset:UTF-8"-->
            <script type="text/javascript" src="http://intranetserver:7777/mapviewer/fsmc/jslib/oraclemaps.js"></script>
            <script type="text/javascript">
                var baseURL = "http://myserver:7001/mapviewer";
                var baseMapEloc = null;
                var mapview;
                function display_map() 
                    baseMapEloc = new MVMapTileLayer("elocation.world_map", "http://intranetserver:7777/mapviewer/mcserver");
                    mapview = new MVMapView(document.getElementById("map"), baseURL);
                    mapview.addBaseMapLayer(baseMapEloc);
                    // var mpoint = MVSdoGeometry.createPoint(10, 51, 8307);
                    // mapview.setCenter(mpoint);
                    // mapview.setZoomLevel(4);
                    // mapview.addNavigationPanel("east");
                    // mapview.setHomeMap(mpoint, 4);
                    var themebasedfoi = new MVThemeBasedFOI('foi_partner','apexws_kpatenge.theme_partner_bi','https://secure_intranetserver/mapviewer/foi');   
                    themebasedfoi.setBringToTopOnMouseOver(true);
                    var country = getURLParameter("COUNTRY_PARAM");
                    var partner = getURLParameter("NAME_PARAM");
                    var city = getURLParameter("CITY_PARAM");
                    var parameters;
                    themebasedfoi.setQueryParameters(country,partner,city);
                    mapview.addThemeBasedFOI(themebasedfoi);
                    themebasedfoi.centerToTheme();
                    mapview.display();
                function getURLParameter (ParamName)
                    var strURLParamstrURLParamReturn = "";
                    var strHref = window.location.href;
                    if (strHref.indexOf("?") > -1 )
                        var strQueryStr = strHref.substr(strHref.indexOf("?"));
                        var aQueryStr = strQueryStr.split("&");
                        for (var iParam = 0; iParam < aQueryStr.length; iParam++ )
                            if (aQueryStr[iParam].indexOf(ParamName+"=")> -1)
                                var aParam = aQueryStr[iParam].split("=");
                                strURLParamReturn = aParam[1];
                                break;
                    return unescape(strURLParamReturn);
            </script>
        </head>
        <body onLoad="javascript:display_map()">
             <div id="map" style="width: 500px; height: 450px;"></div>
        </body>
    </html>With centerToTheme() i only get a gray square, without the map is displaying properly and with the setHomePoint() i get the right view for the map with no query parameters.
    I thank you in advance for every hint that helps me to solve this...
    Wolfgang
    Edited by: user10446099 on 25.03.2009 02:51

    Hi lqian ,
    Thank you for your answer. But now i get a gray square with the endless ticking clock. Could it be that the zoomToTheme() function is not able to work if the Base map and the themeBasedFoi are on different map servers? Because i am working on an intranet map server with a worldmap and an other intranet map server where i developed the themebasedfoi. And the map is working until i call setBoundingTheme(true).
    Perhaps i have to create a worldMap on the map server where i have development access?
    I think this code should work (slightly modified your code):
    var themebasedfoi;
    var baseMapEloc;
    function init_map(){
      //get the base map
      baseMapEloc = new MVMapTileLayer(...,myBaseMapServer);
      //create the theme:
      themebasedfoi = new MVThemeBasedFOI(...,...,myLocalDevelopmentMapServer);
      //setup your query parameters
      thembasedfoi.setQueryParameters(...);
      //tell MapViewer to automatically 'bound' the map extent to the results of this theme after it came back from server with FOI data:
      themebasedfoi.setBoundingTheme(true);
       //call the zoomToTheme function after the map is loaded
       themebasedfoi.addEventListener('after_refresh', center_map); // i got this from thread 875965 from melih you answered also
      //now add the theme to the MVMapView handle (which will initiate the theme AJAX request to the server):
      mapview.addThemeBasedFOI(themebasedfoi);
    function center_map()
       themebasedfoi.zoomToTheme();
    }Thank you so far :)
    Wolfgang
    Edited by: user10446099 on 25.03.2009 16:44

  • Editable ALV - how to throw an error message for a specific line & field

    Hi all,
    I've implemented an editable ALV and also the ON_DATA_CHECK event to check the values, entered in the ALV. So this works fine and I can check the values.
    But now, I want to throw an error message corresponding to the field in the ALV, where the error occured.
    How can I throw this error message corresponding to a specific line/field in the ALV?
    I was using REPORT_ATTRIBUTE_ERROR_MESSAGE and REPORT_ELEMENT_ERROR_MESSAGE but without success.
    I'm also using a loop over the "CHANGES" in the ALV and within this loop, I use
    elem_alv = node_alv->get_element( index = <change>-element_index ) 
    to get the element for the message.
    CALL METHOD lo_message_manager->REPORT_ELEMENT_ERROR_MESSAGE
      EXPORTING
        MESSAGE_TEXT              = 'my message'
        ELEMENT                   = elem_alv
    *    ATTRIBUTES                =
    *    PARAMS                    =
    *    MSG_USER_DATA             =
    *    IS_PERMANENT              = ABAP_FALSE
    *    SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CTXT_ELEMENT
    *    MSG_INDEX                 =
    *    CANCEL_NAVIGATION         =
    *    IS_VALIDATION_INDEPENDENT = ABAP_FALSE.
    2.) is it right, that for an editable ALV, I can't use the WDDOBEFOREACTION to do the checks?
    If I try to use this, I can't get the values of my ALV table to check it.
    Thanks,
    Andreas

    Hi Andreas,
    I have tried to replicate your problem and I am getting the desired output. I have a row by name TEMP_NEW in my ALV and I want to throw an error message whenever the user enters a value of 4 for that particular field. Please find my coding as below. The important thing is where we perform the actual comparison between the r_value and 4. r_value is defined in SALV_WD_S_TABLE_MOD_CELL as reference to type DATA. So suppose the user enters a value of say 3 in the TEMP_NEW field of the ALV then r_value would contain 3 but if you observe its type in debugging mode it would be as TYPE REF TO I and not TYPE I. So you cannot directly say something like:
    "if ls_modified_cells-r_value = 3" as this would lead to a syntax error. Define a field-symbol say <temp> and then use it to get the actual value into it by saying like:
    ASSIGN ls_modified_cells-r_value->* TO <temp>.
    Then you can use this <temp> for comparison in your IF statement like:
    IF  <temp> = 3.
    Find the entire coding as below:
    METHOD check_data.
      DATA: lr_node TYPE REF TO if_wd_context_node,
            lr_element TYPE REF TO if_wd_context_element,
            ls_modified_cells TYPE salv_wd_s_table_mod_cell.
      FIELD-SYMBOLS <temp> TYPE data.
    " get message manager
      DATA lo_api_controller     TYPE REF TO if_wd_controller.
      DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
      lr_node = wd_context->get_child_node( name = 'NODE' ).
      LOOP AT r_param->t_modified_cells INTO ls_modified_cells.
        lr_element = lr_node->get_element( index = ls_modified_cells-index ).
        IF ls_modified_cells-attribute = 'TEMP_NEW'.
    " Get the value extracted into the field symbol from the reference variable
          ASSIGN ls_modified_cells-r_value->* TO <temp>.
    " Use the value present in this field-symbol for your comparison
          IF  <temp> = 4.
    " report message
            CALL METHOD lo_message_manager->report_attribute_error_message
              EXPORTING
                message_text   = 'Sample message text'
                element        = lr_element
                attribute_name = ls_modified_cells-attribute.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    Hope this helps resolve your problem.
    Regards,
    Uday

  • Creation of Transfer Order takes a long time and finally throws spool error

    Hi,
    I create Sales Order of type OR. I do delivery successfully. But when i proceed to create Transfer Order, it takes painfully long time and finally after painful 30 mins or so, it throws a error message, 'Error in spool call' with a blank page. I click on save icon and transfer order is created.
    But the creation takes very long time. I checked SP01 and there are no requests.
    Any suggestions will be rewarded.
    Regards,
    Mangesh

    Dear,
              Kindly contact your Basis team it will help you.
             After error please take the screen short of SU53 and give to basis team.
    May be it will help you.
    Regards,
    Sandip

  • Got an (unlocked) iphone 4s from US and tried activating in India but it throws an error saying 'unable to activate bcos the activation server cannot be reached' ..I tried connecting to itunes through my laptop but it does not detect my iphone..pls help

    Got an (unlocked) iphone 4s from US and tried activating in India but it throws an error saying 'unable to activate bcos the activation server cannot be reached' ..I tried connecting to itunes through my laptop but it does not detect my iphone..pls help

    mithaani wrote:
    Got an (unlocked) iphone 4s from US
    As kb1951 states, unless this phone was purchased directly from Apple, it is not officially unlocked. In the US, only Apple sells officially unlocked iPhones. The message you got generally means your phone was hacked to unlock it...jailbroken...Apple's servers have detected such & are preventing your phone from activating...there's nothing wrong with the activation servers.
    You'll need a sim card from the carrier your phone is locked to in order to activate it. If you don't know what carrier, you'll have to call AppleCare in the US to determine this info. Be aware, US carriers will not authorize official unlocking unless you are a customer that used the phone on their network. Thus, there is most likely no way for you to get this phone officially unlocked.
    Good luck.

  • Optional Parameter - Oracle Package Throws an Error

    Hi there,
    I have an Oracle Package & it has a stored procedure with optional parameter. The calling code is in ColdFusion.
    When I run my webpage the Oracle throws below error.
    " [Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'GET_CONTRACT_BY_DYN_SQL' ORA-06550: line 1, column 7: PL/SQL: Statement ignored "
    Calling Code (ColdFusion)
    <cfstoredproc procedure="CONTRACTS_PKG.GET_CONTRACT_BY_DYN_SQL" datasource="#REQUEST.dsn#">
         <cfprocparam cfsqltype="CF_SQL_INTEGER" type="in" value="1" variable="P_CONTRACTID">     
         <cfprocresult name="qDataDynSQL" resultset="1">
    </cfstoredproc>
    <br>Dynamic SQL Query:
    <cfdump var="#qDataDynSQL#" label="Dynamic SQL Query">
    Oracle Package
    create or replace
    PACKAGE CONTRACTS_PKG AS
    TYPE T_CURSOR IS REF CURSOR;
    PROCEDURE GET_CONTRACT_BY_DYN_SQL(P_CONTRACTID IN NUMBER, P_COLS IN VARCHAR2 DEFAULT '*', IO_CURSOR IN OUT T_CURSOR);
    END CONTRACTS_PKG;
    create or replace
    PACKAGE BODY CONTRACTS_PKG AS
    -- Get Contract Using Dynamic SQL
    PROCEDURE GET_CONTRACT_BY_DYN_SQL(P_CONTRACTID IN NUMBER, P_COLS IN VARCHAR2 DEFAULT '*', IO_CURSOR IN OUT T_CURSOR)
    IS
    V_CURSOR T_CURSOR;
    V_SQL VARCHAR2(200);
    BEGIN
    IF p_contractid > 0 THEN
    V_SQL := 'SELECT '|| P_COLS || ' FROM CONTRACTS WHERE contract_id = ' || P_CONTRACTID ;
    ELSE
    V_SQL := 'SELECT '|| P_COLS || ' FROM CONTRACTS';
    END IF;
    OPEN V_CURSOR FOR V_SQL;
    IO_CURSOR := V_CURSOR;
    END GET_CONTRACT_BY_DYN_SQL;
    END CONTRACTS_PKG;
    Does anyone knows why it throws an error? As you can see in the package header & body the parameter P_COLS has the default value as '*'.
    Looking forward to hear from someone.
    Thanks,
    Hitesh Patel

    931198 wrote:
    I have an Oracle Package & it has a stored procedure with optional parameter. The calling code is in ColdFusion.
    When I run my webpage the Oracle throws below error.Never mind the error - your approach is most definitely a candidate for Oracle WTF.
    Nothing sane about this approach. Especially the decision not to use bind variables and slowing down cursor processing significantly by burning a lot more CPU cycles on hard parsing and fragmenting the SQL Shared Pool in the process.
    Why not used MS Access instead? It is far more suited as a mickey mouse database for a goofy application?
    Why am I badmouthing your approach to Oracle? Because that is exactly the primary cause, the #1 reason, for poor Oracle performance and run-time problems dealing with Shared Pool fragmentation. It is something that many Oracle experts blog about, talk about, write about. It is addressed in numerous books, Oracle documentation, and even Oracle Support Notes.
    And despite the amount of information available on how to get the basics rights in using Oracle... this approach you are pursuing still refuses to die. So it deserves to be beaten with a lead pipe when it rears its ugly head here in this forum..

  • Passing values to subreport in SSRS throwing an error - Data Retrieval failed for the report, please check the log for more details.

    Hi,
    I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
    when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
    Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
    so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
    Could you please advise on this.
    Appreciate all and any help.
    Thanks,
    Divya

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Posting Debit Memo (SO) through IDOC throwing V1213 error msg.

    HI Guys,
                 Debit Memo has been created using the idoc.
    Getting the error status in IDOC - 51 - Message V1213 - Condition ZR00 is not allowed as header condition
    I am using custom BAPI using SD_SALESDOCUMENT_CREATE FM inside it.
    The error is thorwn by PRICING_CHECK FM.
    Ironically the idoc is posting successfully when there is only one item, if its more than one.. throwing error V1213.
    When I debug it, PRICING_CHECK FM is the culprit.
    PRICING_CHECK FM  is called 2 times, one per item. During first call the item No. komp-kposn = 0010,
    in 2nd call  komp-kposn = 0000. thats why its throwing this error in the first place.
    But why the item value is 0, during 2nd call.. no idea.. !
    Interestingly VBKD table stores the item 0010 and 0000 in its entries.. when I force it to posting successfully in debug mode.
    Entries in VBAP are normal.
    But when I create the debit memo manually with 2 items, its posting without an error. its accepting condition type ZR00.
    Now I turn on the header condition in V/06 for testing purpose only. Now its posting for more than one item..
    But I can't turn it on permanantly, as its not recommended by business.
    but its posting coreectly in other system where header condition is turned off. !!
    Thanx for Ur time..
    Cheers

    In SD/LE tables, posnr (item) no. 0 refers to the header.  So, in VBKD, if you have 0000 and 0010, the SO has one and only one item.  In your case, obviously, ZR00 is not intended to be a header condition and can only be applied at the item level... and the only item to which the condition can be applied is 0010.

  • MSS Requisitions is not moving to Recruiter's POWL and system is throwing the errors.

    Hi everyone,
    Hope all are doing in good spirit.
    I have an issue in regards with Requisition Creation and its related process.
    I am working in Standalone architecture where Recruiting server is in another instance apart from HR system.
    We are using WS45600028 standard workflow.
    When Manager submits the Requisition to higher level manager to approve, its done successfully and the notification is going to the Manager. But after approval, Requisition is not going to Requiter's POWL queries.
    I have maintained Support Group, Lead Recruiter in it and assigned this to Requisition.
    I have checked HRP5131 table. But there is no SOBID which sould be flaged as Lead Recruiter.
    When Higher level Manager approves the Requisition, It is successful bu there is an error in slg1.
    Error: Error when ending the Work item 0000007704 in HR system.
    The system returned the call of interface SAP_WAPI_WRITE_CONTAINER in this context
    System Response:
    Call ended with an error. The function was not executed.
    Procedure: Remove call.
    At the same system is throwing the error for the User (This user is used for RFC creation using with transaction SM59): No candidate for this User.
    Details of error: The error occurred in program CL_HRRCF_CANDIDATE_ADMIN_BL===CM00B line 77
    Procedure for system administration:
    Check the context in which the error occurs.
    Since it it probably program error and not an input error, you should contact SAP.
    Can you please look into the above issue and address me if you have any solution for the same.
    Any help would be greatly appreciated.
    Thank you.
    Regards,
    Sekhar

    Hi Nicloe,
    Thank you very much for your response.
    I have done the data transfer from HR system to E-Rec system through ALE iDoc using PFAL.
    All the is transferred and corresponding NA, CP, BP generated in E-Rec for P.
    All the users(Recruiter, Managers and Recruiting Admin) data have transferred to E-Rec System.
    But when Manager is creating the Requisition Request, it going to his higher level manager for approval and its been approved successfully. Later it is not updating the Recruiter's POWL.
    In DB table HRP5125 Requisition data is created but with only few details like Start and End date, Object ID. in E-Rec system.
    In HRP5131, NB related data is there but there is no SOBID for lead Recruiter.
    Immediately i am getting errors in both HR and E-Rec systems as follows after the Requisition got approved.
    In HR system, Error when ending the Work item 0000007704. Workflow completed successfully but still here is an error.
    In E-Rec systemThe error occurred in program CL_HRRCF_CANDIDATE_ADMIN_BL===CM00B line 77.
    And system says, Since it it probably program error and not an input error, you should contact SAP.
    I heard that there might be an inconsistency in NA, BP, CP when we do PFAL transaction for data transfers. Can you suggest me to raise SAP ticket in this context?
    Or Did i miss any configuration in this connection?
    What can be done now to fix this? I am working EHP 5 and SP level is 11.
    Can you please let me know. Kindly help me out of it as i am struck with this since very long time.
    Thank you.
    Regards,
    Sekhar

  • WriteDomain( dir ) does not throw an error!

    we are trying to automate our domain creation using wlst. If there is an error in the script we expect our program to throw an error such that we can take some preventive measures. That said, we have such script that loads a template and writes the domain to a directory. If for some reason writeDomain fails it does not throw an error!. Which lets our script continue and fail miserably later.
    Is this a bug??
    Thanks,
    /pete

    I have not had that problem. In my script (using WLST on WebLogic 8.1sp5 on Solaris 9) I specified a directory that my user could not create and the return code to UNIX was 255:
    Trace:
    INFO: Writing domain
    Error: writeDomain() failed.
    Traceback (innermost last):
    File "/usr/local/met/btwlst/0_50/bin/load_template.py", line 78, in ?
    File "initWls.py", line 70, in writeDomain
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.
    plateng.domain.GenerationException: Unable to create domain directory: /wls_domain/ecommware2a
    at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHan
    dler.java:33)
    at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:897)
    at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:465)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
    at org.python.core.PyMethod.__call__(PyMethod.java)
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx0.writeDomain$14(initWls.py:70)
    at org.python.pycode._pyx0.call_function(initWls.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyFunction.__call__(PyFunction.java)
    at org.python.pycode._pyx3.f$0(/usr/local/met/btwlst/0_50/bin/load_template.py:78)
    at org.python.pycode._pyx3.call_function(/usr/local/met/btwlst/0_50/bin/load_template.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.__builtin__.execfile_flags(__builtin__.java)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
    at com.bea.plateng.domain.script.jython.WLST_offline.main(WLST_offline.java:67)
    Caused by: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.GenerationException: Unabl
    e to create domain directory: /wls_domain/ecommware2a
    at com.bea.plateng.domain.script.ScriptExecutor.runGenerator(ScriptExecutor.java:2143)
    at com.bea.plateng.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:531)
    at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:459)
    ... 21 more
    Caused by: com.bea.plateng.domain.GenerationException: Unable to create domain directory: /wls_domain/ecomm
    ware2a
    at com.bea.plateng.domain.DomainGenerator.generate(DomainGenerator.java:137)
    at com.bea.plateng.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2120)
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: com
    .bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.GenerationException: Unable to create do
    main directory: /wls_domain/ecommware2a
    Script Exit code = 255

  • Help- Components Throwing Compile Errors

    Thank you for reading my issue. I am using Flash CS3.
    Recently, all my projects began throwing compile errors for
    standard component AS3 code.
    UI Component, FLVPlayback.
    I have uninstalled and reinstalled Flash CS3, but to no
    avail. Problem persists
    I keep getting errors involving "QNAN", which I think
    involves trapping for a non-numeric value, or something.
    As a test, I created a new Flash doc, placed an instance of
    FLVPlayback on the stage, pointed it to a .FLV file in the same
    directory.
    Errors on compile:
    1093: Syntax error.
    1084: Syntax error: expecting rightparen before QNAN.
    1093: Syntax error.
    1084: Syntax error: expecting rightparen before QNAN.
    And so on, I get 5 sets of the same errors for different
    functions.
    The first offending function above reads:
    function queueCmd(param1:VideoPlayerState, param2:Number,
    param3:Number = 1.#QNAN) : void
    if (param1.cmdQueue == null)
    param1.cmdQueue = new Array();
    }// end if
    param1.cmdQueue.push(new QueuedCommand(param2, null, false,
    param3));
    return;
    }// end function
    I get similar errors from my UI component AS3 as well.
    I have not touched the shipped AS3 for these components. What
    gives?
    Any ideas?
    Thanks
    Tim

    Thanks, by the way to everyone who has offered thoughts so
    far.
    xchanin - I've encountered issues with the FLVPlayback
    component as well as various of the UI components.
    I tried some example applications (from the web) not too long
    ago and this issue popped up shortly there after.
    But, I'm having issues with even a simple Flash with a single
    FLVPlayback instance and one .flv.
    There is nothing in the class path for my test file and the
    root .as files open from the Flash install when I click the compile
    errors in the output window.
    So, it really looks like I somehow corrupted those files. I
    read a post somewhere that someone had "strange invisible
    characters" show up in their .as that were throwing errors.
    I thought a clean install would do the trick.
    I may completely isolate the example files I was using and
    try another reinstall... that's about all I can think of at the
    moment.
    This has been a couple week search for a solution. I have a
    real project coming up an need to solve this.
    Thanks for any input! (I assume I can't call Adobe for an
    assist as I'm still on CS3 ;)
    Tim

  • VerifyDatabase() throws "No Error"

    We have an application that loads a particular CR report based on an id at run time, passes in arguments, and saves the resultant report as a pdf to a file share.
    Running on: windows server 2008R2 Standard
    Targeting: .Net 4.5
    Using Crystal Reports for .Net support pack 8 (32 bit) -- Note the OS is 64bit, but the application runs in 32 bit mode.
    Connection to SQL 2008R2 databases
    The process works fine on the QA application server connecting to the QA database.
    It also works when running the application from a Dev machine connecting to QA or Prod Databases.
    but when run on the Prod Application server connecting to the Prod Databases
    the following line of code:
    CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.VerifyDatabase()
    throws this error:
    System.Runtime.InteropServices.COMException (0x80000000):  No error
    Any help with this error anyone could provide would be very much appreciated.
    Thank You
    Chris

    The app server and sql databases are on different servers.
    if i removed the VerifyDatabase call, i got the same error on the next attempt to communicate with the database.
    i figured out the in my case, the error was that SQL Server Native Client was not installed on the production application server.
    installed SQLNCLI10.dll fixed the issue for me.
    thank you for your help.

Maybe you are looking for