Trying to use exportData method during preSave event

Hi,
I'm using LiveCycle Designer ES2 and Acrobat X Pro. I'm trying to create a PDF form that will import and export data from an XML file - specifically, import upon opening the form, and export upon saving the form. The document will be very limited in scope so I have it certified. The users of the form also have the latest Adobe Acrobat. The users should not be aware of the importing and exporting - they are only going to be saving the document.
I was able to get the form to import the data successfully with the following code:
topmostSubform.Page1::docReady - (JavaScript, client)
     xfa.host.importData("document_data.xml");
However, I cannot get this to work:
topmostSubform.Page1::preSave - (JavaScript, client)
     xfa.host.exportData("document_data.xml");
When I save the PDF from Acrobat, nothing happens and the Javascript Debugger reads:
RangeError: Invalid argument value.
Doc.exportXFAData:-1:XFA:topmostSubform[0]:Page1[0]:preSave
I tried adding 0 as an optional second argument to the function that indicates the format is XML, but the problem was the same.
I also tried seeing what happened when I used FormCalc code, and a very vague message comes up when I try to recertify and save:
"Script failed (language is formcalc; context is xfa[0].form[0].topmostSubform[0].Page1[0])
script=xfa.host.exportData("document_data.xml")
Error:         " [no error message]
If what I'm trying to do is impossible for whatever reason, another solution would be for the PDF to import the data only the first time it's opened, and then just keep any modifications saved within the PDF. This was actually the first thing I tried to do, but I couldn't figure out how to make that work without putting a button on the form (seems like a waste of space since the button would only be used once).
I'd greatly appreciate any ideas or advice!

If you supply a filename (and path) to the exportData() method, you will need to certify the form in order to have it work.  In this case, Preserving script changes cannot be automatic. saving a file silently is a secrity risk.
http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=001341.html

Similar Messages

  • Getting Error Trying to Use addField Method

    I am trying to use automation to add a field to a document but get an error stating Invalid Argument Type..
    Here is part of my code:
    avDocMM = 
    CreateObject("AcroExch.PDDoc") 
    If File(whatDrawingNumber) = .T. Then   
    ispdffilee = avDocMM.Open(whatDrawingNumber)  
    If ispdffilee = .T. 
    jse3MM = avDocMM.GetJSObject
    *dfrnopMM = jse3MM.numPages 
    STORE 50 TO array1(1)  
    STORE 20 TO array1(2)  
    STORE 450 TO array1(3)  
    STORE 0 TO array1(4) 
    jse4MM = jse3MM.addField("test","text",0,array1)
    avDocMM. 
    Close()

    Hi Marco,
    I guess I need to install XML functions in my DB. Do you think anything else might be the problem?
    Here is the table description:
    SQL> describe resultstable;
    Name Null? Type
    TAXON NUMBER(38)
    GENOMEID VARCHAR2(30)
    REFSEQNA VARCHAR2(40)
    CONTIGNAME VARCHAR2(40)
    LOCATIONID CHAR(3)
    SEQUENCEVERSIONID NUMBER(38)
    EXTFEATUREID VARCHAR2(11)
    GENEID NUMBER(38)
    LEFTEND FLOAT(126)
    RIGHTEND FLOAT(126)
    STRAND VARCHAR2(30)

  • Can i use 2 methods to deploy icon files in Oracle IDS?

    Dear all,
    I'm using Oracle 9IDS(Forms) and i'm trying to use 2 methods to deploy icon file:
    -In development phase, i use defaul.icon.path and defaul.icon.extension in registry.dat file and imagebase=documentbase. My icon are well deploy when i run application from form builder.
    -In deployment phase, on the same plateform, i use jar file following these steps:
    1- I store jar file in same directory with all runtime files(fmx, mmx, etc.)
    2- i create a virtual path(/forms90/Tel/) to map with this directory
    3- in formsweb.cfg, i put the following line:
    [myapp]
    imagebase=codebase
    archive_jini=f90all_jinit.jar,/forms90/Tel/images.jar
    When i call my application directly (http://localhost:8889/forms90/f90servlet?config=myapp),
    icons don't appear.
    I would like to know, what's wrong?It's possible to use theses both methods for deploy icons on the same plateform?
    Thank u for your help

    Hi Franck,
    I thank that red correctly the document(how deploy icon on web).But that isn't the matter.I update my formsweb.cfg as you advise me
    [myapp]
    archive_jini=...,/forms90/images.jar
    imagebase=codebase
    Icon don't appear at runtine while other gif files(splashscreen,logo) appear.Notice these others gif files are compressed in the same jar file. Notice also, that when i use default.icon.path parameter in registry.dat file, icons are well deployed.
    It's incomprehensible.
    Thanks you for your help!

  • How to use the method getParameterValues() of request object in JSP?

    I'm trying to use the method
    String a[]=request.getParameterValues("ch_box");
    to retrieve the values from the form
    but it gives the error
    "Method getParamaterValues(java.lang.String) not found in interface javax.servlet.http.HttpServletRequest."
    so plz tell me how to overcome this hurdle?
    thanx

    Well, just one note... either you have a typo in your code, or else in your post.
    If you cut and pasted the error message (which it looks like you did), then the method getParamaterValues() should be getParameterValues() instead (notice the spelling difference), so you probably just have a typo in your code.

  • LSMW using IDoc Method *Error :No partner exists with the name '', type ''*

    Hi All,
    I am a newbie. I am trying LSMW using IDoc Method.
    I got an error when i executed Start IDoc Generation step: No partner exists with the name '', type ''
    Could anyone tell what wrong I might have done,
    Thank you,
    Shiv Ram

    Hi,
    You have to setup your IDoc configuration in LSMW:
    1) Enter the menu \Settings\IDoc Inbound Processing
    2) Create a FILE port by clicking "Maintain Ports"
    3) Create a logical system (LS) partner number by clicking "Maintain Partner Numbers"
    4) Be sure your partner profile that you create is "Active" by clicking "Classification"
    5) In the end click "Activate IDoc Inbound Processing" bottom.
    Run your LSMW again. This time it shoud run wothout any problem.
    Hope it helps.
    Chang

  • Is there anyone using Java Methods interface of IREP in his application

    Hello everyone,
    Are you using Java Methods interface of IREP in your application?
    Nowadays I am trying to using Java Methods in my application. But I'm puzzled how to get the interface jar files that the Java Methods would import. It seems that Oracle doesn't provide such interface jar files for all Java Methods shipped in IREP. How do you do with this?
    If you have some experience about using Java Methods in application, hope to hear your voice. Thanks in advance.

    Hi friend,
    Thanks for you update.
    I'm referring to Java Methods that can be called directly by applications not Java Service Interface. These are two different kinds of IREP interfaces. In Oracle Integration Repository User's Guide, there aren't much guidance about how to use Java Methods.
    I appreciate you can help me further.

  • UCCX 8 file paths for using java methods

    UCCX 8.0.2SU4
    I am trying to use java methods to read an xml file out of the Document repository.  I was able to do this in UCCX 7 and prior, but in 8 it seems i need a different file path syntax for the 'java.io.file' variable.
    Example:
    I would like to do the following:
    javaDoc =  new java.io.File(/opt/cisco/uccx/Documents/User/default/mydoc.xml)  
    doesFileExist = javaDoc.exists()
    I am not having success with these steps, as the result is always false, even though the file does exist.
    any help is appreciated.
    thanks,
    Mike

    Your access to the file system is severly restricted. There are security measures in place that only allow you access to the "customer directory". You'll want to use a Create XML Document step to retrieve a file from the document repository using the DOC[/folder/file.xml] syntax. Note the root (i.e. the first forward slash) is the root of the document repository as seen in the /appadmin UI.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Repaint during an event with no effect

    Hello, I'm trying to repaint a JFRame during an event that takes abot 30-60seconds, the result is that the JFrame is not repainted until the event is finished. There is any solution to this? Sorry I'm a newbie with swing.

    I just had a similar problem. So I quote Camickr who pointed out why this is happening:
    All code in in an event listener is executed in the GUI Event Thread ... [Only] When the thread finishes [your painting] is executed.The solution is to put your painting code in a separate thread.
    Edited by: Joerg22 on Dec 10, 2007 9:42 PM
    There was even no need to quote him. He replied quicker than me. ;-)

  • Use of staticCreatePrototypeResource method during Resource configuration

    Does anyone know when the staticCreatePrototypeResource method of an adapter is called? I am trying to create a custom adapter that accepts various different modules to actually do the provisioning. The problem I am having is making the prototypeXML dynamic.
    I know that the prototypeXML is used to store the resource in the repository. I assumed during a creation that the prototypeXML was obtained and populated upon submission of the Resource Wizard form. However, I have put some trace with my custom adapter and that does not seem to be the case.
    Instead the staticCreatePrototypeResource method seems to only get called once, upon the first load of the Resource web page. The xml must then be cached someplace and used during the creation process. I am trying to determine if there is any way around this.
    Thanks,
    Pete

    I wouldn't kill the Presentation Services as it might look like the system is down which is not true. A possible way could be to use a repository variable. We use this method to prevent users from seeing new data as our ETL process is loading it. You could have a repository variable called batchrunning. You would then have an Init Block that refreshes this variable every 5 minutes or so. The Init Block could select a value from a table where you store the status of your batch. Then you would add this variable to all facts as a filter in the RPD like this: where batchrunning = 0. When you are updating the DB you would first change the value on your status table to 1. Once the variable is refreshed all new queries will fail since batchrunning is not equal to 0. Once the ETL process is finished, you would set the status table back to 0, the BI Server would refresh the variable and all the queries will start to work again.
    If you prefer to shutdown services then I suggest you shutdown the BI Server as at least the users will be able to get to the Web Server and it won't look that bad.

  • Use variable for filename for exportdata method

    I am trying to set a var value and then use the var in the exportdata method using formcalc.
    var txtFileName = "DataFileName"
    if (tbxVicName.isNull) then
    var txtFileName = Concat(num2date(date(), "YYYY_MMM_DD"),"_CameronDamageAssesment")
    xfa.host.exportData(Ref(txtFileName.rawValue),0)
    else
    var txtFileName = Concat(num2date(date(), "YYYY_MMM_DD"),tbxVicName.rawValue)
    xfa.host.exportData(txtFileName,0)
    endif
    Thanks for any assistance.
    Kurt

    Post your question in the LiveCycle Designer forum.

  • Human Task Events's Validation Callback Errored out  while using EJB method

    Hi All,
    We are using weblogic version 10.3.5. and Jdev 11.1.1.5.0
    In our BPM Process we have human tasks,in human task Events,we are using Validation Callback to save and get some information.To save and get information we are ejb.
    1)We have created one BaseTaskValidator.java which implements ITaskValidationCallback.
    2)we have override the validateTaskOperation() method in BaseTaskValidator.java
    3)We have created one more TaskReminderService.java extends BaseTaskValidator
    4)In TaskReminderService.java,when we trying to get information from Database with help of EJB we are getting the below error.
    [2012-10-14T21:05:47.610+05:30] [soa_server1] [ERROR] [] [oracle.soa.services.workflow.task] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: Amar.Kant] [ecid: 1416ca41dee3590b:5c59d6e4:13a59f6159b:-8000-0000000000021e0b,0] [APP: soa-infra] [composite_name: ARCN] [component_name: CNRequestTask] [component_instance_id: 204583] [composite_instance_id: 1470009] <.> Error in invoking task validation callbacks.[[
    Error in invoking task validation Java callback com.atc.arcn.callbacks.BaseTaskValidator.performCallbacks for task 204583. The task is associated with workflow default/ARCN!1.0/CNRequestTask.
    Make sure that the task validation callback class is specified correctly without any errors. The class name should be fully qualified. Also make sure that the class and its dependencies are available in the classpath.
    ORABPEL-30099
    Error in invoking task validation callbacks.
    Error in invoking task validation Java callback com.atc.arcn.callbacks.BaseTaskValidator.performCallbacks for task 204583. The task is associated with workflow default/ARCN!1.0/CNRequestTask.
    Make sure that the task validation callback class is specified correctly without any errors. The class name should be fully qualified. Also make sure that the class and its dependencies are available in the classpath.
         at oracle.bpel.services.workflow.task.impl.TaskValidationCallbackInvoker.executeJavaCallback(TaskValidationCallbackInvoker.java:195)
         at oracle.bpel.services.workflow.task.impl.TaskValidationCallbackInvoker.performCallbacks(TaskValidationCallbackInvoker.java:104)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:1190)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:666)
         at oracle.bpel.services.workflow.task.impl.TaskService.initiateTask(TaskService.java:614)
         at sun.reflect.GeneratedMethodAccessor4268.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:91)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy250.initiateTask(Unknown Source)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.initiateTask(TaskServiceBean.java:70)
         at sun.reflect.GeneratedMethodAccessor4267.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy280.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_1035_WLStub.createProcessInstanceTask(Unknown Source)
         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:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy404.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:50)
         at fuego.papi.utils.ApplicationExecution.beginExecution(ApplicationExecution.java:29)
         at oracle.bpm.workspace.model.common.ExecutionBean.handleExternalInstanceExecution(ExecutionBean.java:171)
         at oracle.bpm.workspace.model.application.ApplicationBean.execute(ApplicationBean.java:148)
         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:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.reflect.InvocationTargetException
         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:597)
         at oracle.bpel.services.workflow.task.impl.TaskValidationCallbackInvoker.executeJavaCallback(TaskValidationCallbackInvoker.java:191)
         ... 344 more
    Caused by: java.lang.NullPointerException
         at com.atc.arcn.util.TaskReminderService.getTaskDetails(TaskReminderService.java:72)
         at com.atc.arcn.util.TaskReminderService.setReminderDuration(TaskReminderService.java:64)
         at com.atc.arcn.util.TaskReminderService.setReminderDuration(TaskReminderService.java:56)
         at com.atc.arcn.callbacks.BaseTaskValidator.processInitiate(BaseTaskValidator.java:96)
         at com.atc.arcn.callbacks.BaseTaskValidator.validateTaskOperation(BaseTaskValidator.java:52)
         ... 349 more
    Please help on this issue.It is little bit urgent for us to resolve.
    Thanks in advanced.

    Thanks for reply Ravi.
    The NullPointerException is beacuse of JNDI problem,we resolved that issue.We are able to create the ejb instance but with that instance when we are trying to call ejb method,we are getting the below error in console and the BPM instance is not getting created.
    We are able to create the instance of the EJB Bean.But when we try to call the method of EJB Bean(getTaskDetailsByTaskName(taskName)),the BPM instance is not getting created from BPM workspace.If we comment the code for the method of EJB Bean(getTaskDetailsByTaskName(taskName)) able to create the instance from BPM workspace.When we checked the log file this error,it is
    Caused by: fuego.papi.exception.CannotCreateInstanceException: Cannot create instance in process 'default/ARCN!1.0*/ARCN'.
         at oracle.bpm.papi.ora.helper.ExceptionHelper.wrapException(ExceptionHelper.java:58)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:56)
         at fuego.papi.utils.ApplicationExecution.beginExecution(ApplicationExecution.java:29)
         at oracle.bpm.workspace.model.common.ExecutionBean.handleExternalInstanceExecution(ExecutionBean.java:171)
         ... 102 more
    Caused by: BPM-70204
    Exception
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process default/ARCN!1.0*/ARCN.
    exception.70204.fix: Verify server log to find the problem cause.
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_1035_WLStub.createProcessInstanceTask(Unknown Source)
         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:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy407.createProcessInstanceTask(Unknown Source)
         at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:50)
         ... 104 more
    Could you please suggest me on this issue.
    Thanks,
    Narasimha

  • Trying to use set_value in onChange event handler

    Is it acceptable to use p_session.set_value in the onChange event handler?
    I am trying to do a couple of things in this event handler, I am trying to validate a code and if the code is invalid I wish to
    show an alert. If the code is valid I then wish to fill another field with a value from the database. Both fields I am working
    with in the event handler are table columns. I have not been able to track down a specific error message, however, when
    I view source the code for this is blinking. Here is what I am trying, in the onChange event handler.
    declare
    l_acct varchar2(21);
    l_codeid number;
    begin
    l_acct := p_session.get_value
    (p_block_name => 'DETAIL_BLOCK',
    p_attribute_name => 'A_CONCATENATED_ACCT',
    p_index => 1);
    if l_acct is not null then
    select code_combination_id
    into l_codeid
    from webapp1.an_code_combinations_v
    where concatenated_acct = l_acct;
    if sql%found then
    p_session.set_value
    (p_block_name => 'DETAIL_BLOCK',
    p_attribute_name => 'A_CODE_COMBINATION_ID',
    p_index => 1,
    p_value => l_codeid);
    else
    --- how can I display an alert?????
    end if;
    end if;
    end;
    Any suggestions on how to show an alert, and how to display values into fields would be very helpful.

    I think you are trying to use PL/SQL in the JAVASCRIPT onChange event handler. What you need to do is use JAVASCRIPT.
    Put the following function on the (... before displaying the page) option on the Additional PL/SQL page.
    Javascript function that loop through all fields on a form.
    Set value Example:
    htp.p('<script language = "JavaScript1.3">
    function setCommValue(form,target,value)
    var itemname;
    for(var i = 0; i < form.length; i++)
    itemname = form.elements.name.split(".");
    if (itemname[2] == target)
    form.elements[i].value = value;
    </script>');
    You can call the above code from a Javascript Event Handler for a Form item. Example: (an item's OnChange Event)
    setCommValue(this.form,'SITE_ID',this.value);
    Good Luck and let us know if you experience in Lessons Learned.
    Thanks,
    Linda Gowen

  • HT201303 last time i bought apps by using visa gift card so iam trying to use the kind of visa gift card and the system is denying the method payment ....any idea how to solve this with my itune account ?

    last time i bought apps by using visa gift card so iam trying to use the kind of visa gift card and the system is denying the method payment ....any idea how to solve this with my itune account ?

    A few reasons I can think of, but instead of shooting in the dark, lets check with experts who can look at your account.
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Using a method of a class within an action event

    Good day.
    A beginner question.
    It is possible to use within an action event (triggered by a view of the button)
    instantiate a class from another java project and use a method?
    If it is possible how to do?
    Thank you

    hi carlos,
    yes it is possible. as a reference please have a look at this document How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3
    basically the steps are the same (adding dependency, public parts, etc.) for a ejb or java project.
    regards,
    christian

  • I have downloaded whats app/brave temple run but using netsafe card. well now it shows 1.98$ is pending , though m trying with new netsafe card to pay it is showing error saying Pls select valid method for payment. i used same method as i did earlier

    i have downloaded whats app/brave temple run but using netsafe card. well now it shows 1.98$ is pending , though m trying with new netsafe card to pay it is showing error saying Pls select valid method for payment. i used same method as i did earlier

    I have recently started having this problem in PSE8. The Adobe workaround
    did work, but I don't fancy having to re register each time I use it.
    What I have discovered is that it's nothing to do with the image metadata as it occurs before any image is opened.
    It SEEMS to only occur if you use file/open with to open an image in the editor - IE start PSE with that command.
    If you close elements down, and start it using programs/PSE/Elements (or your desktop shortcut) - the panorama feature magically works.
    Each time I've opened the editor 'automatically' using image/open with, it seems to create the problem.
    Hope this helps

Maybe you are looking for

  • Itunes won't open- constantly requires windows to configure it, then reboot

    Looking for help. Recently updates my itunes and it won't open. Everytime I open it tells me "windows is configuring software" it then prompts for a reboot. Itunes will not open. I've tried reinstalling itunes and still doesn't work. HELP ME Please

  • Restricting Size of Time Machine Backup on Firewire Connected Drive

    I've got an external 1 TB drive connected via FW800. Time Machine works fine, but I am also using this as a shared drive and want to limit the size of my Time Machine (to 600G for now) without having to formally partition the drive. I've read all the

  • Error 150:30  CS4 (student edition) on a Macbook

    I recently had a corrupted operating system and had to erase and reinstall, but had error with backup reinstall and now can no longer use any of my Master Collection CS4 (student edition) with an error 150:30 licence issue, all my information was los

  • How to save the Increment  update to the PDF on the web

    By now I use PDDocSaveWithParams method to save file,but this method is used to local,not on the web. I think there are some methode in SDK to save(or send)  the Incremental update to the server. But i don't know which is,so if there is please tell m

  • Field value change

    Hi Experts, I`ve a requirement as to find which field on the screen has been changed and based on that I`ll have to clear off two fields on the screen.    Is there any way/command to make out as to which field on the screen has been changed..    Rega