Error in Jboss when you run the reconciliation process in OIM
Friends,
I have a problem when launching the task of reconciliation that is part of the log when you run the process of and reconciliation, someone can help me with this problem. Regards.
2010-07-05 11:40:16,278 WARN [XELLERATE.DATABASE] Trying to get the connection count : 0
2010-07-05 11:40:16,278 WARN [XELLERATE.DATABASE] Trying to get the connection count : 1
2010-07-05 11:40:16,278 WARN [XELLERATE.DATABASE] Trying to get the connection count : 2
2010-07-05 11:40:16,278 WARN [XELLERATE.DATABASE] Trying to get the connection count : 3
2010-07-05 11:40:16,278 WARN [XELLERATE.DATABASE] Trying to get the connection count : 4
2010-07-05 11:40:16,278 ERROR [XELLERATE.DATABASE] Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
Database srever is running.
Datasource configuration settings are correct.
2010-07-05 11:40:16,278 ERROR [XELLERATE.DATABASE] Class/Method: tcDataBase/readPartialStatement encounter some problems: Got a null connection
java.sql.SQLException: Got a null connection
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.cache.CacheUtil.getSetCachedQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1092)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:906)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
at java.lang.Thread.run(Thread.java:619)
2010-07-05 11:40:16,278 ERROR [XELLERATE.SERVER] Class/Method: tcDataObj/eventPostUpdate encounter some problems: Data Access Error
com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.cache.CacheUtil.getSetCachedQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1092)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:906)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
at java.lang.Thread.run(Thread.java:619)
Data AccessException:
com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcRCE' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_post_update_sequence>0 order by dvt.dvt_post_update_sequenceDescription: Got a null connectionSQL State: Vendor Code: 0Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
at com.thortech.xl.cache.CacheUtil.getSetCachedQuery(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1092)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:906)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761)
at java.lang.Thread.run(Thread.java:619)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi,
Did you test the database connection as explained in the entry log below?
Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing Database srever is running.
Do you have a Database Resource assigned to your recon task?
Renato
Similar Messages
-
When you run the Adobe Creative Cloud opens a blank window, without authorization, without a list of programs, just empty, as in the screenshot
Hi Vetal1000 ,
Welcome to Adobe Forums
You can use the below mentioned links for solution -
http://forums.adobe.com/message/5509684
or
http://forums.adobe.com/thread/1251577
Let us know if that helps !
Thanks
Garima -
Is there a setup log for when you run the DA role setup?
Hi,
Is there a log of all the actions that are taken when you setup the DA role on a server and then run the configuration process?
I have a Windows 2012 R2 server that I run the initial setup for the DA role and followed some of the basic instructions to setup for Windows 8/8.1 clients only. While the configuration process was running and showing what it was doing there was a
warning about NRPT and name resolution and something about adding an exclusion. I'd like to go back and figure out what that was so I can handle it properly.
Thanks in advance
NickHi,
Is there a log of all the actions that are taken when you setup the DA role on a server and then run the configuration process?
I have a Windows 2012 R2 server that I run the initial setup for the DA role and followed some of the basic instructions to setup for Windows 8/8.1 clients only. While the configuration process was running and showing what it was doing there was a
warning about NRPT and name resolution and something about adding an exclusion. I'd like to go back and figure out what that was so I can handle it properly.
Thanks in advance
Nick -
When I run the Reconciliation ledger KALC in the doc not update cost centre
Hi
I have done assessment and distribution in month ending. This distribution did in 2 company codes cost centers. it was successfully posted & updated in 2nd company code cost center.
Then I ran the Reconciliation ledger in KALC month end. I was also successfully document posted in G/L account.
But Cost centre was not updated or not picking in the document.
Please give me suggestion .
Thanks
InduDear Indu,
KALC will not update specific CO objects. The intention of the reconcilliation ledger is to reconcile CO internal postings with Financial Accounting. The necessity for reconciliation arises from the fact that, depending on controlling area / company code relationship and customizing, any CO posting can either be:
u2022 Cross company code
u2022 Cross business area
u2022 Cross functional area
or a combination of the above mentioned. For these CO internal postings there will be no corresponding FI documents with the result that CO and FI do not reconcile on company code/business area or functional area level. The reconciliation ledger adjusts this by creating the relevant FI documents. I hope this clarifies the issue.
Regards
Karl -
I get an error ORA-00900 when I run the code below.please assist
CREATE OR REPLACE PROCEDURE ib_DistributeCashonInv IS
v_cust varchar(8);
v_ref varchar(10);
v_custcode varchar(8);
v_item_no varchar(10);
v_item_ref varchar(10);
v_item_date date;
v_doc_amnt float;
v_unall_amnt float;
CURSOR c_cust IS
SELECT d.customer, d.refernce
FROM tbl_distribute d;
-- WHERE d.status ='D' ---Items marked for distribution
--ORDER BY d.customer,d.refernce;
CURSOR c_cash IS
SELECT s.customer,s.item_no,s.refernce,s.dated,s.amount,s.unall_amount
FROM slitemm s
WHERE s.customer = v_cust
AND s.refernce = v_ref;
BEGIN
OPEN cursor c_cust;
LOOP
FETCH c_cust INTO v_cust, v_ref;
exit when c_cust%NOTFOUND;
OPEN c_cash;
LOOP
FETCH c_cash INTO
v_custcode,v_item_no,v_item_ref,v_item_date,v_doc_amnt,v_unall_amnt;
exit when c_cash%NOTFOUND;
DECLARE v_total_allocated FLOAT :=0.00 ;
BEGIN
SELECT x.customer,x.batch_item_no,x.transaction_item,x.allocated_amount,x.second_ref,x.item_type
FROM slxrefm x
WHERE x.customer = v_cust
AND x.second_ref = v_ref;
IF SQL%FOUND THEN
BEGIN
SELECT sum(allocated_amount)
INTO v_total_allocated
FROM slxrefm
WHERE customer = v_cust
AND second_ref = v_ref
GROUP BY customer, second_ref;
UPDATE slitemm
SET unall_amount = v_total_allocated,open_indicator ='O'
WHERE customer = v_cust
AND refernce = v_ref;
COMMIT;
END
ELSIF SQL%NOTFOUND THEN
EXIT
END IF
END
END LOOP;
CLOSE c_cash;
END LOOP
CLOSE c_cust;
EXCEPTION
WHEN OTHERS THEN
raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
END ib_DistributeCashonInv;looks like you have a bunch of syntax errors.
also you have a commit inside of a loop
/* Formatted on 11/23/2011 2:27:59 PM (QP5 v5.149.1003.31008) */
CREATE OR REPLACE PROCEDURE ib_DistributeCashonInv
IS
v_cust VARCHAR (8);
v_ref VARCHAR (10);
v_custcode VARCHAR (8);
v_item_no VARCHAR (10);
v_item_ref VARCHAR (10);
v_item_date DATE;
v_doc_amnt FLOAT;
v_unall_amnt FLOAT;
CURSOR c_cust
IS
SELECT d.customer, d.refernce
FROM tbl_distribute d;
-- WHERE d.status ='D' ---Items marked for distribution
--ORDER BY d.customer,d.refernce;
CURSOR c_cash
IS
SELECT s.customer,
s.item_no,
s.refernce,
s.dated,
s.amount,
s.unall_amount
FROM slitemm s
WHERE s.customer = v_cust AND s.refernce = v_ref;
BEGIN
OPEN c_cust;
LOOP
FETCH c_cust
INTO v_cust, v_ref;
EXIT WHEN c_cust%NOTFOUND;
OPEN c_cash;
LOOP
FETCH c_cash
INTO v_custcode,
v_item_no,
v_item_ref,
v_item_date,
v_doc_amnt,
v_unall_amnt;
EXIT WHEN c_cash%NOTFOUND;
DECLARE
v_total_allocated FLOAT := 0.00;
BEGIN
SELECT x.customer,
x.batch_item_no,
x.transaction_item,
x.allocated_amount,
x.second_ref,
x.item_type
FROM slxrefm x
WHERE x.customer = v_cust AND x.second_ref = v_ref;
IF SQL%FOUND
THEN
BEGIN
SELECT SUM (allocated_amount)
INTO v_total_allocated
FROM slxrefm
WHERE customer = v_cust AND second_ref = v_ref
GROUP BY customer, second_ref;
UPDATE slitemm
SET unall_amount = v_total_allocated,
open_indicator = 'O'
WHERE customer = v_cust AND refernce = v_ref;
-- COMMIT;
END;
ELSIF SQL%NOTFOUND
THEN
EXIT;
END IF;
END;
END LOOP;
CLOSE c_cash;
END LOOP;
CLOSE c_cust;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
raise_application_error (
-20001,
'An error was encountered - ' || SQLCODE || ' -ERROR- ' || SQLERRM);
END ib_DistributeCashonInv; -
How to set the Mozilla Firefox as default window when you run the 11g
Hi,
Whenever i run any application in JDev 11g, its opening in IE, where as i need to see it in Firefox. May i know how to configure it in JDev 11g.Hi,
You have to set Tools --> Preferences --> Web Browser And Proxy --> Browser Command Line and select firefox.exe(win) in your file system.
Hope this helps
Joseba -
Does anyone know how to fix this issue?
download the cc desktop app to your desktop and install from there, Download Adobe Creative Cloud apps | Free Adobe CC trial
then install ps using the cc desktop app. -
I ran into erro 3241 when you run RESTORE FILELISTONLY statement in SQL Server 2008 R2.
Found the hotfix
Cumulative Update 13 for SQL Server 2008 R2 SP1.
I have installed this hotfix, now running 10.50.2876.0
But I still get the same error when trying to restore a backup.
What else do I need to do?second to what bodo said Instead of installing SQL server 2012 SP1 CU13 it would be better to install
SQL Server 2008 r2 Sp2 SP's are more throughly tested and would include all fixes for CU and Sp1
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Articles -
I've tried to download the flash player several different times and each time i get a connection error message.It downloads fine and when i run the file to start install, it installs up to 5% and then i get the connection error message. I've tried disabling my antivirus software, closing my browser for install and nothing.Can someone please help me? I'm using Firefox.
Hi!
I had the exact same issue, being on a mac. If you are on a mac and the connection error message occurs, then use this link http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg
It allows you to download it offline, which is what I used.
Hope I was help!
-Haroon -
Always pop-up error mesage when i run the cd-rom program
Always pop-up error mesage when i run the cd-rom program - Macromedia Projector發生問題,必須關閉,謹此致歉
You need to disable "Autoplay" for your CD drive. In the Control Panel under Hardware.
-
I have compiler error when i run the ant script
Hi
Iam a beginner working with ant...When I run the script I get the following error...let me know if you have any suggestions....
build:
[javac] Compiling 28 source files to C:\finaltrial\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 186 source files to C:\finaltrial\classes
[javac] error: error reading C:\finaltrial\classes\trial\impl\ru
ntime\AbstractUnmarshallingEventHandlerImpl.class; error in opening zip file
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
Thanks in advance..that's not an error, it's a warning.
See the documentation on what causes that warning, it'll be an eye opener about the new language features introduced something like 2 years ago. -
Executables throw a widows error when you close the application
I have this problem on several of my labview executables. I can open and runt eh program with no errors. But when I close the program by any method, I get a pop up error in windows. Stating:
"Application Name" has encountered a problem and needs to close. We are sorry for the inconvenience.
I get the option to send the info to Microsoft. Another error pops up Stating the following:
WinsockAsyncSelectWindow: Application name.exe - application error
The instruction at "0x7c90e470" referenced memory at "0x03182a2c". The memory could not be "read". Click on CANCEL to debug the program.
This is really annoying... Anyone know why this error is poping up?Hi Jason,
Could you please provide us with some more information regarding your executable?
What version of LV are you using?
How are you stopping the executable (stop button? abort button?) You should always use a stop button, not the abort button (the stop sign looking glyph on the toolbar) to ensure that all of your references have been properly closed.
Do you see this performance when running the executable on the development machine?
Do you get the warning every time, or only some of the time?
What all are you doing in the executable? I'd be curious to know if it was something particular to your code or the environment. One way to test this is to build a "dummy" executable--just one that does something as simple as count iterations, and see if you get the message or not.
Please provide a little more information and we'll do our best to help.
Cheers,
Marti C
Applications Engineer
National Instruments
NI Medical -
I have set the Mathscript preferences 'Path' and 'Working Directory' parameters to the folder containing my scripts, and it works when
I run the VI, but I get a -90031 error when I run the executable.
What am I doing wrong?Hi Umars,
I had the same problem. In my case it turned out that it was caused the surrounding code. Plus the error
message was missleading. I got the error message -90031 (unknown symbol CalcWelchCorr2) for the
following piece of code:
ecorr= 1;
if setup & src== 1
for lag= 1:50
rho= CalcWelchCorr2( lag, win );
if rho > 0.001, ecorr= [ecorr; rho]; else, break; end
end
CalcWelchCorr2 is a user defined function located in the MS search path. The problem was caused by the
"break" in line 5. Actually this line was marked by some little warning symbol. Eventualle I modified the code
to get rid of the break
ecorr= 1;
if setup & src== 1
lag= 1; rho= CalcWelchCorr2( lag, win );
while rho > 0.001 && lag <= 50
ecorr= [ecorr; rho];
lag= lag+ 1; rho= CalcWelchCorr2( lag, win );
end
end
and voila, the executable worked fine.
However, I had to check all my VIs ( > 200 !) for similar errors which gave me headaches.
Why does the application builder doesn't produce some appropriate error message ?
E.g. "Line xxx in MathScript node in VI xxx cannot be executed"? Currently you get the
impression that the application was build successfully but eventually you get strange errors
or even erroneous results. Keep in mind that tracking down bugs in the final application is
much more difficult that in LV. Also the error message produced by the executable was not
helpfull at all. -
When I run the Read Meas.vi, it has error if I do not turn off the data storage. The same thing happen when I run the App. Example. vi. Anyone knows how to solve this problem? Thanks alot.
KLLoganS wrote:
Hi KL,
The Read Meas.vi is one of the subvi's in the App. Example.vi, so this problem is most likely the same problem in each case. From the help for Read Meas.vi:
Data Storage instructs the device to store the data to be sent to either the internal or external buffer. If TRUE (default), the VI stores data in the on mode. If FALSE, the VI does not retain data in the off mode. Use the off mode only with the average min/max operation when you do not need to retrieve data. You cannot configure the meter for external buffering in the off mode.
So the question is, are you trying to retrieve any data? If so, then as indicated in the above paragraph, you cannot retrieve data and have the data storage turned off. Good luck!
Logan S.
Yes, I need to retrieve data. So due to that problem, I cannot really get any data. I am not sure is that problem is due to the USB GPIB or not. But once I click on the click arrow, everying goes fine from initialise, measurment... once it comes to Read measurment, it has error (say somthing like: VISA Wait on Event for RQS.vi->HP34401A Read Meas.vi->Untitled 1) I have no idea like what it shows up.
KL -
When I run the Ipod Updater I get the message Error in service
My 5g Ipod is not recognized and when I run the updater it shows the message Error in Service. Please help
Not sure....Have you tried resetting the iPod and trying it again. Almost sounds like the software issue, but not totally sure. If you haven't tried resetting your iPod, try that and see what you get! If you don't know how to reset your iPod just press and hold the middle button and the menu button. Your iPod will turn off, and reboot
Maybe you are looking for
-
Cannot install WINS Server Role on Windows Server 2008 R2 Standard x64
Hi, We are trying to install WINS Server Feature on a brand new Windows Server 2008 R2 Standard x64 (Virtual Machine). It seems that WINS is getting installed and right at the very end it gives an error 0x80070002. We have tried rebooting the server
-
Search Help Selection Screen Window Title
Hi Experts, I have created a search help in se11 with import as well as export parameter. While I press F4 on the field to which it is assigned then Search Help seelction screen opens up with a Window Tilte 'Sede Tecnica(1)' i.e. some standard text.
-
Attachment through Services for object
Hi All SAPgurus, We have created an programme to upload & download the catalogs for materials. During programme stage we have created if authorised user uses the transaction the programme will allow him upload or download the attachment. Where as if
-
Kernel Panic in Lion - not wifi related
Hi All Have had my mac pro for over a year now. Updated to Lion on the first day and never really had any issues with it. But recently had 5 kernel panics in 3 days and this has never happened before. In fact i have never had any kernel panics on thi
-
Powerbook's screen scrambled during use, and re-boot doesn't help...
Hi, This one is not easy, as it is my mother's machine, and I am having to base my description on phone conversations. Mum's description is that she was switching from Safari to Mail (expose), when she said the screen cracked up, but she then explain