Fatal bug in LAF project code
I found a fatal error which causes the Java applet to freeze in forms 10.1.2.0.2 on both Solaris and Windows XP. I tested laf versions 1.3.3, 1.3.3.1 and 1.3.4 as well as Java versions 1.4.2 and 1.5 and 1.6. The bug is caused when you use the implementation class, oracle.forms.fd.LAF_XP_Button, on a button, then call another form, then exit the called form but the original form sets one of the buttons to disabled (as in a pre-record trigger of a block). This causes the java code to go into an infinite loop trying to repaint a button it apparently has no access to. The applet then freezes. The only errors I was able to get were in the java console. They always start with java.lang.StackOverFlow Error and then vary as to which component got the errors (Java.awt.component.repaint, java.awt.ContainerOrderFocusTraversalPolicy, java.lang.character.ToLowerCase) etc.
I don't know whether this can be fixed or not but I wanted to warn everyone since this is a tough bug to find.
Everything else I've tested in the laf project works great. Hats off to Francois Degrelle for all of his hard work!
Francois,
Here are some more details. I have a form, call it A, with a data grid. When a user clicks on say the 4th row, I check one of the columns to see if it is populated. If it is not populated, a button with a call_form is enabled. The user presses the button and goes into form B. When they exit form B, form A's data grid is repopulated and the navigation brings them to the first record. In my case, the first record has the field populated which sets the button to disabled via a pre-record trigger on the form. The java applet then hangs when it tries to repaint the buttons. All of the buttons on both screens use the implementation class. When I remove the implementation class for the buttons on Form A, there are no errors.
Thanks,
Similar Messages
-
How to use the add_line procedure of laf project
Hi all.
I'd like to use the add_line procedure of Laf project to draw a line at a specific place in a canvas. But there are several parameters and i can match the one i'm looking for.
I can for example, set how large, thick, color etc. that line is to be drawned. but indeed i, like to place it at a specific location within a canvas, say (56,31).
My current line of code is:
Set_Custom_Property( 'CONTROL_LAF.BEAN',1,'ADD_LINE','1,10,10,300,10,2,r154g106b58,.5,round,blevel');
Any ideas will be highly appreciated.
Regards, Luis ...!Hello,
<p>Do you have the link to the documentation?<br>
You can specify only the first 5 parameter wich are: indice, x1, y1, x2, y2<br>
Set_Custom_Property( …, 'ADD_LINE', '1,56,31,250,31' );
</p>
Francois -
Revision: 4804
Author: [email protected]
Date: 2009-02-02 17:56:22 -0800 (Mon, 02 Feb 2009)
Log Message:
Bugs: LCDS-548: add code to deal with contentType="application/xml" with one parameter (avoid
name/value encoding in that case)
LCDS-405: baseURL on HTTPMultiService should accept URLs which start with "/"
Added convertParametersHandler and convertResultsHandler function hooks to RemoteObject
to support framework code which wants to modify the service behavior.
Moved "properties" from rpc/http/AbstractOperation to rpc/AbstractOperation so we can use
it for customizing the handling of remote object results
Couple of minor ASDoc fixes and one tab -> spaces change
Doc: minor asdoc edits
QE: LCDS QE will verify the bugs in this one
Reviewers: Mete, Pete, Seth, Ed reviewed different parts of this checkin
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-548
http://bugs.adobe.com/jira/browse/LCDS-405
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPMultiService.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.asHello,
How about this as an alternative:
Use a functional global which has 3 cases:
1. open config file - it opens the config file and reads the contents into a string (which is the functional global data), and you only do this one time at the beginning of the program.
2. edit config data - it edits the string, which are really the contents of the file, but doesn't worry about writing to the file. you could even get fancy here, and allow an array of tags and an array of values as input, and it would go update/edit all the tags to have the corresponding values.
3. close config file - it writes the current string data (the functional global data) to the file and closes it.
Using the functions in the string palette, I think you'll find most of the code for that module/functional global will be easy to write.
I hope this helps!
Best Regards,
JLS
Best,
JLS
Sixclear -
I am using win 10 home insider preview, build 10074. When I am trying to install VS 2015 community RC, selected Universal Windows App, it failed at
emulators for windows mobile 10.0.10069 : the installer failed. fatal error during installation. error code: -2147023293
VS file version is 14.0.5596.25192Hello EL_1980,
The error -2147023293 translated to Hex is:FFFFFFFF80070643
0x80070643 is a general error here so it is hard for us to troubleshoot. Please try download the ISO format of Visual Studio 2015 Community so that you can use the fciv.exe tool to verify the hash value. All info are listed on the VS2015 download page:
https://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs.aspx
Please click first "Visual Studio 2015" tap below image.
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi
Engineers of RIM ,
I think I find a fatal bug with curve 8520 and os 5.0 . Everyone konw bb can synchronize date and time with base stations , it is very usefull , but lots of stations don't support time synchronizing in china , the problem is that my bb can't make any telephone call when it can't synchronize time with base stations ,because it display "sos"...
I set >option>date&time>set time ------->manual , but it can't fix my bb .
So I wonder if I could stop the time syc process manually , maybe that will solve this problem ,can you tell me the name of this process ?
By the way , There is not only me in this trouble but also my some friends .
Sorry for my broken English,I wish you can know what I mean , thanks !oped009, Greetings, and welcome to the BlackBerry.com Community Support Forums.
1. what do you mean by 'base stations?'
2. This is a user-to-user community support forum. We are not RIM employees, but volunteers who enjoy assisting other users. RIM personnel rarely comment on queries posted here. You would have noticed this in the EULA and message upon registration.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Trying to use laf project for the first time
hi all , i need help , please
i am trying to use laf project for the first time as i said , and i want help on
the installation process
step by step please , i am soo junior here
i've just downloaded the zip file as the site said (http://fdtool.free.fr/LAF/doc/implementation.htm)
please go to this url and declare the steps to me
thanks in advanceThe Forms Look and Feel Project is not an Oracle product. This product was developed by Francois Degrelle. Francois has posted numerous times in this forum that if you need help with the LAF you have to go to the Oracle Forms Look & Feel Project web site or his PJCs and Java Beans Forum for support.
Craig... -
Aging report - detailed needs invoice project code
Dear All,
Would it be possible for us to have project code (on A/R invoice header) on Aging report - detailed print layout? I found all fields in Aging report - detailed PLD are sys var. Is there a way for us to figure out which sys var is for project code of the invoice? Thanks a lot.
Regards,
YukaUnfortunately you can't, you have to recreate it using crystal. In all SAP std reports you only able to show/print what it already shows.
-
Error while approving change document(TR lost project code)
Hi All,
I am having issue in change document approval, when we are approving change document for unit testing or if release management approving change for pre-production or production approval, we are getting error, I started coming from last two days only,\
when I did detail analysis, in all transports project code related to change document, disappear
although if I create new change document, project code appear,
Do we have way to solve this issue?, I even not able to decouple the transport from change document, it giving error, do we have way where we can resync change document and transport?
DineshHi All,
Do anyone have some solution for this issue?, it is bigger than I thought, I can check it impacted all systems, and all transports, all transports seems to issue they lost project code in it we rollover maintenance cycle last week and this problem started from their, we put charm master note and few other charm fixes(notes) last week,
this problem not coming any new change document, but all change document created before rollover impacted
Dinesh -
Error while "Project Code Generation" in Entity service
Hi SDN's,
I have created an entity service which is the help documentaion of NWDS. After completion of all steps while generating project code i am getting an error called "AbstractStringBuffer not reachable"
Can any body help me in solving this issue.
Thanks in advanceHi Raju,
it seems like you have a version problem, try to use jdk 1.4 or higher and try.
Or go to
Prefrences --> Java --> Installed JRE's here change the Jdk to the latest,compatable version
Sometimes reinstallation also solves such problems.
Award pts if help full
Cheers
Souza -
How to Make Project Code as Mandatory
Hi ! I Need Project code as mandatory in Po's and Sales Order in Row Level. How to Make that one. Also i have a issue with approved PO's. If some PO got approved is there any option to make amendment and resend for again approval.
Thanks and Regards
KamalHi Kamal.......
Try this below SP for making project Code Mandatory........
For Sales Order:
If @object_type='17' and @transaction_type='A'
BEGIN
If Exists (Select T0.DocEntry from ORDR T0 Inner Join RDR1 T1
On T0.DocEntry=T1.DocEntry
Where T1.Project Is Null
And T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Please select Project'
End
End
For Purchase Order:
If @object_type='22' and @transaction_type='A'
BEGIN
If Exists (Select T0.DocEntry from OPOR T0 Inner Join POR1 T1
On T0.DocEntry=T1.DocEntry
Where T1.Project Is Null
And T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Please select Project'
End
End
If your PO is approved and you want to ammend it then your approver has to reject the PO first and it will come to you and then make edition and send it again......
Regards,
Rahul -
Project code based Sales Order and Purchase Order - Item wise Report
Dear all,
Scenario:
We are doing business based on Projects. So, for every Sales , Project code is created and Sales order is booked with Project code and subsequently Purchase Order is booked with Project code. (Note:Some cases, few items might not be purchased since stock is available.)
We want report like
SO Project code
SO Posting date
SO Sales Employee
SO Customer Name
SO Item code
SO Quantity
SO Unit price
SO Row Total
PO Project code
PO Posting date
PO Sales Employee
PO Customer Name
PO Item code
PO Quantity
PO Unit price
PO Row Total
*SO line item and PO line item for same project should be parallel , that is important and challenge (certain cases, item in SO might not be in PO, for such cases Blank field should appear for PO Item code.)
Thanks in advance,
Regards,
Dwarak.Hi Dwarak.......
Your Report is right but a small change you have to make Left join RDR1 with POR1........
Try this.......
SELECT T0.PrjCode, T1.Project, T0.PrjName, T1.DocNum, T1.DocDate, T1.CardName, T2.ItemCode, T2.Dscription, T2.Quantity, T2.Price, T2.LineTotal, T3.Project, T4.ItemCode, T4.Dscription, T4.Quantity, T4.Price, T4.LineTotal FROM OPRJ T0 INNER JOIN ORDR T1 ON T0.PrjCode = T1.Project INNER JOIN RDR1 T2 ON T1.DocEntry = T2.DocEntry LEFT JOIN OPOR T3 ON T0.PrjCode = T3.Project LEFT OUTER JOIN POR1 T4 ON T3.DocEntry = T4.DocEntry AND T2.ITEMCODE = T4.ITEMCODE INNER JOIN OITM T5 ON T2.ItemCode = T5.ItemCode WHERE T0.PrjCode ='[%0]' AND
T5.ItmsGrpCod in ('108', '110') GROUP BY T0.PrjCode, T1.Project, T0.PrjName, T1.DocNum, T1.DocDate, T1.CardName, T2.ItemCode, T2.Dscription, T2.Quantity, T2.Price, T2.LineTotal, T3.Project, T4.ItemCode, T4.Dscription, T4.Quantity, T4.Price, T4.LineTotal
Regards,
Rahul -
Cannot assign Project Code to GST Tax Code
Hi all
With reference to SAP Message 389302, SAP has acknowledged the following limitation.
We would like to feedback to SAP Development team for correction of such limitation so that there is an option to assign Project Code to GST Tax Code in AP Transaction.
Our Client is not able to assign Project Code to Input GST Recoverable in AP Invoice transaction posted to General Ledger.
Currently, we are able to assign Project Code to the GL account for expense and AP Vendor so it will Dr Expense with Project Code Cr AP Creditor with Project Code but there is no way for us to assign Project Code to GST Code in AP transaction.
This is very incomplete and User has to make extra
effort to assign Project Code that is missing in Journal Entry created in from AP Invoice transaction with GST for printing the Balance Sheet by Project Code.
Kedalene ChongJac,
Another issue is cost center or profit center. It must also be assigned in th journal entry.
Rgds, -
Project Code to be included in Depreciation run
Hi Friends,
Previously, the Cost Center was mandatory for all assets. Now, they want the depreciation to flow to either a cost center or to a project code. In accordance with the requirement, I had made Cost Center optional, along with Maintenance Order. Previously Cost Center was mandatory and Maintenance Order was not shown in the asset class master data configuration screen.
Hi Friends,
Find below the description of the issue faced.
Previously, the Cost Center was mandatory for all assets. Now, the depreciation HAS to flow to either a cost center or to a project code. In accordance with the requirement, I had made Cost Center optional, along with Maintenance Order. Previously Cost Center was mandatory and Maintenance Order was not shown in the asset class master data configuration screen.
Further, there was a validation which checked that each asset master had a Cost Center field filled in and a substitution which filled the Cost Center field with a default Cost Center. I have changed the validation to reflect that either a Cost Center or a Maintenance Order is filled in. I have modified the Substitution to reflect either a Cost Center or a Maintenance Order.
Before the above changes were made, the Depreciation run was being executed without any error. After the above changes were made in the system, the Depreciation Run is ending with an error "Account 551100 requires an assignment to a CO object - Message no. KI235"
Even prior to the error, the Default Account Assignment tab in the relevant Cost Element was empty.
I have checked the Field Status Variant and Cost Center is only optional in that.
Can you suggest any further config. settings that have to be changed? Two SAP Notes, 827363 and 98778 have suggested patches, which have already been applied to SAP.
Regards,
GV ShivakkumarAnswered .thanks
-
dear expert all
parameter from date to to date , project code
one of my client requriment i have need project code wise aging report .
send me the query.Hi Zal....
Very Good Afternoon.........
The question was simple. Sinha was simply asking about the Project code wise aging report. If I'm not wrong then for every marketing document level, on header level as well as on row level the project code field is there with the help of which we can categorise the transactions. So if sinha is doing billing as per the project code then he can get the project code wise aging report.
Even you can get the project code wise trial balance sheet also............
Regards,
Rahul -
Profit center and project code report
Hello all,
My customer needs a report showing the profit centers and project codes that appear on AP and AR invoices.
It would be something like:
Project Profit Center Profit Loss Difference
and showing the totals for each different project.
Is this possible?
Thank you.
Kind regards,
Pedro SantosHello Gordon,
Yes, I think a query report is enough.
What the customer wants is to control the profits/costs in each project.
They will add the project code to every sales and purchase invoices and the profit centers.
Then they need to see which profit centers are with more gain or loss inside the projects.
Do you need more information?
Maybe you are looking for
-
Applescript: How to run a script once upon logon for multiple users
I'm deploying a NetRestore image to about 150 Macs which will be using Active Directory and I've designed a custom default user for each new user. However, our system requires a specialized certificate that has to be installed on the local login.keyc
-
I finally made the switch at last !!!!!!!
I have wanted an apple computer now for over a year but I have never been able to afford one as I am a student but finally I got together the money and have purchased a 20" iMac 2.1ghz with 1.5gb RAM and the 250HD. I ordered it last week and the guy
-
hi I created page life cycle for my page and im trying to initialize page by using following code in prepare model method. FacesContext ctx = FacesContext.getCurrentInstance(); Application app = ctx.getApplication(); ValueBinding first = app.createVa
-
After 10.3.9 Upgrade, iPhoto not recognizing Library
After I completed my 10.3.9 upgrade (from 10.1.5), and subsequent upgrade to iPhoto 2.0.1, I get the following effor message when launching iPhoto 2.0.1 (iPhoto was working fine before OS upgrade): Your Photo Library was not found. Do you want to fin
-
Gradient Mesh- Coloring individual points
I'm trying to practice on myself using the gradient mesh tool- I understand the point made about making many smaller meshes e.g. eyes, nose, mouth- I'll start from the beginning- I open an image of myself >open the layers panel and lock my image- Cre