Log warning "Link from unexpected type of object" ("Possible path leak, unable to purge elements of base")
Hey,
I'm getting the following warning after closing my LabVIEW application (see also LabVIEW code snippet attached).
Can you help me figure out if this may be relevant?
I don't experience anything unexpected, also no leaking of memory.
Thanks,
Peter
#Date: Mo, 11. Nov 2013 15:14:42
#OSName: Windows 7 Enterprise Service Pack 1
#OSVers: 6.1
#OSBuild: 7601
#AppName: LabVIEW
#Version: 12.0 32-bit
#AppKind: FDS
#AppModDate: 06/26/2012 19:23 GMT
#LabVIEW Base Address: 0x00400000
Processing 1230000708 link to [LinkIdentity "ProcessTaskWrapper.lvclass:" [ Mein Computer]
<DEBUG_OUTPUT>
11.11.2013 15:15:35.726
DWarn 0xC1CF3BB8: Link from unexpected type of object {HeapClass=BDHP,UID=5401,DPId=23,o=0x0de33558} in VI [VI "ProcessPool.lvclass:configure.vi" (0x11646770)]
e:\builds\penguin\labview\branches\2012\dev\source\linker\HeapLinker.cpp(2852) : DWarn 0xC1CF3BB8: Link from unexpected type of object {HeapClass=BDHP,UID=5401,DPId=23,o=0x0de33558} in VI [VI "ProcessPool.lvclass:configure.vi" (0x11646770)]
minidump id: 236443a2-84d3-403e-a24a-fb72dd7ff65d
$Id: //labview/branches/2012/dev/source/linker/HeapLinker.cpp#12 $
</DEBUG_OUTPUT>
0x0069DDF3 - LabVIEW <unknown> + 0
0x10016460 - mgcore_SH_12_0 <unknown> + 0
0x013E32A5 - LabVIEW <unknown> + 0
0x00EBECFC - LabVIEW <unknown> + 0
0x01060FD1 - LabVIEW <unknown> + 0
0x0106112D - LabVIEW <unknown> + 0
0x0106A5C9 - LabVIEW <unknown> + 0
0x0106B6D1 - LabVIEW <unknown> + 0
0x005C28D3 - LabVIEW <unknown> + 0
0x005C03FC - LabVIEW <unknown> + 0
0x005C1BCB - LabVIEW <unknown> + 0
0x005C20AE - LabVIEW <unknown> + 0
0x006495BC - LabVIEW <unknown> + 0
0x009ECF0E - LabVIEW <unknown> + 0
0x01CC57D4 - LabVIEW <unknown> + 0
0x01CC5964 - LabVIEW <unknown> + 0
0x006513E3 - LabVIEW <unknown> + 0
0x00657C9D - LabVIEW <unknown> + 0
0x00B87A67 - LabVIEW <unknown> + 0
0x00B8C606 - LabVIEW <unknown> + 0
0x00B8DA6D - LabVIEW <unknown> + 0
0x014A90C2 - LabVIEW <unknown> + 0
0x014ABA3C - LabVIEW <unknown> + 0
0x014ADA42 - LabVIEW <unknown> + 0
0x01B4BE87 - LabVIEW <unknown> + 0
0x01BF99C5 - LabVIEW <unknown> + 0
0x01B5DBFC - LabVIEW <unknown> + 0
0x761D62FA - USER32 <unknown> + 0
0x761D6D3A - USER32 <unknown> + 0
0x761D77C4 - USER32 <unknown> + 0
0x761D788A - USER32 <unknown> + 0
0x01BF9C4D - LabVIEW <unknown> + 0
0x01BFA0C7 - LabVIEW <unknown> + 0
0x042F14D6 - QtManager452_2012 <unknown> + 0
0x670E7261 - NIQtCore_2012 <unknown> + 0
0x00000000 - <unknown> <unknown> + 0
Possible path leak, unable to purge elements of base #0
Attachments:
2013-11-11_153125.jpg 48 KB
Hello Peter,
as you can imagine, it is difficult for us to interpret an error message without a certain amount of information.
Even more, when you cannot reproduce it yourself every time.
And, on a side note, we as Application Engineers do not know how exactly the compiler works.
This could be something for the developers, but: to escalate an issue to the developers, there are some requirements.
- we have to know exactly when and how the error occurs, i.e. the exact steps which have to be done, so you can force the error to show up
- exact OS, LabVIEW version, all NI Software which is installed
- what is the application
- what has been done as troubleshooting actions, can the issue be avoided somehow
- we would need your VI or project, or at least a minimal version of them, which can produce the error message
- one of us should be able to reproduce the procedure and get the same error
I am sorry, but at this point, it seems like I cannot do much for you in this topic.
Have a nice day,
Best regards
PS: one more question:
is this even a message from LabVIEW? For me, it seems like a Windows crash report - which we can not fully support.
Christopher W.
Intern Application Engineering | NI Certified LabVIEW Associate Developer (CLAD) | NI Germany
Similar Messages
-
Link from IS-U connection object to email from marketing campain
Hi all,
I've a problem with emails from marketing campains in WebUI.
If you send an email from such a campain, it is linked at the contact historie of the receiving BP.
But we need an additional link from the IS-U connection objects of this BP to this email.
I implemented the badi CRM_MKT_MODIFY_ORDER to add the link in the docflow segment.
but now there a two mistakes. from the contact history of the BP the link still starts BT126H_MAIL, but only the part "references" is filled with BP, contact, res.employee and header data of the marketing campain. The email block is empty although the mail was sent correctly. Why am I losing the reference to the the email/smartform?
the second mistake is even more curious to me. in the contact history of the connection object is a link to the email created. But the link leads to component BT126H_APPT although its category is email.
Any idea, what's my mistake?
regards
Martin
Edited by: Martin Knittel on Aug 3, 2009 5:11 PM:
I solved problem no 1. Forgot a partner dataset in the badi.
But need still your help with problem no 2. Why is there a link to BT126H_APPT instead of BT126H_MAIL?Was a mistake in standard coding. Solved by sap note
-
Creating Abstract datatypes from Create Type As Object
hi.
I am define new type abstract datatypes as
create type cust_address_ty as object
(STREET VARCHAR2(25),
CITY VARCHAR2(25),
COUNTRY VARCHAR2(25));
then insert data into new created table
when we run sql select command for * from
following error occured.
SQL> select * from fml.cust;
select * from fml.cust
ERROR at line 1:
ORA-01024: invalid datatype in OCI call
what should i do for this.
please help
thanks
Alitry to update your sqlnet version.
regards
daniel -
Hello,
When we migrated to NW04 Sp15 the Log Viewer Link from System AdministrationSupport disappeared. How can I view the portal log?, I don´t have access to the server, for that reason I want to see the log from the portal. Are there a way to see again the link Log viewer or exist another way to see the log?
Thanks in advance for your help
Maria TeresaHello,
I also faced the same problem.
The link is missing in SP15. you can still access the log view with the following URL.
http://<<servername:port>>/irj/servlet/prt/portal/prtroot/com.sap.portal.runtime.admin.logviewer.default
consider rewarding points.
Regards,
Lakshminarayana -
Problem logging into adobe from Photoshop...
When I am trying to log into my adobe account from Photoshop, I am getting an Error 400? Is anyone else having this problem?
Thank you very much for the reply. I don't use photoshop usually and was just wanting to play with some things on it so its not a big deal to me was just curious. Anyway, thanks for the info. Have a good night
Thanks,Amber
Date: Sat, 2 Nov 2013 14:15:44 -0700
From: [email protected]
To: [email protected]
Subject: Problem logging into adobe from Photoshop...
Re: Problem logging into adobe from Photoshop...
created by Barbara B. in Photoshop Elements - View the full discussion
If you are talking about photoshop.com, anyone who tries will get that error because there is no more photoshop.com. You should have received a bunch of emails about any photos there getting moved to Revel, but you can't use Revel from within the versions of PSE that had photoshop.com:
http://barbarabrundage.com/2013/09/16/pse-8-9-10-cant-sign-in-error-40 4/
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5809632#5809632
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5809632#5809632
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5809632#5809632. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Photoshop Elements at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Remove
alert
|
Edit
|
Change
type
0
We are on windows environment as below -
Server -
- Win2k8 Std R2,
- SQL 2008,
- SP 2010 Foundation SP2
Client -
- Win 8.1 64 Bit OS,
- Browser - IE 11
- MS Office - 2010 - 14.0.4763.1000
Problem -
While Opening links from word document(Ctrl+Click) , get error message "An Unexpected
Error had occured". And link is not opened.
We are using this client using remote desktop.
Any ideas on this?
Does Microsoft provided any fixes for this?
shwetankHi,
Have you tried the hyperlinks in other Office programs like Outlook and PowerPoint? Do they work well?
You may need to run the Fix it in this kb below:
http://support.microsoft.com/kb/310049/en-us
You can also try the steps in the section "Let me fix it myself". Although this kb is written for Outlook, it may help in your scenario as well.
I hope this is useful.
Regards,
Melon Chen
TechNet Community Support -
New Object Types for Object Links
Need to create new Object type to object link Product hierarchy from ECC to RPM Item. Field is PRDHA.
Do we need to create new structure to have the Key linking PRDHA.
Any suggestions?Hi,
For this, you need to create Key, Proxy class and search field.
Logically if you use same Proxy class and key as that of PO then the system will search for PO number rather than PR.
I hope you are clear now.
Take help of an ABAPer
Niranjan
Let me know if it helps !!! -
DMS EKKO missing link from Object side
Hello,
i have created a new Document typ with Object links: IFLOT (functional location), EKKO (Purchase Order) (We have created a new Screen 9001 and implemented it in SAPCV130, SAPCV130 and set all needed customzing settings.) and LFA1 (Vendor).
My questions:
1. I could not find a link (or Button) on Purchase Order side in transaction ME22N/ME23N to open the assigned Documents.
How can I implement this link?
2. If I create a DIR in CV01N, I like to type the value in Object link EKKO (Purchase Order) manual and the system has to take the value LFA1 (Vendor) automatic from the Puchase Order.
How can I solve this request?
Thanks in advance for your comments.
Best Regards,
MelanieHi Melanie,
regarding your questions I hope that the following information could be useful for you:
1. I could not find a link (or Button) on Purchase Order side in transaction ME22N/ME23N to open the assigned Documents.
How can I implement this link?
Based on your description I would kindly ask you to check in customizing
under
Cross-Application Components
>> Document Management
>> Control Data
>> Maintain Key Fields
if the entry 'EKKO ME33K EBELN' exists. Please make sure that the
transaction code ME33K is maintained here too.
To grant that allways the currenct screens and authorizations were
called please maintain also the value "1" into the "Authorization"
column. For further informations on this maintainance please see the
SAP note 1066915. It's important that you not enter the mentioned
screen number wihtout the leading "1" as this number is added
automatically by the system (e.g. object MARA 1201 maintain like MARA
201). You can do this in customizing under:
Transaction SPRO
> Cross-Application-Component
> Document Management
> Control Data
> Define screen for object links
If you need the dynpro number or object you will find all standard SAP
objects and their screen number in function module CV130 (Screens) by
transaction SE80. Please maintain all necessary SAP objects.
2. If I create a DIR in CV01N, I like to type the value in Object link EKKO (Purchase Order) manual and the system has to take the value LFA1 (Vendor) automatic from the Puchase Order.
How can I solve this request?
Here I think that the BADI DOCUMENT_OBJ could be useful for you to control the creation of object links from CV01N or CV02N transaction.
Best regards,
Christoph -
Table 'user' fields:
UserID* (Primary Key)
Address
FirstName
LastName
Email
UserName
Password
UserLevel
RegDate
Table 'transaction' fields:
transactionID* (Primary Key)
MonthID
UserID (Foreign Key)
UserName
transactionDate
transactionType
transactionAmount
OpeningBalance
Balance
Desired output table (for the logged user):
transactionDate
transactionType
transactionAmount
OpeningBalance
Balance
My advance recordset details is like this :
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_bankusers, $bankusers);
$query_Recordset1 = "SELECT transactions.UserName, transactions.transactionDate, transactions.transactionType, transactions.transactionAmount, transactions.OpeningBalance, transactions.EndBalance, users.FirstName, transactions.transactionID FROM transactions, users WHERE users.UserName = transactions.UserName ORDER BY transactions.UserName, transactions.transactionID DESC";
$Recordset1 = mysql_query($query_Recordset1, $bankusers) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>
This enables me to pull all the records from both tables but not specific to the logged user.
This is my problem. I would like the record to be pull is for the right user.
I am not sure if the the problem is to do with Session variable MM_UserName as I have no idea how to include it in the advanced recordset box but i am not sure there is no missing session start on this page. Your help or suggestion will be much appreciated.I am getting this error on the browser :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY transactions.UserName, transactions.transactionID DESC' at line 1
Here is my full code :
<?php require_once('Connections/bankusers.php'); ?>
<?php @session_start(); ?>
<?php
if (!isset($_SESSION)) {
session_start();
$MM_authorizedUsers = "";
$MM_donotCheckaccess = "true";
// *** Restrict Access To Page: Grant or deny access to this page
function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) {
// For security, start by assuming the visitor is NOT authorized.
$isValid = False;
// When a visitor has logged into this site, the Session variable MM_Username set equal to their username.
// Therefore, we know that a user is NOT logged in if that Session variable is blank.
if (!empty($UserName)) {
// Besides being logged in, you may restrict access to only certain users based on an ID established when they login.
// Parse the strings into arrays.
$arrUsers = Explode(",", $strUsers);
$arrGroups = Explode(",", $strGroups);
if (in_array($UserName, $arrUsers)) {
$isValid = true;
// Or, you may restrict access to only certain users based on their username.
if (in_array($UserGroup, $arrGroups)) {
$isValid = true;
if (($strUsers == "") && true) {
$isValid = true;
return $isValid;
$MM_restrictGoTo = "loginuser.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
$MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: ". $MM_restrictGoTo);
exit;
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_bankusers, $bankusers);
$query_Recordset1 = "SELECT transactions.UserName, transactions.transactionDate, transactions.transactionType, transactions.transactionAmount, transactions.OpeningBalance, transactions.EndBalance, users.FirstName, transactions.transactionID FROM transactions, users WHERE users.UserName = transactions.UserName AND users.UserName = $MM_UserName ORDER BY transactions.UserName, transactions.transactionID DESC";
$Recordset1 = mysql_query($query_Recordset1, $bankusers) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>
<!DOCTYPE HTML>
<html>
<head>
<title>user summary</title>
<meta name="description" content="website description" />
<meta name="keywords" content="website keywords, website keywords" />
<meta http-equiv="content-type" content="text/html; charset=windows-1252" />
<link rel="stylesheet" type="text/css" href="style/style.css" title="style" />
</head>
<body>
<div id="main">
<div id="header">
<div id="logo">
<div id="logo_text">
<!-- class="logo_colour", allows you to change the colour of the text -->
<h1><a href="index.php">ModelOnline<span class="logo_colour">Bank</span></a></h1>
<h2>Your. Bank. On. Demand.</h2>
</div>
</div>
<div id="menubar">
<ul id="menu">
<!-- put class="selected" in the li tag for the selected page - to highlight which page you're on -->
<li class="selected"><a href="indexoriginal.php">Home</a></li>
<li><a href="register.php">REGISTER</a></li>
<li><a href="login.php">lOGIN</a></li>
<li><a href="aboutus.php">ABOUT US</a></li>
<li><a href="contactus.php">Contact Us</a></li>
<li><a href="cookies.php">Cookies</a></li>
<li><a href="accessibility.php">Accessibility</a></li>
<li><a href="security.php">Security</a></li>
</ul>
</div>
</div> <div align="center" class="bankservices"><a href="http://www.modelonlinebank.com/bankproducts.php#one">Current Accounts</a> | <a href="http://www.modelonlinebank.com/bankproducts.php#two">Savings Accounts</a> | <a href="http://www.modelonlinebank.com/bankproducts.php#three">Mortgages</a> | <a href="http://www.modelonlinebank.com/bankproducts.php#four">Insurance</a> | <a href="http://www.modelonlinebank.com/bankproducts.php#five">Credit Cards</a> | <a href="http://www.modelonlinebank.com/bankproducts.php#six">Investments</a></div>
<div id="site_content">
<div class="sidebar">
<!-- insert your sidebar items here -->
<<h3>Latest News</h3>
<h4>Personal Banking</h4>
<h5>January 1st, 2014</h5>
<p>Current Accounts,Saving Accounts,Range of Credit And Debit cards to suit all your needs. We have your interest in mine.<br />
<a href="#">Read more</a></p>
<p></p>
<h4>Corporate Banking</h4>
<h5>February 5th, 2014</h5>
<p>We help you achieve your goals by providing numerous funding options.Provide Risk management of your finances and look for strategic and finance options to promote business.<br /><a href="#">Read more</a></p>
<h3>Useful Links</h3>
<ul>
<li><a href="#">Credit card</a></li>
<li><a href="#">Debit card</a></li>
<li><a href="#">Loans</a></li>
<li><a href="#">Insurance</a></li>
</ul>
<h3>Search</h3>
<form method="post" action="#" id="search_form">
<p>
<input class="search" type="text" name="search_field" value="Enter keywords....." />
<input name="search" type="image" style="border: 0; margin: 0 0 -9px 5px;" src="style/search.png" alt="Search" title="Search" />
</p>
</form>
</div>
<div id="content">
<!-- insert the page content here -->
<h1>Welcome <?php echo $row_Recordset1['FirstName']; ?>,to your control panel.</h1>
<p><a href="logout.php">Logout</a> </p>
<p>Summary of Last Transaction on our system:
</p>
<form name="form1" method="post" action="">
<table border="0">
<tr>
<th bgcolor="#D6D6D6">Date</th>
<th bgcolor="#D6D6D6">Transaction Type</th>
<th bgcolor="#D6D6D6">Transaction Amount</th>
<th bgcolor="#D6D6D6">Previous Balance</th>
<th bgcolor="#D6D6D6">Balance</th>
</tr>
<tr>
<td><?php echo $row_Recordset1['transactionDate']; ?></td>
<td><?php echo $row_Recordset1['transactionType']; ?></td>
<td><?php echo $row_Recordset1['transactionAmount']; ?></td>
<td><?php echo $row_Recordset1['OpeningBalance']; ?></td>
<td><?php echo $row_Recordset1['EndBalance']; ?></td>
</tr>
</table>
</form>
<p><a href="monthly.php">View Monthly Statement</a></p>
<p><a href="paysomeone.php">Pay Someone</a></p>
<p><a href="standingorder.php">Standing Orders</a></p>
<p><a href="directdebit.php">Direct Debits</a></p>
<p><a href="contactus.php">Customer Services</a></p>
<p> </p>
<p> </p>
</div>
</div>
<div id="content_footer"></div>
<div id="footer">
Copyright © Sundeep gurroby BCS PGD<a href="http://www.html5webtemplates.co.uk"></a>
</div>
</div>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?> -
How to create multiple TYPES of objects from one menu?
Q: How can I create a single class to create objects of multiple 'object classes' in a way that is not a huge switch statement?
Explaination:
Let's say that I have an application that I am building, that manages five hundred object types. A properly-built object subclassing tree is created, and I want to be able to create objects of any 'leaf node' of this subclassing tree using a single 'objectCreate()' method in a 'factory object'. The purpos of this method will be to create an instance of the correct object, pass a handle to a few collections for properly sorting and storing these objects in groups.
Usually, one could create a switch in this function, testing for the type of object that the user wants to create from the menu. But in the case of having hundreds of possible object choices, this becomes harder and harder code to maintain (let alone performance).
Any suggestions?But if my menu has:
1. German Shepard
2. Doberman Pinscher
3. Malamut
4. Persian Long-hair
5. Siamese
6. Tabby
And my object class tree goes:
[ Animal ]
[ Cat ] [ Dog ]
[ various breeds ] [ various breeds ]How do I code the menu class to respond to the input, so that it runs the correct [breed] object's constructor?
The line:
Animal choice = new xxxxxxxx();
I can't use a variable to replace 'xxxxxxxx' in run-time, but having a ton of choices in code sounds/looks unreasonable.
if (choice == "Doberman Pinscher")
Animal choice = new doberman();
else if (choice == "Tabby")
Animal choice = new tabby();
Do you see what I am trying to avoid? I am not experienced enough to instantly realize how to avoid the latter, and instead, do a single instantiation command for the correct constructor. -
Type of object from a database date/time column
Hello everyone,
I've got a concern regarding the way in which coldfusion is
treating date/time columns in a database.
In my opinion when I select a column that is let's say
timestamp type - the object in a query is CF's date/time object.
I've checked the query by getMetaData() and it looks like each
column has its own database type (eq. varchar2, date, etc).
My concern comes from a fact that I've heard that Coldfusion
is treating the date-time columns in a database as strings and in
each case it parses them. So the difference in a locale between a
database server and a Coldfusion server may result in a wrong
date/time object.
Example:
Locale of database EU: yyyy/mm/dd
Locale of Coldfusion US: yyyy/dd/mm
The date like 1st of February 2007 stored in a database would
look then in Coldfusion like: 2nd of January 2007
Could someone please confirm which version is valid?Johnny852 wrote:
> In my opinion when I select a column that is let's say
timestamp type - the
> object in a query is CF's date/time object. I've checked
the query by
> getMetaData() and it looks like each column has its own
database type (eq.
> varchar2, date, etc).
if you already know cf is returning a datetime from a
datetime in the db, what's
the question?
> My concern comes from a fact that I've heard that
Coldfusion is treating the
"fact"? unless the datetime is stored as a string, that's not
a "fact".
> Example:
> Locale of database EU: yyyy/mm/dd
> Locale of Coldfusion US: yyyy/dd/mm
btw neither of your example "locales" are in fact locales.
> The date like 1st of February 2007 stored in a database
would look then in
> Coldfusion like: 2nd of January 2007
if you pass a numeric string representation (2/1/2007 for
instance) of a date to
cf, it will be interpreted via the cf server's "default"
local (ie en_US,
month/day/year) unless you use one of the LS functions like
LSParseDateTime() &
specifically set the the locale (like setLocale("th_TH")) or
make the date
non-ambiguous (2-feb-2007) or build the date yourself from
user input using
createDate() or createDateTime(). you just need to convert
the user's string
representation to a valid cf datetime object (or i guess
force to database to
follow the user's locale date mask). -
Add a new type of object links (transaction CV02N) - by material group .
Hi experts .
How can I create an additional screen for new tab by material group
in DMS System ?
I have a requirement : 1. Add a new type of object links in transaction CV02N
by material group(V023-MATKL) .
Today we use 2 existing options : by Equipment and material .
2. Save and display data .
We did the following steps :
1 . In customizing for Document Management :
a. Maintained a key fields :
table : V023 , tran.code : OMSF , field name : MATKL .
b. Maintained screen object link for V023 .
Our problem is screen number . we used at existing screen - 500 for user exit.
So we get a new tab with material instead of material group .
How I can create a new screen with field material group
for set this screen number in step b ?
May be I need the access key for FUNCTION GROUP CV130
and create this screen by myself ? .
c. Defined Object links for special document type .
2 . Created in se19 at implementation of DOCUMENT_OBJ
with defined filter : V023 .
Regards Helena .Hi Nuno,
how did you solve this problem?
tks -
Adding object links to Document types
I tried adding the following object links to a document type
1. STKO_DOC BOM header 258
2. STPO BOM 266
3. STPO_DPC BOM item 259
After adding when i create a DIR against this doc type, the object link tab for all these above object links are greyedout. Its not accepting any user input for these object links. Can anybody suggest me a solution?
Edited by: sujatha sirobhushanam on Jan 19, 2009 7:52 AMHi,
you can add points to a post with the radio buttons on the left hand side at each post. On the left side of a reply you can see the following information:
bhupendra SINGH
Posts: 14
Registered: 5/20/08
Forum Points: 0
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
Beside the last three lines there is a radio button and this needs to be flag to provide points.
Best regards,
Christoph
P.S.: You don't need to write 'Sir' here in the DMS forum. -
The method clone() from the type Object is not visible
Hi,
This is my 1st post here for a few years, i have just returned to java.
I am working through a java gaming book, and the "The method clone() from the type Object is not visible" appears, preventing the program from running. I understand "clone" as making a new copy of an object, allowing multiple different copies to be made.
The error occurs here
public Object clone() {
// use reflection to create the correct subclass
Constructor constructor = getClass().getConstructors()[0];
try {
return constructor.newInstance(new Object[] {
(Animation)left.clone(),
(Animation)right.clone(),
(Animation)deadLeft.clone(),
(Animation)deadRight.clone()
catch (Exception ex) {
// should never happen
ex.printStackTrace();
return null;
}The whole code for this class is here
package tilegame.sprites;
import java.lang.reflect.Constructor;
import graphics.*;
A Creature is a Sprite that is affected by gravity and can
die. It has four Animations: moving left, moving right,
dying on the left, and dying on the right.
public abstract class Creature extends Sprite {
Amount of time to go from STATE_DYING to STATE_DEAD.
private static final int DIE_TIME = 1000;
public static final int STATE_NORMAL = 0;
public static final int STATE_DYING = 1;
public static final int STATE_DEAD = 2;
private Animation left;
private Animation right;
private Animation deadLeft;
private Animation deadRight;
private int state;
private long stateTime;
Creates a new Creature with the specified Animations.
public Creature(Animation left, Animation right,
Animation deadLeft, Animation deadRight)
super(right);
this.left = left;
this.right = right;
this.deadLeft = deadLeft;
this.deadRight = deadRight;
state = STATE_NORMAL;
public Object clone() {
// use reflection to create the correct subclass
Constructor constructor = getClass().getConstructors()[0];
try {
return constructor.newInstance(new Object[] {
(Animation)left.clone(),
(Animation)right.clone(),
(Animation)deadLeft.clone(),
(Animation)deadRight.clone()
catch (Exception ex) {
// should never happen
ex.printStackTrace();
return null;
Gets the maximum speed of this Creature.
public float getMaxSpeed() {
return 0;
Wakes up the creature when the Creature first appears
on screen. Normally, the creature starts moving left.
public void wakeUp() {
if (getState() == STATE_NORMAL && getVelocityX() == 0) {
setVelocityX(-getMaxSpeed());
Gets the state of this Creature. The state is either
STATE_NORMAL, STATE_DYING, or STATE_DEAD.
public int getState() {
return state;
Sets the state of this Creature to STATE_NORMAL,
STATE_DYING, or STATE_DEAD.
public void setState(int state) {
if (this.state != state) {
this.state = state;
stateTime = 0;
if (state == STATE_DYING) {
setVelocityX(0);
setVelocityY(0);
Checks if this creature is alive.
public boolean isAlive() {
return (state == STATE_NORMAL);
Checks if this creature is flying.
public boolean isFlying() {
return false;
Called before update() if the creature collided with a
tile horizontally.
public void collideHorizontal() {
setVelocityX(-getVelocityX());
Called before update() if the creature collided with a
tile vertically.
public void collideVertical() {
setVelocityY(0);
Updates the animaton for this creature.
public void update(long elapsedTime) {
// select the correct Animation
Animation newAnim = anim;
if (getVelocityX() < 0) {
newAnim = left;
else if (getVelocityX() > 0) {
newAnim = right;
if (state == STATE_DYING && newAnim == left) {
newAnim = deadLeft;
else if (state == STATE_DYING && newAnim == right) {
newAnim = deadRight;
// update the Animation
if (anim != newAnim) {
anim = newAnim;
anim.start();
else {
anim.update(elapsedTime);
// update to "dead" state
stateTime += elapsedTime;
if (state == STATE_DYING && stateTime >= DIE_TIME) {
setState(STATE_DEAD);
}Any advice? Is it "protected"? Is the code out-of-date?
thankyou,
Lance 28Lance28 wrote:
Any advice? Is it "protected"? Is the code out-of-date?Welcome to the wonderful world of Cloneable. In answer to your first question: Object's clone() method is protected.
A quote from Josh Bloch's "Effective Java" (Item 10):
"A class that implements Cloneable is expected to provide a properly functioning public clone() method. It is not, in general, possible to do so unless +all+ of the class's superclasses provide a well-behaved clone implementation, whether public or protected."
One way to check that would be to see if super.clone() works. Their method uses reflection to try and construct a valid Creature, but it relies on Animation's clone() method, which itself may be faulty. Bloch suggests the following pattern:public Object clone() throws CloneNotSupportedException {
ThisClass copy = (ThisClass) super.clone();
// do any additional initialization required...
return copy
if that doesn't work, you +may+ be out of luck.
Another thing to note is that Object's clone() method returns a +shallow+ copy of the original object. If it contains any data structures (eg, Collections or arrays) that point to other objects, you may find that your cloned object is now sharing those with the original.
Good luck. -
Linking PM Notification to SAP Objects from different SAP Modules
Hi All,
I have a requirement to link notification to three follow on actions namely:
1. Work order creation (IW31?)
2. PPM to create project
3. Change request to review document (CC31?)
These activities are actions required from Root Cause Analysis. RCA is being done by an external system. An interface is to be used to create a notification in SAP PM. The notification is to be configured with an Action Box containing these three activities as follow on actions.
Is this possible to achieve? And if so, what FM can be used for each of the three SAP Objects?
Will there be a link between the three created objects and the Notification?
Will it be possible to update the Notification with the statuses of any one of these three objects automatically?
Your response would be very much appreciated.
KashHi Maheswaran,
Thank for your response.
I am looking beyond work order. I know this is standard from PM Notification screen. However, any possible linkage with other objects like Change Request, Project etc.
Regards.
Kash
Maybe you are looking for
-
Printing to Remote Printer in another state
Not sure I am in the right section of this discussion board, but can I print to remote printer via the internet? Instead of faxing or emailing, can I send a document to a printer through the web but without additional software, will Leopard let me do
-
Simple IPhoto Questions-How to reduce picture file size?
Hello, I know how to reduce the size of photos using the Mail program, but is there a simple way to reduce the size of photo files and keep them for sending through the internet at later dates. I would like to keep the photos at their original size f
-
Can I convert a PDF back into a PUB file?
Can I convert a PDF back into a PUB file?
-
My redemption code comes up with this oops message and it tells me my code is invalid I don't know how I paid 100$ for it today brand new! I am so frustrated please help anyone with any information that could help
-
I can't get airplay mirroring on my macbook pro
So i got the mirroring to work on my iphone 4s first. Although when i tried to set it up with my macbook pro it won't appear in the menu, only in itunes which doesn't give the option for mirroring. dafuq!?