"...handle is invalid" : Error only when closing the Applicatio​n, at RunTime everything seems fine...
HI,
first of all: I'm relatively new to LabWindows, working on it during some practical work as a Student
(yeah, and sorry for the bad english, I'm from Germany)
To the Problem:
The first important Information:
After having searched for a solution, I just don't know, what to do,
My Project consists of ONE Main.uir-File with a Tab, a "Main.c" that basically handles the main .uir-Stuff and some Initiating-Stuff and in addition to that Several Sub-Sourc-Files, one for each Tab-Panel of the Main.uir-Tab.
To use the UI-Items on the Main-Tab with the Sub-Sources, I am initiating Tab-Handles at startup, that can be used by the SubSource-Files, like:
GetPanelHandleFromTabPage (PANEL, PANEL_TAB, 2, &BALU);
With this Handle, I can identify every UI-Items, when working with the SubSources
The second important information:
In some of the TabPages of the .uir there are several ControlArrays. To use them I create a ControlArrayHandle, like:
MWSAverageHandle = GetCtrlArrayFromResourceID (BALU, MWSAverageArray);
No, I am able to identify specific elements of the Arrays, like:
SetCtrlVal (BALU, GetCtrlArrayItem (MWSProgressHandle, ActiveBalun), ProgressString);
Now there is a Problem, I am not able to solve:
During runtime, everything works out fine, I can use every element of a ControlArray with this ControlArrayHandle ("MWSProgressHandle"), everything works perfect, no errors at all. BUT, when closing the programm, I get the following error-message:
NON-FATAL RUN-TIME ERROR: "Baluns.c", line 313, col 16, thread id 0x00000AB8:
Library function error (return value == -4 [0xfffffffc]). Panel, menu bar, or control array handle is invalid
But this seems somehow ridiulous to me, because at runtime every single line works perfect, every Array-Item can be used without Problems...
Is there anything I am just not able to see???
Thanks a lot for your help.
Greeting from Lübeck, Germany!
Mathias
Solved!
Go to Solution.
Maybe I just figured something out:
First of all, most of the Functions, that cause the Error, are in Timer-Callbacks (at this state of development, ALL of them)
So I just added a Test-Function in a normal Button-Callback, which contains a "GetCtrlArrayItem"-Function, and this specific Line does NOT cause an Error... (Or at least it does not occur in the Error-List, when clicking "continue" in debugging-mode). Somehow the Timer-Callbacks seem to be called, when closing the Application...
BUT: this happens when I don't do anything in the Application, and the all Timers are Disabled, until some Buttons are pushed (so when I close the application right after opening it, they still should be disabled)
@ Wolfgang:
After discarding I do not want to use one of the handles, or at least I'm not doing that purposely
@ Roberto:
Actually I am only discaring the MainPanel-Handle in the Main.uir (and one other Panel, but the error occurred before implementing that other panel). Do all Handles (PanelHandles as well as ControlArrayHandles, TabPageHandles and so on) need to be discarded?
And no, I did not check the Variable Window, I was not aware of this possibility, I will try to figure that out.
Similar Messages
-
The handle is invalid error exception when screenshoot from screen why and how to solve
Hi guys i have problem when i take screen shoot from screen it give me exception
error the handle is invalid as following
ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception: The handle is invalid
at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize)
at Sales.Form1.timer4_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
this is my code as following :
under timer tick event problem happen in screen shoot
the proplem in these lines
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
if i put these lines under button event work ok
but if i but these lines under timer make problem and give me exception above why
this code of screenshoot work in my windows xp but when i put in windows server 2003 it give me error in screenshoot under timer event
private void timer4_Tick(object sender, EventArgs e)
Sales.SalesClass SalesClass1 = new Sales.SalesClass();
if (SalesClass1.IsStartValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123"))
issent = 1;
label7.Text = issent.ToString();
else
issent = 0;
label7.Text = issent.ToString();
if (Convert.ToInt32(label3.Text) > 0 && Convert.ToInt32(label2.Text) > Convert.ToInt32(label3.Text) &&Convert.ToInt32(label7.Text) == 0)
Sales.SalesClass SalesClass2 = new Sales.SalesClass();
SalesClass2.InsertShipment("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text));
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
string smtpAddress = "smtp.mail.yahoo.com";
int portNumber = 587;
bool enableSSL = true;
string emailFrom = "[email protected]";
string password = "3444";
string emailTo = "[email protected]";
string subject = "Working Start"+label6.Text;
string body =
"Quantity Required" + "" + "(" + label2.Text + ")" + "/" +
"Quantity Shipped" + "/" + "(" + label3.Text + ")" + "/" +
"Quantity Remaining" + "/" + "(" + label4.Text + ")";
using (MailMessage mail = new MailMessage())
mail.From = new MailAddress(emailFrom);
mail.To.Add(emailTo);
mail.Subject = subject;
mail.Body = body;
mail.IsBodyHtml = true;
mail.Attachments.Add(new Attachment("c:\\screenshot.jpeg"));
System.Net.Mail.SmtpClient shggmtp = new SmtpClient(smtpAddress, portNumber);
smtp.Credentials = new NetworkCredential(emailFrom, password);
smtp.EnableSsl = enableSSL;
smtp.Send(mail);Thank you for reply
timer3 tick event and enabled to maximize the form if minimized
this is all my code as following
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Mail;
using System.Net;
using System.IO;
using System.Data.SqlTypes;
using System.Data.SqlClient;
using System.Runtime.InteropServices;
using System.Diagnostics;
using Microsoft.Win32;
namespace Sales
public partial class Form1 : Form
RegistryKey reg = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
public int issent;
public int isfinish;
public Form1()
reg.SetValue("Sales", Application.ExecutablePath.ToString());
InitializeComponent();
private const int SW_HIDE = 0;
private const int SW_SHOWNORMAL = 1;
private const int SW_SHOWMINIMIZED = 2;
private const int SW_SHOWMAXIMIZED = 3;
private const int SW_SHOWNOACTIVATE = 4;
private const int SW_RESTORE = 9;
private const int SW_SHOWDEFAULT = 10;
[DllImport("user32.dll")]
private static extern int ShowWindow(int hwnd, int nCmdShow);
private void Form1_Load(object sender, EventArgs e)
label8.Visible = false;
label9.Visible = false;
label10.Visible = false;
label2.Visible = false;
label3.Visible = false;
label7.Visible = false;
label8.Visible = false;
label1.Visible = false;
label2.Visible = false;
label3.Visible = false;
label4.Visible = false;
Sales.SalesClass SalesClass4 = new Sales.SalesClass();
string EndQuantity = SalesClass4.MaxEndQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
string TotalQuantity = SalesClass4.MaxTotalQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
label9.Text = EndQuantity;
label10.Text = TotalQuantity;
if (SalesClass4.IsStartValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123"))
issent = 1;
label7.Text = issent.ToString();
else
issent = 0;
label7.Text = issent.ToString();
label6.Text = DateTime.Now.ToString("dd/MM/yyyy");
timer1.Start();
Sales.SalesClass SalesClass1 = new Sales.SalesClass();
DataTable dt = SalesClass1.ShowSalesData("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
label1.Visible = false;
dataGridView1.DataSource = dt;
dataGridView1[0, dataGridView1.Rows.Count - 1].Value = "Total Sum";
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[0].Style.BackColor = Color.Yellow;
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[1].Style.ForeColor = Color.Red;
dataGridView1.Refresh();
Sales.SalesClass SalesClass5 = new Sales.SalesClass();
if (SalesClass5.IsFinishValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text)))
isfinish = 1;
label8.Text = isfinish.ToString();
else
isfinish = 0;
label8.Text = isfinish.ToString();
label11.Text = SalesClass5.MaxID1("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
private void timer1_Tick(object sender, EventArgs e)
label6.Text = DateTime.Now.ToString("dd/MM/yyyy");
Sales.SalesClass SalesClass1 = new Sales.SalesClass();
DataTable dt = SalesClass1.ShowSalesData("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
label1.Visible = false;
dataGridView1.DataSource = dt;
dataGridView1[0, dataGridView1.Rows.Count - 1].Value = "Total Sum";
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[0].Style.BackColor = Color.Yellow;
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[1].Style.ForeColor = Color.Red;
dataGridView1.Refresh();
private void dataGridView1_DataSourceChanged(object sender, EventArgs e)
double Total = 0;
double Total1 = 0;
double Total2 = 0;
for (int i = 0; i < dataGridView1.Rows.Count - 1; i++)
Total += Convert.ToDouble(dataGridView1.Rows[i].Cells[6].Value);
Total1 += Convert.ToDouble(dataGridView1.Rows[i].Cells[7].Value);
Total2 += Convert.ToDouble(dataGridView1.Rows[i].Cells[8].Value);
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[6].Value = Total;
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[7].Value = Total1;
dataGridView1.Rows[dataGridView1.Rows.Count - 1].Cells[8].Value = Total2;
label2.Text = Total.ToString();
label3.Text = Total1.ToString();
label4.Text = Total2.ToString();
private void timer2_Tick(object sender, EventArgs e)
Sales.SalesClass SalesClass1 = new Sales.SalesClass();
string ID = SalesClass1.MaxID("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
string EndQuantity = SalesClass1.MaxEndQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
string TotalQuantity = SalesClass1.MaxTotalQuantity("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123");
label9.Text = EndQuantity;
label10.Text = TotalQuantity;
label11.Text = ID;
if (SalesClass1.IsFinishValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text)))
isfinish = 1;
label8.Text = isfinish.ToString();
else
isfinish = 0;
label8.Text = isfinish.ToString();
if (Convert.ToInt32(label2.Text) == Convert.ToInt32(label3.Text) && Convert.ToInt32(label8.Text) == 0 && Convert.ToInt32(label2.Text) > 0 && Convert.ToInt32(label3.Text) > 0)
Sales.SalesClass SalesClass2 = new Sales.SalesClass();
SalesClass2.InsertLastShipment("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text), Convert.ToInt32(label11.Text));
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y,
0, 0, Screen.PrimaryScreen.Bounds.Size,System.Drawing.CopyPixelOperation.SourceCopy);
bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
string smtpAddress = "smtp.mail.yahoo.com";
int portNumber = 587;
bool enableSSL = true;
string emailFrom = "[email protected]";
string password = "2234";
string emailTo = "[email protected]";
string subject = "Working Finish" + label6.Text;
string body = "Summary for Date" + "" + label6.Text + "" +
"Quantity Required" + "" + "(" + label2.Text + ")" + "/" +
"Quantity Shipped" + "/" + "(" + label3.Text + ")" + "/" +
"Quantity Remaining" + "/" + "(" + label4.Text + ")";
using (MailMessage mail = new MailMessage())
mail.From = new MailAddress(emailFrom);
mail.To.Add(emailTo);
mail.Subject = subject;
mail.Body = body;
mail.IsBodyHtml = true;
mail.Attachments.Add(new Attachment("C:\\temp2.gif"));
System.Net.Mail.SmtpClient smtp = new SmtpClient(smtpAddress, portNumber);
smtp.Credentials = new NetworkCredential(emailFrom, password);
smtp.EnableSsl = enableSSL;
smtp.Send(mail);
private void timer3_Tick(object sender, EventArgs e)
int hWnd;
Process[] processRunning = Process.GetProcesses();
foreach (Process pr in processRunning)
if (pr.ProcessName == "Sales.vshost")
hWnd = pr.MainWindowHandle.ToInt32();
ShowWindow(hWnd, SW_SHOWMAXIMIZED);
private void timer4_Tick(object sender, EventArgs e)
Sales.SalesClass SalesClass1 = new Sales.SalesClass();
if (SalesClass1.IsStartValid("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123"))
issent = 1;
label7.Text = issent.ToString();
else
issent = 0;
label7.Text = issent.ToString();
if (Convert.ToInt32(label3.Text) > 0 && Convert.ToInt32(label2.Text) > Convert.ToInt32(label3.Text) && Convert.ToInt32(label7.Text) == 0)
Sales.SalesClass SalesClass2 = new Sales.SalesClass();
SalesClass2.InsertShipment("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123", Convert.ToInt32(label3.Text), Convert.ToInt32(label2.Text));
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y,
0, 0, Screen.PrimaryScreen.Bounds.Size,System.Drawing.CopyPixelOperation.SourceCopy);
bitmap.Save("C:\\screenshot.jpeg", System.Drawing.Imaging.ImageFormat.Jpeg);
string smtpAddress = "smtp.mail.yahoo.com";
int portNumber = 587;
bool enableSSL = true;
string emailFrom = "[email protected]";
string password = "2234";
string emailTo = "[email protected]";
string subject = "Working Start" + label6.Text;
string body =
"Quantity Required" + "" + "(" + label2.Text + ")" + "/" +
"Quantity Shipped" + "/" + "(" + label3.Text + ")" + "/" +
"Quantity Remaining" + "/" + "(" + label4.Text + ")";
using (MailMessage mail = new MailMessage())
mail.From = new MailAddress(emailFrom);
mail.To.Add(emailTo);
mail.Subject = subject;
mail.Body = body;
mail.IsBodyHtml = true;
mail.Attachments.Add(new Attachment("c:\\screenshot.jpeg"));
System.Net.Mail.SmtpClient smtp = new SmtpClient(smtpAddress, portNumber);
smtp.Credentials = new NetworkCredential(emailFrom, password);
smtp.EnableSsl = enableSSL;
smtp.Send(mail);
private void timer5_Tick(object sender, EventArgs e)
if (Convert.ToInt32(label3.Text) == 0 && Convert.ToInt32(label4.Text) == 0)
Sales.SalesClass SalesClass2 = new Sales.SalesClass();
SalesClass2.DeleteProcesses("Data Source=192.168.1.5;Initial Catalog=Altawi-last06-01-2015;User ID=admin;Password=123"); -
When using the 6024E DAQ card, with VB5, is there anything that one has to do to close / shutdown the card before exiting the application. The application only uses AIRead_Scan and DigIn_Port functions.
Raghunathan
LV2012 to Automate Hydraulic Test rigs.Hello,
You won't need any other functions after AI_Read_Scan or after DIG_In_Prt since both functions are for none buffered acquisitions.
For more information, I recommend that you take a look at the shipping examples that get installed under the folder C:\National Instruments\NI-DAQ\Examples
Good luck with your application! -
"The handle is invalid" error installing biztalk 2013 HL7 accelerator
I have installed Biztalk Server 2013 on a Windows Server 2008 R2 SP1 machine and Sql Server 2008 R2 SP1 but when i try to install the HL7 accelerator it fails with the error message "The
specified account "Domain\AccountName" is invalid. Error code: The handle is invalid."
I already followed the steps in http://blogs.msdn.com/b/mandi/archive/2014/06/22/quot-the-handle-is-invalid-quot-error-installing-hl7.aspx but
the error remains.
what could be the problem?
ThanksGuys,
we just got the BizTalk 2010 HL7 accelerator installed yesterday on two servers. We had to uninstall several Windows updates. We tried to pinpoint which updates are causing the problem, but were unable to narrow the list much. Along with the original 5 mentioned
earlier in the post here is a list of the other unpdates we uninstalled. All of these are very recent updates. It's a bit long, but it worked. Uninstalling these also worked for a friend of mine at another company this week.
KB2973351
KB2973201
KB2962872
KB2961072
KB2871997
KB2982378
KB3000869
KB2991963
KB3005607
KB3006226
KB3010788
KB3011780
KB2979570
KB2840631
KB2978120
KB3003743
KB2972100
KB2861191
KB2832414
KB2861698
KB2973112
KB2992611
KB3000061
KB2987107
KB2984976
KB2984972
KB2977292
KB2968294
KB2937610
KB289484v2
KB2943357
KB2993958
KB3002885
KB3003057
KB953196 -
'You can post in new year only after closing the previous year
Hello Experts,
I am also getting same error while executing depreciation run AFAB ''You can post in new year only after closing the previous year''.
I found one OSS Note 18800 and it is saying solution as below ...
At the first depreciation posting in the new fiscal year after a shortened fiscal year, the fiscal year variants must, in all cases, still be entered in asset customizing and in FI customizing for the affected company code. If necessary, all periods for the following fiscal year must be maintained with the variant of the shortened fiscal year.
Up to 2.2D the following correction must also be installed:
Please carry out the syntax check only in main program SAPLAFAR.
But in my case there is no shortended fiscal year.
Can I apply this OSS note correction instructions ?
Please suggest me.Hi
I don't think so. Moreover that is applicable till 2.2D.
Moreover depreciation is to be run for all periods you have not run earlier. Please check upto which period dep run has happened. Thereafter close the fiscal years in order thro AJAB.
S Jayaram -
Error message when closing down computer
Adobe photoshop downloader boot will not shut down automatically when I close down the computer. What settings can I change. I cannot find anything to help in edit/preferences. I have the starter edition.
Error message when closing down computer
Ainslie Collison - 09:03pm Sep 12, 2008 Pacific
Adobe photoshop downloader boot will not shut down automatically when I close down the computer. What settings can I change. I cannot find anything to help in edit/preferences. I have the starter edition. -
Error 8 when starting the extraction program
HI all
I have the following problem when i start an extraction. "Error 8 when starting the extraction program" I test the Extraction program on the R/3 system(source system) and it works, It displays records. On the target system in the infpk under step-by-step it gives you the error and It does not give a oss number, it only suggest that you need to look for a OSS. We have BW 3.5 installed with ECC 5.0.
Also on the source system Tcode WE02, for the load period id displays the IDOC with a red light with the same error. It displays the partnet, basic type and the port, the Error is marked next to inbound(inbox).
Regards
alexAlex,
Check the following OSS notes
947690
511475
23538
Even though the note 947690 is for process chain the steps mentioned in this note could cause Error 8 when scheduling a package for extraction. I think in your case the server name or the host name is incorrect. Check the host and the server name in TCODE SM51 and ask basis to look for the same in RFC entries using SM59 as well.
Abdul -
Failed to execute with the error Error occurred when starting the parser: t
Dear All
I am getting this error
""A database error occurred. The database error text is: The MDX query SELECT { [DASKA1EDEL2DMLXTQ62S595QV].[DB7BP4A8AMQTUD3DPEEPS4J87] } ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH].[LEVEL01].MEMBERS, [DASKFZ1TRFOLNTG78G0HH2B87].MEMBERS ), [0MATERIAL].[LEVEL01].MEMBERS ), [0PLANT].[LEVEL01].MEMBERS ), [0COMP_CODE].[LEVEL01].MEMBERS ), [0ACTDELDATE].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_NAME, MEMBER_CAPTION ON ROWS FROM [0IC_C03/ZMATSTOCK] failed to execute with the error Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'. (WIS 10901)""
I already went to similar kind of error solution in forum,but this error is coming for one web I query,all other reports are working fine.
I already implemented note 1032461Hi,
Under normal circumstances it should be enough to restart the connection service.
As far as we know there is no formal solution to this problem from SAP yet but restarting the connection service is much less of an interuption compared to restarting the the SIA.
Re-starting the connection service should resolve this issue. since, Connection service is only related to DeskI and Rich Client re-statrng wonu2019t impact other business objects components including java report panel.
All the Best,
Madhu.... -
Socket Exception when closing the console
Hi ,
I'm running WLC & P Server 3.5/WL 6.1 in the following environment
Weblogic Version: WebLogic Server 6.1 SP1
JDK Vendor: Blackdown Java-Linux Team
JDK Version: 1.3.1
Operating System: Linux
and I'm getting very often this exception when closing the console
<Dec 30, 2001 2:21:48 PM EST> <Error> <HTTP> <Connection failure
java.net.SocketException: Error in poll for fd: '60', revents: '24'
at
weblogic.socket.PosixSocketMuxer.deliverBadNews(PosixSocketMuxer.java:429)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
I also get the same behaviour under WL 6.1 alone when closing the console.
Does anybody know what this means?
Thanks,
DanOoops, sorry for the repost.
I can see my first post on the newsgroup when I access it with the browser
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.develo
per.interest.personalization&item=1650&utag= )
but I cannot see it when using my newsgroup reader (Outlook Express).
Dan
"Dan" <[email protected]> wrote in message news:[email protected]..
Hi ,
I'm running WLC & P Server 3.5/WL 6.1 in the following environment
Weblogic Version: WebLogic Server 6.1 SP1
JDK Vendor: Blackdown Java-Linux Team
JDK Version: 1.3.1
Operating System: Linux
and I'm getting very often this exception when closing the console
<Dec 30, 2001 2:21:48 PM EST> <Error> <HTTP> <Connection failure
java.net.SocketException: Error in poll for fd: '60', revents: '24'
at
weblogic.socket.PosixSocketMuxer.deliverBadNews(PosixSocketMuxer.java:429)
at
weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
I also get the same behaviour under WL 6.1 alone when closing the console.
Does anybody know what this means?
Thanks,
Dan -
Errors occured when compile the bpel process
Errors occurred when compile the bpel process using bpel designer for Eclipse:
(com.oracle.bpel.designer_0.9.13)
using PM: bpel_jboss_101200
More error infomation following:
Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
main:
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
[bpelc] retun true;
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
[bpelc] retun true;
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.collaxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.collaxa.cube.engine.types.bpel.CXPartnerLink.
[bpelc] __pl.setPartneLinkBinding(getProcessDescriptor().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
[bpelc] __setOutgoingLinks(__sc, __ctx);
[bpelc] ^
[bpelc] 4 errors
BUILD FAILED
E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml:28: ORABPEL-01005
Error in java files auto-generated when compiling ,why?
Thanks!when compiled again without any change, the same errors like above are not occurs
more info.
Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
main:
BUILD SUCCESSFUL
Total time: 9 seconds
BUT, some errors occurs in BPEL PM server and in Console the process is not available
more Info: Because I using Chinese version,some chinese Info occurs in the error infomation ,so i have translated some character into English.
process "AboutTest" (version "1.0") compiled sucessfully
15:49:15,718 INFO [STDOUT] <2007-05-11 15:49:15,718> <INFO> <default.collaxa.cu
be.engine.deployment> process "AboutTest" (version "1.0") loaded sucessfully.
16:25:25,265 INFO [STDOUT] <2007-05-11 16:25:25,250> <INFO> <default.collaxa.cu
be.compiler> validating "E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0.jar\
AboutTest.bpel" ...
16:25:35,015 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
16:25:35,015 INFO [STDOUT] retun true;
16:25:35,015 INFO [STDOUT] ^
16:25:35,031 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
16:25:35,031 INFO [STDOUT] retun true;
16:25:35,031 INFO [STDOUT] ^
16:25:35,859 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.col
laxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.colla
xa.cube.engine.types.bpel.CXPartnerLink.
16:25:35,859 INFO [STDOUT] __pl.setPartneLinkBinding(getProcessDescript
or().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
16:25:35,859 INFO [STDOUT] ^
16:25:35,859 INFO [STDOUT] E:\OraBPELPM\domains\default\tmp\.bpel_AboutTest_1.0
.jar\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
16:25:35,859 INFO [STDOUT] __setOutgoingLinks(__sc, __ctx);
16:25:35,859 INFO [STDOUT] ^
16:25:35,859 INFO [STDOUT] 4 errors
16:25:36,343 INFO [STDOUT] <2007-05-11 16:25:36,312> <ERROR> <default.collaxa.c
ube.engine.deployment> <CubeProcessFactory::generateProcessClass>
process "AboutTest" (version "1.0") compiled failed.
16:25:36,359 INFO [STDOUT] <2007-05-11 16:25:36,359> <ERROR> <default.collaxa.c
ube.engine.deployment> <CubeProcessLoader::create> can not compile the class .
can not compile the bpel class generated from "AboutTest".
16:25:36,375 INFO [STDOUT] <2007-05-11 16:25:36,375> <ERROR> <default.collaxa.c
ube.engine.deployment> process "AboutTest" (version "1.0") loaded failed!!
16:25:37,281 INFO [STDOUT] <2007-05-11 16:25:37,265> <ERROR> <default.collaxa.c
ube> <BaseCubeSessionBean::logError>
if you have installed patched in server, please check whether the proriety "bpelcClasspath" contained the patch class.
16:25:37,343 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sHolder.bind(CubeProcessHolder.java:1257)
16:25:37,343 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sHolder.loadAndBind(CubeProcessHolder.java:870)
16:25:37,421 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sHolder.loadArchive(CubeProcessHolder.java:812)
16:25:37,421 INFO [STDOUT] at com.collaxa.cube.engine.CubeEngine.loadProces
sArchive(CubeEngine.java:985)
16:25:37,421 INFO [STDOUT] at com.collaxa.cube.ejb.impl.BPELDomainManagerBe
an.loadProcessArchive(BPELDomainManagerBean.java:390)
16:25:37,421 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
16:25:37,421 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
16:25:37,421 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
16:25:37,421 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$Conta
inerInterceptor.invoke(StatelessSessionContainer.java:683)
16:25:37,421 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedCo
nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanc
eInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
nvokeNext(AbstractTxInterceptor.java:84)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:282)
16:25:37,421 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:148)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.inv
oke(SecurityInterceptor.java:111)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
ogInterceptor.java:191)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInter
ceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.inter
nalInvoke(StatelessSessionContainer.java:331)
16:25:37,437 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java
:709)
16:25:37,437 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor81.invoke(
Unknown Source)
16:25:37,437 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
16:25:37,437 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispa
tch(ReflectedDispatcher.java:60)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:62)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:54)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:82)
16:25:37,437 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:197)
16:25:37,453 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:473)
16:25:37,453 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invok
e(LocalInvoker.java:97)
16:25:37,453 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invok
e(InvokerInterceptor.java:90)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke
(TransactionInterceptor.java:46)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(Se
curityInterceptor.java:55)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.ejb.StatelessSessionIntercept
or.invoke(StatelessSessionInterceptor.java:100)
16:25:37,453 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(Client
Container.java:85)
16:25:37,453 INFO [STDOUT] at $Proxy146.loadProcessArchive(Unknown Source)
16:25:37,453 INFO [STDOUT] at com.collaxa.cube.engine.deployment.CubeProces
sMonitorWork.run(CubeProcessMonitorWork.java:129)
16:25:37,453 INFO [STDOUT] at oracle.tip.adapter.fw.jca.work.WorkerJob.go(W
orkerJob.java:51)
16:25:37,453 INFO [STDOUT] at oracle.tip.adapter.fw.common.ThreadPool.run(T
hreadPool.java:267)
16:25:37,453 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
16:25:37,453 INFO [STDOUT] <2007-05-11 16:25:37,453> <ERROR> <default.collaxa.c
ube.engine.deployment> <CubeProcessMonitorWork::run> Error while loading process
archive E:\OraBPELPM\domains\default\deploy\bpel_AboutTest_1.0.jar
why?
thanks -
Excel extractor produces error "Error 8 when compiling the upload program"
I am trying to test a new Excel extractor I've created but when I do so I get the following error:
RSAR233
Error 8 when compiling the upload program: row 446, message: A newer version of data type /BIC/B0000788000 was
I've tried reactivating transfer structures and transfer rules but with no success. When I activate the transfer structures I can see in the status bar briefly a message refering "Activating Structure /BIC/B0000788000". I am assuming it's the technical name of the structure which supports the extraction.
Any ideas?
Thanks for the help.OK, I can see your point. The Communication structure fields have data types, CHAR, CURR and DATS (those are the data types for the info-objects I am trying to load).
But if I try to assign the same data types to the objects of the transfer structure which match the flat file I get errors like "Invalid data type (DATS) for source systems of type Ext. System.". What I understand this means is that I cannot use data types other than CHAR in the flat file structure so how can I assign data from a CHAR flat file to a DATS destination object? Do I need some kind of conversion? How? Do I really need a routine in the transfer rules? -
I am getting an un expected error message when updating the setting to "extend network". Is there an obvious setting I may be missing? Cisco router being used.
If you are trying to "extend" using wireless only, you may not be aware that Apple designed the "extend" feature as a proprietary setting to only work with other Apple routers.
It is extremely unlikely that this will work with a Cisco router.
If your plans call for connecting the AirPort Express to the Cisco router using a wired Ethernet connection, it should be possible to configure the Express that way. -
After I upgraded iTunes, iTunes doesn't recognize CD in the drive, apparently isn't the default player. It won't let me set iTunes as the default player, I get the error message "An error occurred when updating the default player for audio files types." I tried Whitesides' remedy (changing Read Only status in folder in Windows) but it didn't solve the problem. Any suggestions? Thanks.
JOddly enough. I think I just solved it. It looks like, for some reason, my computer has about 8 different "iTunes music" folders, and I've been saving my music to the wrong one. Neat. Music now imports and plays as it should. Copying things over is going to be so fun tonight!
-
When synchronizing my iphone4 on the computer it errors out when optimizing the photos and shuts down iTunes. Any idea what to do to get the synch working?
OKay, here is the deal. You cannot change the location of encrypted files nor can you share them with other machines. There is no file server for iTunes so even if you export the movie index from iTunes to an external volume, each time you reboot your computer itunes has to reindex the external drive every time you want to access the files. The second you run your mobile computer without the external drive or try to access the HD movies from another device or another user on the same network, the indexing gets out of synch. The entire process is self defeating regardless. The HD movies are encapsulized by apple to stream to your devices via iCloud and NOT via Cloud. Only your TV can play 1080p. That single file you download from iTunes has mutiple versions of the same video in the capsul, one version for each type of apple device. There are no 1080p apple devices except for the Apple TV. When you buy a movie you are buying a license and not the movie. It's going to get worse with all the new copywrite laws. Already you cant share any apple devices with other itunes accounts. Your airport express just stopped streaming music to all users on the local home sharing Cloud. Only the one user for each device and soon only airplay speakers connected directly to the device. No more passthru via your TV and no more file sharing with other accounts on the same wi-fi. All the ISPs are doing the same thing. And soon everybody will be buying their phones and TV's and iPads from the cabble guy.
Apple has done a poor job of educating the consumer as to the difference between the Cloud and iCloud. They are not the same at all.
Message was edited by: ronfromwoodland hills -
Why do I get Error -1073807343 when calling the open visa function ?
Hello,
I am running a Labview 6i under Linux (kernel 2.4) and I have Error -1073807343 when calling the open visa function. I have verified the name of the session (GPIB0::9::INSTR), and I can communicate with my instruments with ibic.
More informations : I use NIVISA 2.5 and nigpib-0.8.2. I have downloaded the lastest drivers of my instruments but it doesn't work better.
Thanks very much for your help.We've had several NI-VISA releases since 2.5 - so I suggest you upgrade to NI-VISA 3.0. While there isn't anything specific to your type of problem in the Linux version of our readme.txt, I know we've made a number of other fixes.
While the most recent release is NI-VISA 3.1, I still recommend you upgrade only to 3.0.
This is because NI-VISA 3.1 requires the new NI-488.2 release for GPIB-ENET to be installed (even though you aren't using that product). This is due to some internal rearchitectures, and the PCI-GPIB product is not released. If you do want to go with NI-VISA 3.1, the new NI-488.2 release for GPIB-ENET on Linux will still work with the PCI-GPIB beta driver that you have installed.
Dan Mondrik
National Instruments
Maybe you are looking for
-
Connection to FullHD LCD through VGA
I have connected my X200s to a Philips LCD TV before by VGA (TV resolution 1300something x whatever) but I am wondering if Full HD would be too much (1920x1080px) and if the image quality will be good enough to make it worth buying. I have searched
-
Bt sport data usage via bt sport app
Hi, as I can't get infinity in my area I'll be stuck to watching this through the app streamed to tv via raspberry pi (hopefully) will this come out of my data allowance as if so it seems like I'm being kicked twice as its not my fault there is no in
-
Hello, i have reached Apple Product Professional but i have not received my Pin yet. It's almost 3 weeks now! Do you know about the shipping? What's happened? Apple send this pin or no? Thanks a lot
-
Turn off setting in pages?
Hello, could you please help me. I am working in "pages" I have obviously accidentally turned on a setting, with every tab down and space it shows me in blue a little (dot .) and everytime I enter it shows a little insert symbol. how do I deactivate
-
Using *.csv as download name
Hello, I am trying to download a CSV files and I want to force the user to put in there own name. I am trying to get the download box to display the filename as *.csv, but am having no luck. Any suggestions?