Sporadic Error in XLMP
I get the following error (sporadically) when submitting a XML Publisher Report.
Sometimes it works and other times it doesn't... totally random behavior.
XML Report Publisher 5.0
Updating request description
Waiting for XML request
Retrieving XML request information
Preparing parameters
https://preproderp.cae.com:443/OA_CGI/FNDWRR.exe?temp_id=1185035120
null
--Exception
null
oracle.apps.fnd.cp.request.FileAccessException
at oracle.apps.fnd.cp.request.RemoteFile.getFile(RemoteFile.java:434)
at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:718)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
---------------------------------------------------------------------------
Can't be... I'm running them in two separate steps. This is happening with the Oracle Check Format. First we issue (or Format) the check which is really the Oracle report with XML Output, then we submit the 'XML Report Publisher ' which should be picking up the xml output of our earlier step.
Thing is that sometimes if finds the xml output and other times it doesn't. Now I should tell you that we are running a RAC environment, and I have a feeling that XML output is only being written to one of the tiers.
Is this a possibility?
Similar Messages
-
Sporadic errors in XML DB (ORA-00600: internal error code)
We observe a sporadic error in an XML DB based application. The error message is as follows:
java.sql.SQLException: ORA-00600: internal error code, arguments: [qmxMakeFake1], [], [], [], [], [], [], []
Our application uses Java / JDBC to connect to the Oracle XML DB server (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production). The error occurs for several SQL queries that involve changes to XML files in the database. Here are two representative examples:
update EPIGRAPH_095 e set value(e) = insertchildxml(value(e),'/EpiGRAPH/analysis[global_settings/job_information/id/text()="070427_164952_518077172"]/class_analysis/attribute_calc_analysis','results',XMLType(:1)) WHERE e.existsNode('/EpiGRAPH/analysis[global_settings/job_information/id/text()="070427_164952_518077172"]/class_analysis/attribute_calc_analysis') = 1
update EPIGRAPH_095 e set value(e) = updatexml(value(e),'/EpiGRAPH/analysis[global_settings/job_information/id/text()="070427_145224_574975277"]/global_settings/job_tracking/status',XMLType(:1)) WHERE e.existsNode('/EpiGRAPH/analysis[global_settings/job_information/id/text()="070427_145224_574975277"]/global_settings/job_tracking/status') = 1
In these queries, ":1" is a CLOB that is created and filled from Java using the CLOB object. We use XML decomposition into object-relational tables via a registered schema.
The error occurs sporadically in roughly 5% percent of the calls and we could not construct a testcase which reproduces it in a deterministic way.
Thank you in advance,
Christoph BockDid you get any additional hints from your development colleagues? We still don't have any clear idea about how to solve the problem. Our current workaround is to repeat any failed query until it succeeds. Typically, one or two repetitions will do the job, but this workaround is obviously very ugly and may well give rise to infinite loops (as we don't understand the cause of the sporadic errors).
Thank you and best regards,
Christoph Bock -
JBO-25017 Sporadic error during AM passivation/activation
As I said in the other thread, I have found one nasty error that happens sporadically and cannot be reproduced in production environment.
But with disabling AM pooling during the stress test I can see this error:
JBO-29000: Unexpected exception caught: oracle.jbo.RowCreateException, msg=JBO-25017: Error while creating a new entity row for MailOut.
JBO-25017: Error while creating a new entity row for MailOut.
java.lang.NullPointerException
Here is how I create the new record. Say on a page A there is a link "NEW" which takes user to data entry page B.
before the page B renders, it calls AM exposed method
<invokeAction id="prepareSentMail" Binds="prepareToCreateNewSentMail"
Refresh="prepareModel"
RefreshCondition="${adfFacesContext.postback == false}"/>
<methodAction id="prepareToCreateNewSentMail"
InstanceName="TrackingService.dataProvider"
DataControl="TrackingService"
MethodName="prepareToCreateNewSentMail"
RequiresUpdateModel="true" Action="999">
<NamedData NDName="studyId" NDValue="${sessionScope.studyId}"
NDType="java.lang.String"/>
<NamedData NDName="individualId" NDValue="${sessionScope.individualId}"
NDType="java.lang.String"/>
</methodAction>So page calls prepareToCreateNewSentMail AM method:
public void prepareToCreateNewSentMail(String studyId, String individualId) {
ViewObject vo = getSentMail();
vo.clearCache();
//removeAnyInvalidNewSentMail();
//vo.setMaxFetchSize(0);
//vo.executeQuery();
//vo.setWhereClause(null);
//vo.setWhereClauseParams(null);
Row newRow = vo.createRow(); //<-- CRASHES HERE!!!
vo.insertRow(newRow);
newRow.setNewRowState(Row.STATUS_INITIALIZED);
vo.setCurrentRow(newRow);
String studyPhaseId = JSFUtils.getFromSession("studyPhaseId").toString();
newRow.setAttribute("StudyPhaseId", studyPhaseId);
String studyPhaseOrder = JSFUtils.getFromSession("studyPhaseOrder").toString();
this.getStudyPhasesUntilCurrent().prepareStudyPhasesDropDownList(studyId,studyPhaseOrder);
newRow.setAttribute("StudyId",studyId);
newRow.setAttribute("IndividualId",individualId);
newRow.setAttribute("HowSentId","REG");
newRow.setAttribute("DateSent",new Date(Date.getCurrentDate()));
}And so the error shows @ Row newRow = vo.createRow(); line
I will post later when(if) I make progressI have modified the code as:
public void prepareToCreateNewSentMail(String studyId, String individualId) {
//..... code from above goes here
try {
Row newRow = vo.createRow(); // THIS IS LINE 424
vo.insertRow(newRow);
newRow.setNewRowState(Row.STATUS_INITIALIZED);
vo.setCurrentRow(newRow);
//the rest of the code goes here
catch (Exception e){
e.printStackTrace();
}and here is the printout:
oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for MailOut.
at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:903)
at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:340)
at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:357)
at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2794)
at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
at tracking.model.services.TrackingServiceImpl.prepareToCreateNewSentMail(TrackingServiceImpl.java:424)
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:585)
at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:507)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:1982)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
at oracle.adf.model.binding.DCInvokeActionDef$DCInvokeAction.refresh(DCInvokeActionDef.java:140)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2521)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:412)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:228)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.lang.NullPointerException
at tracking.model.businessobjects.MailOutImpl.create(MailOutImpl.java:41)
at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:442)
at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:890)
at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:340)
at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:357)
at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:2794)
at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1304)
at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:1869)
at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1910)
at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6580)
at tracking.model.services.TrackingServiceImpl.prepareToCreateNewSentMail(TrackingServiceImpl.java:424)
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:585)
at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:507)
at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:1982)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
at oracle.adf.model.binding.DCInvokeActionDef$DCInvokeAction.refresh(DCInvokeActionDef.java:140)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2521)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2260)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:73)
at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:412)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:228)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595) -
I just rolled out wls 6.1 two days ago and sporadically users are reporting "403
forbidden" errors. Can someone shed the lights and point me to the dirction for
fixes ? It's less than 10% of users experiencing the problems.
Thanks,
JessieThanks. Mike.
Could it be something else since I've run into the same problem in development
about a month ago and permenant key with ANY is used for production.
Jessie
"Michael Reiche" <[email protected]> wrote:
>
The demo license only allows browsers from 3 unique IP address to access
it.
If it is accessed by a fourth, it gives a 403 error.
Mike
"Jessie yau" <[email protected]> wrote in message
news:3c113fe2$[email protected]..
I just rolled out wls 6.1 two days ago and sporadically users arereporting "403
forbidden" errors. Can someone shed the lights and point me to thedirction for
fixes ? It's less than 10% of users experiencing the problems.
Thanks,
Jessie -
One of my users is reporting the above error, often when she attempts to access the global address list (GAL). If she tries again she can access the GAL and continue working. She is, however, becoming frustrated with the frequency she is
seeing the error pop up.
Client is running Windows 7 and Outlook 2010.
Server is Exchange 2010 SP3 running on Windows 2008 R2.
I am grateful for any answers. Thank you!!
...JimHi,
Based on the description, some users got this error message while they tried to access the GAL. But if they tried again, they could access the GAL.
Do they run Outlook in cached mode?
If it is cached mode, please switch to online mode to check the result.
If online mode works well, this issue is related to OAB. I recommend you check the Autodiscover service by using "Test Email Autocnfiguration" in Outlook.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Belinda Ma
TechNet Community Support -
Open pdf documents - sporadic error
Hi,
I'm having a prob with downloading pdf files.
The files are delivered by MS IIS 6.0 webserver and they are gettable by a static link within
a html document. The files are created with a special tool (iffect) running on an ibm machine
(i5). Files created with other tools do not cause the problem.
The Adobe Reader Version is 7.0.
Sometimes it will need several trials (clicks on the hyperlink) until the file is transferred correctly.
The error message is different (problem wirh xref entry, error while building a semaphore etc.).
Acrobat reader is always opening, but it will only show an error message and a blank document.
Trying 3 to 7 times the file suddenly opened correctly.
The error occurs using firefox or ie (regardless using activex plugin or opening a new application window).
It will not happen if the readers "fast web-view" configuration is disabled. The files are < 1 Mbyte and I've
checked that they are not corrupt (with acrobat preflight). The only difference I've found between those
documents and others, is that they seem to be "encrypted" but they do not have a password protection.
I've made a filechek and got the following information:
- the document do not have tags, the reading direction is probably faulty
- there is no language specified
What could be wrong with those files?... yes, we can
As attachment you'll find a pdf file. -
Sporadic error "camera disconnected or off"
I have just purchased a Mac Pro and am going crazy trying to digitize footage (which is ironic since the simplicity of the Mac was the reason I wanted to convert from PC).
Here's the deal. Before I purchased, I went to the Apple store with my camera, a Panasonic PV-GS120 to test. Footage imported easily into iMovie on an iMac. Convinced, I ordered the MacPro online. It arrived and I couldn't get it to digitize footage with same camera (same tape, wire). When I connect the camera, I keep getting the error "camera disconnected or off" even though I've tried several different cables (including brand new Mac firewire cable) and every combination and order of turning off/on computer & camera. Camera is always in correct play mode. Randomly (it seems) it worked once and never again. Sometimes the blue screen pops up and says the error, other times blue screen doesn't even show up.
Please please help - I bought this Mac to make my life easier and so far I've wasted two days and am getting nowhere (oh yeah Apple support was NO help - said our camera wasn'ts supported then sent us a list which said it was).
MicheleNice try - just using ac power.
Update: we discovered that the rear firewire works always when we power everything off, connect everything, turn on. Front one is random - we've only got it to work once.
Meanwhile after 1 1/2 hours on the phone with Apple Tech support (no exageration) we still don't know what's wrong but they suggested we either exchange the computer or get service (probably to replace the motherboard). Apparently we can't even just return it b/c it was 'customized'. So regardless, we're stuck eith it.
So far a very disappointing and frustrating first three days as a Mac owner, to say the least.
Michele -
I'm creating an application that uses the Google Maps api.
When I run my file I get an error message about 50% of the time.
I'm using a UIComponent to display my map, and the UI tag has a
resize event handler. The error message indicates that the event
handler doesn't exist, but the handler does exist-- moreover, it
works half the time! Am I attempting to use the event handler
before it has been created is there there some other problem that
I'm not aware of?"SiHoop" <[email protected]> wrote in
message
news:gbhjtu$q7i$[email protected]..
> I'm creating an application that uses the Google Maps
api. When I run my
> file I
> get an error message about 50% of the time. I'm using a
UIComponent to
> display
> my map, and the UI tag has a resize event handler. The
error message
> indicates
> that the event handler doesn't exist, but the handler
does exist--
> moreover,
> it works half the time! Am I attempting to use the event
handler before it
> has
> been created is there there some other problem that I'm
not aware of?
>
> Error message:
> TypeError: Error #1009: Cannot access a property or
method of a null
> object
> reference.
> at GT5/resizeMap()[C:\Documents and Settings\sxh12\My
Documents\Flex
> Builder
> 3\GT3\src\GT5.mxml:154]
> at GT5/__mapContainer_resize()[C:\Documents and
Settings\sxh12\My
> Documents\Flex Builder 3\GT3\src\GT5.mxml:31]
> at flash.events::EventDispatcher/dispatchEventFunction()
> at
flash.events::EventDispatcher/dispatchEvent()..........
>
> Code:
> <mx:HBox width="100%" height="100%" id="mapLayout2"
x="305">
> <mx:UIComponent id="mapContainer"
initialize="startMap(event);"
> resize="resizeMap(event)" width="100%"
height="100%"/>
>
> </mx:HBox>
That looks like it's an error being generated when it is
trying to dispatch
the event, since it is coming from inside dispatchEvent.
What's the code in
the two event handlers referenced in that UIComponent line? -
Frequency Measurement Gives Sporadic Errors
Hi,
I am using the Component Works CWCounter object with a PCI-6025E DAQ card to measure frequency of a squarewave input to the PFI9 pin. The frequency ranges from 20Khz to 95Khz and seems to measure correctly except that when the measurement is repeated say 20 times, then about 3 out of 20 times the frequency comes back wrong at almost double the actual frequency! This occurs at random.
Is it something I'm doing incorrectly or could it be a Windows/CPU speed/resource/interrupt type of problem?
Here is the basic setup in VB6 where it measures pulse period and then inverts the result to convert to frequency:
Form1.CWDAQTools1.RouteSignal 1, cwrsPinPFI9, cwrsSourceNone
With Form1.CWCounter1
.Rese
t
.CountDirection = cwctrUpDir
.Counter = 0
.MeasurementType = cwctrPulsePeriodFallingEdge
.TimebaseSource = cwctrNIDAQChoosesTB
.TimebaseSignal = 20000000
.Configure
End With
Form1.CWCounter1.Configure
Form1.CWCounter1.start
While IsRunning = True And TimeOut > 0 ' wait until measurement is completed
DoEvents
TimeOut = TimeOut - 1
Wend
If period > 0 Then Freq = 1 / CSng(period)
Private Sub CWCounter1_AcquiredData(Measurement As Variant, ByVal OverFlow As Boolean)
period = Measurement
IsRunning = False
End Sub
Any suggestions? I can't seem to figure out why the measurement is correct only about 85% of the time. Are there some options or configurations that I'm not utilizing on the CWCounter object? Any help is appreciated.
Thanks,
Tony GioiosaThere are Visual Basic examples that are already built that you can install when you install NI-DAQ support for the Visual Basic environment. Examples are great for checking out your own code against the example.
Pulse period measurements can have some error due to possible synchronization of the gate and source signals. Synchronization of the signal pulses cause the final count to be off by +/- 1.
If you are using a 20 MHz timebase as your source for period measurement, then you can calculate the possible error of your frequency result as F/(20MHz-F), where F is the frequency you are measuring. If the resulting calculation is too high, then you should consider measuring frequency directly to get more accurate results. The downside of measuring frequency direc
tly is that you need more than one counter to get the job done. -
Runtime constant (Filename) errors out in BPM
Hi,
I have a BPMCollectTime scenario to collect the Source files. The filename (Message Mapping/Transformation) from the files is captured in TRANSFORM STEP(before sending them out from BPM). The file is sent to SEND step one at a time.
Question : Filename of the source file is captured through user defined function.
Following is the code.
================
String v_result_time; //test Variable
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
if (key == null) { v_result_time= "Create Key Failed";}
else
{v_result_time= "Create Key worked";
String valueOld = conf.get(key);
v_result_time = valueOld;
return v_result_time;
The Mapping gives a runtime error in the BPM. This is a sporadic error.
I have selected the Adapter specific attribute(File name).
The BPM errors out sometimes? I am not sure if I am missing any setting. If I delete the work item and run the same scenario it works.
Question 1 : What is the cause of the above error?
Question 2 : Does BPM support Adapter specific attribute such as filename?
Kindly Advice.
Thanks,
GowriHi Everyone,
Thanks for all the help.
DTN will not change the response filename to source filename. This option cannot be used. The correlation id is defined as response file name. Response filename is fixed for invoice file.
Here is the example.
For invoice file name HDTN20070430163110.TXT, response file received is nav1_2b5.rsp file. For HDTN20070430163314.TXT , response file is nav1_2b5.rsp
So my correlation id is dummy fixed value. I have known the fact that it is not possible to use context object filename.
Bhavesh - I have defined transform step for accessing filename using dynamic configuration. Following is the code used in mapping.
================
String v_result_time; //test Variable
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
if (key == null) { v_result_time= "Create Key Failed";}
else
{v_result_time= "Create Key worked";
String valueOld = conf.get(key);
v_result_time = valueOld;
return v_result_time;
====================================
BPM errors out sometime with following error
Component mapping has returned error.
com/sap/xi/tf/_MM_DTNData_2_DTNFilename_java.lang.NullpointerException.
Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
If I delete this workitem and repeat the same scenario, it works. I have still not understood, why the scenario works sometime.
Kindly Advice.
Thanks,
Gowri -
ERROR MESSAGE sap system manager:work process restarted, session terminated
Hi,
i am a beginer in SAP administration, users are getting this error message and i have done all my research and not able to resolve this issue. Here are the details
SAP Version :ideas 4.7
Database :Oracle
OS : windows 2003
Module user is working on MM
user working on it is a Super user with all the permissions
SAP is configure to run under the European date and decimal format.
I have never done any database administration on it, it is a new install and has been rarely used.
User creates a RFQ and when he tries saving it , seems like for the first time after either restarting the macine or restarting the service it might work and at time it might not, this is a very sporadic error and most of the times it crashes out with the message "sap system manager:work process restarted, session terminated" and kicks the user out of the session.
Below are the details of the error message from ST22 :
name of the runtime error : system_core_dumped
below are the details of the error message and its resoltion as suggested by sap help :
========
Runtime Errors SYSTEM_CORE_DUMPED
Occurred on 01.02.2008 at 07:52:19
Process terminated by signal " ".
What happened?
The current ABAP program had to be terminated because the
ABAP processor detected an internal system error.
The current ABAP program "SAPLCLSC" had to be terminated because the ABAP
processor discovered an invalid system state.
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An SAP System process was terminated by an operating system signal.
Possible reasons for this are:
1. Internal SAP System error.
2. Process was terminated externally (by the system administrator).
Last error logged in SAP kernel
Component............ "Taskhandler"
Place................ "SAP-Server server1_DEV_00 on host server1 (wp 1)"
Version.............. 1
Error code........... 11
Error text........... "ThSigHandler: signal"
Description.......... " "
System call.......... " "
Module............... "thxxhead.c"
Line................. 9555
How to correct the error
The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'.
Save this file under another name.
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. " "
Application server....... " "
Network address.......... " "
Operating system......... " "
Release.................. " "
Hardware type............ " "
Character length......... " " Bits
Pointer length........... " " Bits
Work process number...... " "
Short dump setting....... " "
Database server.......... " "
Database type............ " "
Database name............ " "
Database owner........... " "
Character set............ " "
SAP kernel............... " "
Created on............... " "
Created in............... " "
Database version......... " "
Patch level.............. " "
Patch text............... " "
Supported environment....
Database................. " "
SAP database version..... " "
Operating system......... " "
User, transaction...
Client.............. " "
User................ " "
Language key........ " "
Transaction......... "ME41 "
Program............. "SAPLCLSC"
Screen.............. "SAPMM06E 0320"
Screen line......... 71
Information on where termination occurred
The termination occurred in the ABAP program "SAPLCLSC" in "EXECUTE_SELECT".
The main program was "SAPMM06E ".
The termination occurred in line 131 of the source code of the (Include)
program "LCLSCF2G"
of the source code of program "LCLSCF2G" (when calling the editor 1310).
=============
i even tried increasing the dialog processes but with no use.The same error occurs.
I appreciate every one of help i can get, i am working on a deadline which is tomorrow evening to resovle this issue, any kind of help is highly appreciated.
thanks
mudessir.Hi
follow correction method suggested in this dump,
" The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'. Save this file under another name."
have you done this?
with regards,
raj.
<i>pls, award points</i> -
Getting error when creating a RFQ in MM module" create rfq item overview"
Hi,
i am a beginer in SAP administration, users are getting this error message and i have done all my research and not able to resolve this issue.
This error i am getting when creating a RFQ in MM module and when trying to save the screen "create rfq item overview" then it gives me a pop up box message " SAP SYSTEM MANAGER: WORK PROCESS RESTARTED, SESSION TERMINATED".
Here are the details of teh system
SAP Version :ideas 4.7
Database :Oracle
OS : windows 2003
Module user is working on MM
user working on it is a Super user with all the permissions
SAP is configure to run under the European date and decimal format.
I have never done any database administration on it, it is a new install and has been rarely used.
User creates a RFQ and when he tries saving it , seems like for the first time after either restarting the macine or restarting the service it might work and at time it might not, this is a very sporadic error and most of the times it crashes out with the message "sap system manager:work process restarted, session terminated" and kicks the user out of the session.
Below are the details of the error message from ST22 :
name of the runtime error : system_core_dumped
below are the details of the error message and its resoltion as suggested by sap help :
========
Runtime Errors SYSTEM_CORE_DUMPED
Occurred on 01.02.2008 at 07:52:19
Process terminated by signal " ".
What happened?
The current ABAP program had to be terminated because the
ABAP processor detected an internal system error.
The current ABAP program "SAPLCLSC" had to be terminated because the ABAP
processor discovered an invalid system state.
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An SAP System process was terminated by an operating system signal.
Possible reasons for this are:
1. Internal SAP System error.
2. Process was terminated externally (by the system administrator).
Last error logged in SAP kernel
Component............ "Taskhandler"
Place................ "SAP-Server server1_DEV_00 on host server1 (wp 1)"
Version.............. 1
Error code........... 11
Error text........... "ThSigHandler: signal"
Description.......... " "
System call.......... " "
Module............... "thxxhead.c"
Line................. 9555
How to correct the error
The SAP System work directory (e.g. /usr/sap/c11/D00/work ) often
contains a file called 'core'.
Save this file under another name.
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. " "
Application server....... " "
Network address.......... " "
Operating system......... " "
Release.................. " "
Hardware type............ " "
Character length......... " " Bits
Pointer length........... " " Bits
Work process number...... " "
Short dump setting....... " "
Database server.......... " "
Database type............ " "
Database name............ " "
Database owner........... " "
Character set............ " "
SAP kernel............... " "
Created on............... " "
Created in............... " "
Database version......... " "
Patch level.............. " "
Patch text............... " "
Supported environment....
Database................. " "
SAP database version..... " "
Operating system......... " "
User, transaction...
Client.............. " "
User................ " "
Language key........ " "
Transaction......... "ME41 "
Program............. "SAPLCLSC"
Screen.............. "SAPMM06E 0320"
Screen line......... 71
Information on where termination occurred
The termination occurred in the ABAP program "SAPLCLSC" in "EXECUTE_SELECT".
The main program was "SAPMM06E ".
The termination occurred in line 131 of the source code of the (Include)
program "LCLSCF2G"
of the source code of program "LCLSCF2G" (when calling the editor 1310).
=============
i even tried increasing the dialog processes but with no use.The same error occurs.
I appreciate every one of help i can get, i am working on a deadline which is tomorrow evening to resovle this issue, any kind of help is highly appreciated.
thanks
mudessir.Hi Mudessir,
With the help of ABAP'er try the following.
1. open the program 'LCLSCF2G' from SE38.
2. Keep a break point at line no: 131.
There is 'END SELECT' statement which is getting failed at line no 131 in the program.
Try to analyse the SY-SUBRC at that point.
If your technical consultant can't solve this, write to SAP OSS (service.sap.com).
I have searched SAP OSS, there are other situations, but your case is not there. So write to SAP if technical consultant can't solve it by debugging the program.
Regards,
Madhu. -
Previously stable custom OAF form intermittently errors out
Gurus,
A JDeveloper form that I developed for 11i a couple of years back which has been stable up until recently is now sporadically erroring out. The form seems to work if several attempts are made to apply the back button on the browser. The error message is as follows:
Error: Cannot Display Page
(Because one of the following occured)
1. Your login session has expired.
2. A system failure has occured.
Then it suggest using the page's navigational links instead
of the browsers Back and Forward control.
It's strange that the error is just now appearing and only appears in our UAT environment. Our Dev and Prod environments appear fine.
Has anyone seen this before?
We're using 11i Applications on a Linux forms server with a 10g database.
Thanks in advance for you help.Thanks for the responses. There was a problem with the file system (on the unix server) which was causing the cache to fail. I took the cache statements out of the project settings and could run it but the DBAs have since fixed the file problem so I have now put the cache statements back. The other form (that worked) is much smaller so I guess it did not make as much use of the cache.
-
Pro*c db disconnect error on multiple threads
Running multiple users in separate threads results in sporadic errors on disconnecting from the database in a pro*c application running on redhat and an oracle 10g 10.2.0.4.0 db. When the error occurs, it coincides with two threads querying the database concurrently. Either both threads report an error or one. If both, they report different errors: first ORA-01403 (no data found) then ORA-01012 (not logged on). If only one, only ORA-01403 is reported. The same or different pro*c routines (which call stored procs) may be involved. As it occurs on concurrent threads, i tried modifying the code to disconnect twice from one call, but that returns a different error (SQL-02134: Invalid runtime context). Any idea what could be happening?
i have some more information on this issue. An error (non-zero sqlca.sqlcode) is returned after this line:
EXEC SQL COMMIT WORK RELEASE;
These are queries, so i don't think there is a problem with the commit. (They are stored procs. Even if there was a db update somewhere, why would commit return an error? It doesn't appear to timeout as it happens in millisecs.) Why would an error be returned on the disconnect (RELEASE)?
If this is the wrong forum, could anyone suggest a better one? I didn't find anything really appropriate.
Thanks in advance! -
Hello!
there is a sporadic ERROR of ESRQ In my application .I am sure that there
are two,and noly two DEVICES are connected with the GPIB board.How can i
deal with this problem?
thanks a lot.Rohan17,
This forum is for questions regarding Microsoft Project customization. Are you using Microsoft Project?
If you are using Project, please re-post with much greater detail - what release of Project.
If your question is about .Net, the forum below is more relevant.
http://forums.asp.net/
Maybe you are looking for
-
Problem to transfer Variable value to Dashboard A to Dashboard B
Hi,buddies: I have a scenario that I have to jump from Total Dashboard(we call it A) to Detail Dashboard(we call it B),I work with Xcelsius directly connect to BW through SAP NetWeaver BW connection ,I can transfer Variable values to B through U
-
Hi Our user is trying tomake an outgoing payment. The system is giving error " Inconsisten with holding tax data" Pls advise Vaibhav
-
When I open iTunes I get message 'This version has not been correctly localised for this language. Please run the English version' - any ideas?
-
please describe the characteristics of mics that will (or will not) function with this port. (e.g self powered ?)
-
How to access streaming vedio from server using RMI
Hello please provide me the solution i have one vedio file in remote system and i want to import it to my local system using RMI after that i have to control it like vedio player.This entire application should be developed in struts. please give me a