MEM_BAD_POINTER when calling VI with LVRT adapter
Hi,
I'm using TestStand 2010 and LabVIEW 2010.
One test (sequence) calls VIs that control Agilent 16900A logic analyzer: run and stop (Stop VI is attached for example).
These VIs use ActiveX - LA COM Automation client software.
Everything worked properly, until I switched the LabVIEW adapter from "Development System" to "LabVIEW Run-Time Engine" (in order to make deployment).
When a step that call the logic control VI is executed, I have got the error ”SmartHeap Library - MEM_BAD_POINTER", then "SmartHeap Library - SmartHeap error handler recursively re-entered"- and TestStand is crushed.
Never saw the such problem before.
Any help is appreciated!
Attachments:
Agilent16900A_LogicStop.vi 11 KB
Hi Courtney,
This VI works fine in LabVIEW, I even built EXE based on this VI - it works too.
In the meantime I tried to connect with the logic via Visual C++ using the same LA COM Automation client software.
Wrote DLL with functions Run and Stop, created 2 steps in the TS sequence - the both call the DLL Stop function, loaded dynamically and unloaded when step is finished.
The first call is performed, the second call causes the "MEM_BAD_POINTER" error etc.
If the sequence has only one call to the DLL function (e.g. Stop) - I may run it several times successfully.
Similar Messages
-
500 InternalServerError when calling app with same url than oracle app
Hello
i wonder if some one could help us.
we are running an application on oas developed with forms 10g on a specific IP say
ip 10.10.10:9999 and this application is calling other application (a jsp) on another server
and to call it i use:
Web.show_document (http://10.10.10:9080 ,'_blank');
but that other application is on the same ip than the oracle application
when this hapens the listener try to connect itself 5 time then it just
give the 500 InternalServerError .
any idea why this is happening
i will realy apreciated your help
many thanks in advance
Ana
ps:
i forgot to say that when i use the following command :
webutil_Host.host('cmd /C START iexplore "'||v_url||'"');
it works
i think that is because is a new sesion???
Edited by: ana.gutierrez on 19-feb-2009 4:27Hola Roberto
many thank for your answer.
the oracle aplication is developed in Forms [32 bits] Versión 10.1.2.3.0 (Producción)
the server is
10g Release 2 (10.1.2) Patch Set 3 (10.1.2.3.0) for Solaris Operating System
the jsp is in a was server it is version 6 the java aplication is developes using jdk 1.4 but is running on a jre 1.6.0_11
bouth applications have the same ip differt ports
when oracle app calls the java app use the
http://999.999.999.9/dir/dir.do?parameters.....
the port is not especified but is different
when the java application calls the oracle aplication the url is something like
http://999.999.999.9:8888/forms/frmservlet?config=oracle_aplication&otherparams=
if the urls are call directily from a browser they work fine.
has it got something to do with the configuration of the single sing on ??
any help or idea will be very apreciated
many many thanks
ANa -
WebDynpro ABAP : Error when calling ME23N with URL
Hi all,
I have some problem with my WDA. I have an ALV in web dynpro and it displays Document number for Purchase Order.
When a user clicks on it, we call SAP WEBGUI using ITS and I create dynamically URL to display the document.
But I can't set the PO number when I call the ME23N while i passed the PO number in parameter of my URL.
My URL has this content : http://xxxxxxx/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=ME23N&MEPO_TOPLINE-EBELN=xxxxx
But the Po display isn't the same. I don't found any solutions for this problem
Anybody has an idea ?
Thanks in advance for your feedback.
Regards
Ludovic BentoHello,
I found the correct way to open ME23N in WebDynpro:
*Create URL
CONCATENATE 'http://' host ':' port
'/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction='
'ME23N' '&~OKCODE=MECHOB&%20MEPO_SELECT-EBELN=' lv_ebeln
'&%20MEPO_SELECT-BSTYP_F=X&%20~OKCODE=MEOK'
INTO url. -
NPE when calling getConnection() with JBoss 3.0.0RC1
I'm getting the following exception only when I'm using JBoss 3.0.0RC1.
No problem with earlier version of JBoss 3.0, so this maybe a JBoss
issue.
However, I can't debug this without knowing what URL Kodo is trying
to look up. My guess is getTransaction() is trying to look up the
transaction
manager and is passing a null URL string.
20:19:54,715 ERROR [STDERR] java.lang.NullPointerException
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLScheme(Init
ialContext.java:227)
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLOrDefaultIn
itCtx(InitialContext.java:276)
20:19:54,735 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialCon
text.java:350)
20:19:54,745 ERROR [STDERR] at
com.solarmetric.kodo.ee.JNDIManagedRuntime.ge
tTransaction(JNDIManagedRuntime.java:36)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.ee.EEFactoryHelper.getPe
rsistenceManager(EEFactoryHelper.java:102)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.EEPersisten
ceManagerFactory.newPersistenceManager(EEPersistenceManagerFactory.java:148)
20:19:54,765 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:89)
20:19:54,775 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:70)Yan-
The JBoss people have seen it fit to change the mechanism for
configuring Resource Managers between 3.0.0 beta and 3.0.0 RC1, as per
http://www.jboss.org/online-manual/HTML/ch03.html:
Access to Resource Managers
THIS CHAPTER IS PRIMARILY RELEVANT TO JBOSS 3 (RABBITHOLE) VERSIONS
BEFORE RC1
THE MBEANS FOR CONFIGURING DATASOURCES/ADAPTERS IN RC1 ARE COMPLETELY
DIFFERENT FROM THOSE DESCRIBED HERE. FOR DESCRIPTIONS OF EACH ATTRIBUTE,
CONSULT THE GENERATED JMX-API DOCUMENTATION.
I am going to work on putting together an example working configuration,
but it is difficult without any documentation or useful examples. In the
meantime, you may want to manually bind a PersistenceManagerFactory into
JNDI and just use that.
Yan Or <[email protected]> wrote:
JCA. See my other postings "kodo.jar and systems.pref".
Interestingly, with the earlier version of JBoss 3.0.0, it works
even though I didn't package system.prefs with the .rar file, so
I'm guessing it uses a default value?
I also tried looking up "java:/TransactionManager" in the same
method where getConnection() was called and I was able to
find the object.
Patrick Linskey wrote:
Yan,
It's looking up the pref called 'tm-location' (which we set to
'java:/TransactionManager' in our default system.prefs).
Are you deploying via JCA or JNDI?
-Patrick
Yan Or <[email protected]> writes:
I'm getting the following exception only when I'm using JBoss 3.0.0RC1.
No problem with earlier version of JBoss 3.0, so this maybe a JBoss
issue.
However, I can't debug this without knowing what URL Kodo is trying
to look up. My guess is getTransaction() is trying to look up the
transaction
manager and is passing a null URL string.
20:19:54,715 ERROR [STDERR] java.lang.NullPointerException
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLScheme(Init
ialContext.java:227)
20:19:54,725 ERROR [STDERR] at
javax.naming.InitialContext.getURLOrDefaultIn
itCtx(InitialContext.java:276)
20:19:54,735 ERROR [STDERR] at
javax.naming.InitialContext.lookup(InitialCon
text.java:350)
20:19:54,745 ERROR [STDERR] at
com.solarmetric.kodo.ee.JNDIManagedRuntime.ge
tTransaction(JNDIManagedRuntime.java:36)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.ee.EEFactoryHelper.getPe
rsistenceManager(EEFactoryHelper.java:102)
20:19:54,755 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.EEPersisten
ceManagerFactory.newPersistenceManager(EEPersistenceManagerFactory.java:148)
20:19:54,765 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:89)
20:19:54,775 ERROR [STDERR] at
com.solarmetric.kodo.impl.jdbc.ee.JDOConnecti
onFactory.getConnection(JDOConnectionFactory.java:70)
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code -
JCo error when calling from webmethods sap adapter to SAP BAPI
Hi,
I am getting an error "[SAP.102.9000] JCo error: (104) RFC_ERROR_SYSTEM_FAILURE - connection closed without message (CM_NO_DATA_RECEIVED)" when webmethods sap adapter is calling BAPI in SAP. The BAPI is working fine in SAP.
Can anyone suggest me a possible solution.
Thanks,
Sarath.BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm -
Hi all,
I would like to work with a LabVIEW program that I did not programm by myself.
In this programm an external DLL needs to be called. in the Momente this dll ist called with the "Call Library Dunction Node" LabVIEW crashes with this Error Message:
DAbort 0x37C03D in MemoryManager.cpp
Attached is the entire Log.
The programm runs on the computer of the original programer.
I have never handeled with DLLs or something like that before, so I have absolutely no idea how to rsolve this problem.
Thanks for your help!
Attachments:
lvlog.txt 2 KBA DLL can be compiled by different compilers. By "generic" C DLL, i refer to ANSI C (so no C++, no Borland C or something else).
My question is raised as parameters, esp. arrays and strings, can lead to this behavior when used in the wrong way (including "Calling Convention").
Also, interfacing with the LV memory manager can lead to crashes like this, but this wouldn't be a "generic" DLL as it binds to LV (due to LV API calls).
Without a better knowledge on the DLL and its functions, there is not much we can help you with.
Where does the DLL come from?
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
Error when calling method with a return of double in j2me
hello all,
i have following problem with a j2me program:
if i call a method with a return of double, then i get following error
message:
ERROR: floating-point constants should not appear
Error preverifying class test.hallo
what i'm doing wrong
thanks in regard
----------------example----------------------------
double yourValue(int y, int m, int d)
double v = 0.10;
v = 3.39 y m *d
return v;
public void startApp()
int td;
int y =2;
int m =2;
int d =2;
td = yourValue(y,m,d);
return(td);It's true for MIDP 1.0.
But you can always use implementation of the float
point arithmetic which was written by independent
developers. For example see J2ME section of my
homepage http://henson.newmail.ru
anyway, double is reserved word in java, the way you wrote the source code in your example neither the preverifier nor the compiler will recognize that you intend to use your own types for double and float. maybe with Double or Float it would be different ...
further question: you declare a void function, in the body, however, you try to return some value. something wrong with this function??
regards
bernard -
Is it normal with higher temperature when plug in with power adapter?
Hey guys, I am wondering if is normal that the computer is much more hotter when running with the power plug in, because the temperature is much more lower when running with battery.
I have the same issue exactly, i downloaded istat pro widget as it monitors the temperature and it tell you what is the temperature but now i am trying to find what is the normal temperate for mac book pro is i know when it is getting hot
-
Facing issues when creating connection with sharepoint adapter in webcenter
Hi All,
I am trying to integrate Ms SharePoint with web center spaces. I am fallowing below PDF.
http://www.oracle.com/technetwork/middleware/webcenter/owcs-ps3-sharepoint-wcs-wp-335282.pdf
i unable to run WLST command for creating connections. in wlst console i'm getting error like
wls:/webcenter/serverConfig> createExtAppConnection(appName='webcenter',name='mo
ssExtApp')
Traceback (innermost last):
File "<console>", line 1, in ?
NameError: createExtAppConnection
wls:/webcenter/serverConfig>
where i am doing mistake in fallowing pdf.
can any one resolve this issues.
RegardsHi,
Please run ./wlst.sh under "ORACLE_HOME/common/bin" and the one under "WLS_HOME/common/bin"
Also, makesure, you had copied the two .py scripts from companion software to "ORACLE_HOME/common/wlst"
Thanks & Regards,
Lakshmikanth K -
Generate an additional iDoc message type when calling BD12
How can a specific iDoc message type be generated (in addition to the other iDocs) when calling BD12 with specific output type?
I would like that all iDocs belonging to one serialization group will be generated when calling BD12. is that possible?
Thank you in advance,
AsmaaHi,
Kinldy check the links which are useful to you.
http://www.beinsoft.com/articles/sap-tutorial-ale-distribution-model2.php
Thanks,
Ramesh -
I can record voice memos fine using the built-in iPhone 4 mic. And my Bluetooth headset (Jawbone Era) works fine when I leave messages on voice mail systems etc. when calling on the iPhone 4, so it appears my headset mic is fine. I can also use voice activated dialing, although it fails miserably interpreting numbers. However, I cannot record voice memos with my Bluetooth mic. I just get barely audible static. Any suggestions? Thanks.
Hello, did you ever get an answer to your question? I just picked up a Jawbone Era and using on an iPhone 4s running 5.0.1. Seems to work fine on regular calls, but not on the built in Voice memos application. It worked fine on my older Jawbone Icon, but haven't tested on the 4s or iOS 5.
Thanks! -
I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas help me
I'm going to guess videos buffer for a while also...
Two possibilities, one is you should close apps on the iPad, the other is your internet speed is not able to handle the demands of a high speed device.
To close apps: Double click home button, swipe up to close the apps.
To solve internet problem, contact your provider. Basic internet is not enough for video games and movies. Your router may be old and slow. -
Problems with SKIP FIRST Screen when calling a transaction variant
Hi,
I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.
In my program I have coded the following :-
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.
I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.
I don't think I need VPO setting but when I code
SET PARAMETER ID 'AUN' FIELD VBELN.
SET PARAMETER ID 'VPO' FIELD POSNR.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
VA02's second screen is displayed
Any help as to how to Skip this first screen with ZA02 would be greatly appreciated
Thanks
RousYes you are right Reg thanks for that.
But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 . -
what can i do, when i call someone with mit i-phone, i only hear the other person, when i press the loud-speaker button, does anyone know, how to solve this problem
Does hte iPhone say headphones when you adjust the volume, even when they aren't connected?
If it does, there might be some lint or something in the jack. Take a look at this Apple document -> iPhone: Can't hear through the receiver or speakers -
PI 7.0: Error when calling an adapter by using communication channel
Hello Experts,
We have a mapping scenario for ERP -> PI -> web service. Few details from ERP will be sent via PI to Web service.
Once the web service authenticates, token and sign will be generated. Here an RFC adapter is used for configuring the RFC receiver communication channel and provided the ERP system logon details at the RFC client parameter.
An error is received as mentioned below.
Error while lookup Exception during processing the payload.Problem when calling an adapter by using communication channel CC_Rcvr_RFC_Lookup_TokenSign (Party: , Service: BS_QV6_700, Object ID: 54e904ebf3d7382a84a0f83cd292b810)
XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>'. com.sap.aii.mapping.lookup.LookupException
The logon details in RFC parameter are corrected. Re-activated the the communication channel and refreshed the cache.
But still the error is not resolved.Please let me know if there is anything else i need to check.
Thanks in advance.
Regards,
SriHello,
You could also check note 730870 FAQ XI 3.0/ PI 7.0/ PI 7.1 RFC Adapter
Q 16:
While sending a message to the RfcAdapter the error "...functiontemplate from repository was <null>" is shown. Which reasons are possible?
Regards,
Sarah
Maybe you are looking for
-
Rented movie on iMac, but need to xfer to macbook to hook up to TV
Hi, I just rented two itunes movies on my iMac. I thought I could later share or move them to my wifes macbook which is what we use to hook up to the TV. However, it appears I can't move movie rentals between computers. What gives? Can I get apple to
-
Hi, Any idea how to write BDC for transaction F-02? The problem is how do we upload one item after another within the same loop? Regards, Naba
-
When trying to open PDF files in Safari 6 are not shown. It shows a gray screen. What do I do to view these PDF files directly in Safari?
-
Stuck in usb and itunes symbols
i was updating my 3rd gen itouch and it suddenly crashed! now my itouch is stuck in the usb and itunes symbol... what can i do to fix it? thanks!
-
Syncing all files, not just iCal or AddressBook
Does anyone know how I can sync the contents of specific folders in my Powerbook with my Desktop via an internet connection? I don't mean just iCal, Addressbook etc. I mean large chunks of entire subdirectories! Thanks, Mardo