Dynamics of stocks &; value (Exception thrown and not caught cascading list
I have a really strange question in my Apex 4.0 environment where I'm building of dynamic actions and cascading list of values.I'm currently developing new features in an existing application, (original application developed using HTMLdb 1.6 and phased to Apex update 4.0.1), to add a dynamic action that sets a value in another field, using SQL. Dynamic action fails with "Exception thrown and not caught - jquery - 1.4.2.min.js line: 28 Char: 162'.» However, when I create a new application in the same workspace, and develop the same functionality is running smoothly.
I assured that the models for each page/region are one exact copy of the other.
< b > when I run the application in Firebug, I get the following: < /b >
Day Friday, December 31, 2010 14:20:03 GMT
Server Oracle-Application-Server - 11g
X DB-Content-length 87
Set-Cookie HTMLDB_IDLE_SESSION = December 31, 2010 23:20:03. path = /.
Content-Length 87
Keep-Alive timeout = 5, max = 99
Connection Keep-Alive
Content-Type text/html; Charset = UTF-8
Content-Language en
< b > to the application that works, I get response slightly different headers. < /b >
Day Friday, December 31, 2010 14:20:37 GMT
Server Oracle-Application-Server - 11g
Cache-Control non-cache
Pragma non-cache
X DB-Content-length 14
Content-Length 14
Keep-Alive timeout = 5, max = 94
Connection Keep-Alive
Type of application/json content
Content-Language en
< b > view the Content-Type for the version which does not use "text/html", while the working version uses "application/json".
Firebug also gives the following error: < /b >
Eception exception: invalid JSON: Content-type: application/json Cache-Control: non-cache Pragma: non-cache {"value": "1"}
< b > is - anyone has any idea what is happening?
Thank you.
Jon < /b >
Hi John,.
is it possible to have custom authentication when you set a cookie or when you set the HTTP header/mime type?
Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf
Tags: Database
Similar Questions
-
using script to get the values of percentage and not able to sum up to 100%
Hi all
I am trying to use a parseFloat() function to convert the string value as a percentage, and then try to add all the values of %.
but for a few scenrios even if the amount is 100% of the service I get the PctValue be <>100.00%
the calculation of the function is as follows: -.
code-
{iterating_through_all_the_fields}
PctValue += parseFloat (this.getField("Percentage1").valueAsString);
}
sample-
11.12
11.11
11.11
11.11
11.11
11.11
11.11
11.11
11.11
amount is 100
but through code mentioned above I return 99.99
Any help is appreciated in this regard.
It is a result using the floating point IEEE standard and conversion from decimal to binary values values. We need to round up all the calculations of money or mils will accumulate and cause errors. For percentages, it is better to round up receipts and total final eliminate the accumulation of amounts below the figure the least significant.
It is possible to use the util.printf of rounding.
The following script will show what is happening:
function Round (nValue, nDec) {}
If (typeof nDec == "undefined") nDec = 0;
Return number (util.printf ('%, 1 0. nDec + "f", Number (nValue)));
}var nValues = new Array (11.12 11.11 11.11, 11.11, 11.11, 11.11, 11.11, 11.11, 11.11);
nSum var = 0;
for (var i = 0; i)< nvalues.length;="" i++="" )="">
nSum = nSum + Round (nValues [i], 2);
Console.println (i + "" + nValues [i] + "" + nSum);
}
Console.println (nSum);
nSum = Round (nSum, 2);
Console.println (nSum);Progression of the sum at each stage.
0 11,12 11.12
1 11.11 22.229999999999997
2 11.11 33.339999999999996
3 11.11 44.449999999999996
4 11.11 55.559999999999995
5 11.11 66.66999999999999
6 11.11 77.77999999999999
7 11.11 88.88999999999999
8 11.11 99.99999999999999
99.99999999999999
100true
It's a good idea to use decimal values a percentage and leave the determination of the field format display and the borough. But for applications of the sum, the user can round up the value of the actual field and not only display.
-
Started MacBook and not charging with the charger connected. Charger works. Keyboard does not not except the power button / stop. Restarted ex drive no available help hoping that it was a matter of SW. SW and the operating system works very well. Read some info online. Tried to reset the SMC. Now, the MacBook does not start. Can U help me please. Thanks in advance.
MacBook, 2010, Mac OS X 10.6.8
Hi Veronica Steward,.
I understand that you have turned into a series of questions about your MacBook and want help getting the computer to turn on. Here is an article that can help you through the steps to fix this problem:
If your Mac will not turn on - Apple Support
Let us know how it goes and thanks for coming to Apple Support communities.
See you soon.
-
IPhone 6s - microphone does not work on all applications except camera and calls
Hey, I don't know exactly know what happened with my phone. Suddenly, my microphone work on LINE, Whatsapp and almost all other applications that use mic. Except, camera and when someone call me on my number.
But it does not work on whatsapp and LINE calls. And it also does not work when I snapchat. Only works on the default camera Apps and call through my number.
I tried:
-restart my phone
-hard reset and blink? Reset with the power and the "home" button.
-read the micro support page. Still no solution.
TL; Dr:
my microphone does not work on every apps on my phone except calls through number and approx. of default camera it gives you just that silence when I play it on voice notes. But it works when I record yourself using videos on the default camera app.
Hello Bllacke,
Thank you for using communities of Apple Support.
I see from your post, some applications have a problem to access your Microphone. I know how it is important to ensure that your applications have access to the Microphone and can use this feature. I have a few things I want to try.
First, tap Settings on your iPhone and then scroll to the last section that lists your apps. Select the applications that use the microphone and make sure that the Microphone is activated (green).
Then, follow the steps in the article below to close these applications:
Force a nearby application on your iPhone, iPad or iPod touch
Then, test the microphone in these applications again and see if it works.
Best regards.
-
I can not the firefox window to ask me if I want to remember my password. I'm not in private browsing. The site is not on the list of exceptions in the security zone where all other sites of passwords are stored.
Hello, Web sites can specify whether browsers should be able to save the name of user and password (through the AutoComplete = "off" attribute in the login form in the html source code)-it is often the case when a high level of security is probably held by these sites.
You can either install an addon or use a bookmarklet to work around this restriction.
-
I have iPhone and the password not been excepted in2 iclowd.i just changed the pasword today he little yet ist except her and when you enter it doest except that it
can sumone me 2 except that it
tanks very much in advance
Sorry for my bat English
someone pls answer
-
all USB devices not working do not except keyboard and mouse
I have an ASUS 5275 CG and not the devices that I plug it into the USB works except the mouse and the keyboard please help!
Hello Micah,
Thanks for posting your question on the forum of the Microsoft community.
I would like to know some information about the problem so that we can help you better.
1. have you done any hardware or software changes to your computer?
2. what happens when you connect any USB device to your computer? You receive an error message?I would suggest trying the following methods and check if it helps.
Method 1:
Run this Microsoft fixit and check.
Reference:
Hardware devices do not work or are not detected in Windows
http://support.Microsoft.com/mats/hardware_device_problems/If this does not help, then use method 2.
Method 2:
Uninstall and reinstall the USB controllers and check the issue. Please follow these steps.a. Click Start, boot manager type of devices in the search box and press ENTER.
b. develop a 'USB Bus controllers'.
c. right-click on each device under "In Bus USB controllers" and then click on 'Uninstall' to remove them one at a time.
d. restart the computer, and the computer will automatically reinstall the USB controllers.
Please also Update chipset drivers from the link given below. Please select the operating system.
http://support.ASUS.com/download.aspx?SLanguage=en&m=CG5275I hope this information helps.
Please let us know if you need more help.
Thank you
-
1. I removed some programs with REVO Uninstaller Pro and cleared with the Revo uninstaller pro program registry entries.2. when I start the computer Sunrise the next day, the following happened:
3. all my icons on the desktop, except files and JPG files, do not show their original icon.
Instead of the original icon, it has a white sheet with a small window in the center of it.Some original icons are showing, but partially covered by a white sheet of paper icon (the white sheet of paper icon is on top of the box at the bottom left icon of origin.)4. How can I solve this problem?Slideshow of screenshots (3) (Just click arrows to see them all)* (The problem occurs within files as Explorer)Difficulties of file Association for Windows 7
http://www.Winhelponline.com/blog/file-Asso-fixes-for-Windows-7/
http://www.SevenForums.com/tutorials/19449-default-file-type-associations-restore.htmlRebuild icon cache,
http://www.SevenForums.com/tutorials/49819-icon-cache-rebuild.html -
I'm trying to put together a Guide to color for my company's brand guidelines.
Initially, I worked for InDesign and copied all H, RGB and CMYK values that I had when I went in an eye my original color palette.
However when I put the same values of RGB in Photoshop I gives me a (somewhat) a different set of CMYK numbers than I had initially documented in InDesign.
Why is this?
JamieCurtis5 wrote:
It makes me feel a bit nervous leaving aside CMYK all together...
CMYK is essential for a company's brand guide. The printer ask again, it's a simple and direct question. If they cannot answer this fundamental question, that speaks well of their professional standards. It is a common practice and highly standard procedure. I do it all the time (and get answers directly in the world).
That said, if this guide in general and not necessarily related to this particular printer, it might be preferable, specify a profile which is commonly used as a general practitioner in your area. It depends on where you are. Here in Europe, it would be either Coated FOGRA39, ISO Coated v2 300% (eci).
In the United States, I guess us Web Coated (SWOP) v2 would be on a list, not because it's necessarily just for the purpose, but simply done to be the default Photoshop. Printers must get loads of the present. Same here in Europe, where this profile is never used any where, a lot of people use it just because it is the default value of the PS and it never gets turned into something more appropriate.
-
Reset some values at the beginning, not all
I plan to take some action and I use a large number of orders/lights. I want to reset most of the defaults at the beginning of the program and at the end I have 3 values that a user enters the program to start and I need to keep these values for later in the program, I can not reset them. Is there a simple way to do this? I can't use the 'reset all fail them. " Currently, I have all of the values, except for the 3 user, the default entries at the beginning of the program using local at the beginning of the program variables. But it seems dirty and I don't want to do the same thing at the end of the code.
Or you can use something like this:
-
Data protection Dell 'Exception thrown (RN:01 A 00002).
Latitude E6520 Windows 7 64-bit new installation, installed Dell Data Protection, activated the function of encryption and it did not work for a few days.
Today, I tried to start it to the top and 'Exception thrown (RN:01 A 00002)' after clicking 'Ok', I'm in disaster recovery mode.
I entered my password and it says it is invalid. I even checked my backup password on my USB key (it requires you to create) and verified that my password IS correct.
Now, I have a Samsung Evo 850 SSD that is "Self encrypting" feature enabled so that I can't erase the disc to reuse.
I tried in Ubuntu, Diskpart everything.
Any thoughts?
Hello Speedstep and someone another reading in the future after this gets indexed.
SpeedStep, while I thank you for your quick response, it is wildly inaccurate.
Access to Data Protection from Dell use a company called 'Wave', which creates a lot of software suites of different security (ie the Embassey security).
After talking to a person about the error, this happens when their software is used on a player not yet taken in charge by them or a corruption of software glitch/player. I found that, in my case, it was because their use TCG OPAL orders 1.0 while my Player supports 2.0 commands more recent.
This caused my problem. -How do I fix this?
I found a few blackhat tools that allow you to communicate to the piece of independent encryption of drives, but they were not successful. After some research, there is a hardware password PSID on the SSD. I found that someone has added to their Samsungs PSID reset tool drop-down list.
Run this tool CLI enabled me to the SSDS to factory specifications and remove independent encryption caused by the DDPA. Yay! Now, I have my SSD back.
SpeedStep, I replace my SSD with another and I was able to use it successfully without any changes to my TPM secure or Bios. Again once, however I appreciate the quick response!
If anyone needs the tool to reset Samsung PSID, feel free to just post below and we will get in touch.
-
Hi my jdev - 11.1.1.7 version
I ask a socket connection in my AM and I want to catch the exception of the sockettimeout of t and display the error message in the user interface of the view layer.
I use customException class that extends DCErrorHandlerImpl, but if we use try catch, then exceptions doesnot reach customclass.
How to catch exceptions and return to view the layer if we use the operation binding. ?
Because you call the operation via the link layer, which is perfectly fine, you do not get an exception at all. Exceptions thrown in methods called via the link layer are captured by the framework and transferred to the appellant in the operation binding.
For that, you get the list of errors after the call returns and add them as messages of faces
execute the method
Method.Execute ();
List errors = method.getErrors ();
If (! errors.isEmpty ()) {}
handle errors errors here is a list of exceptions!
We only get the first
E receive = errors.get (0);
FacesMessage msg = new FacesMessage (FacesMessage.SEVERITY_ERROR, e.getMessage (), "");
FacesContext.getCurrentInstance () .addMessage (null, msg);
}
no error return to normal work
Timo
-
Bug in the MAF/JDev - Exception thrown in the preview
Hi, I just started to develop for MAF on my local PC.
I was recently in London attending a practice for mobile, so I opted to try the same tutorial, we had here on my PC.
In the tutorial, you just create 2 features, a workflow and a local HTML help page.
Then, you create a JAVA bean to be a data controller.
The created workflow originally has 2 views - EmpList and graphic with a transition of ran.
After that the data controller is created, I started creating the first view: empList, when I click on preview, JDeveloper encounters an Exception, and my UI is broken.
The Application browser is empty, and the only solution that worked to restore my user interface is as follows:
https://community.Oracle.com/thread/1009459?start=0 & tstart = 0
It's really annoying to do it every time
Kind regards
Ognjen
I paste the error details here - NPE in o.j.model.ApplicationContent:62:
Execution of null action (959) [AdfcDiagramEditor] [for (EmpsTaskFlow.xml, ViewController.jpr, Employees.jws)]
NULL: Jul 13, 2015 10:31:21 oracle.bali.inspector.multi.MultiObjectModel _updateProperties
INFO: SelectionModel has no selected items
Call to order: [for (empList.amx, < none >, < any >)]
Call to order: initialize the contents of the file [for (empList.amx, < none >, < any >)]
Calling command: Insert panelPage with activated facets [for (empList.amx, < none >, < any >)]
NULL: Jul 13, 2015 10:31:26 oracle.bali.inspector.multi.MultiObjectModel _updateProperties
INFO: SelectionModel has no selected items
Command: all pages
13 July 2015 10:31:34 oracle.bali.xml.model.XmlContext deliverSetupEventHelper
GRAVE: Exception thrown during the execution of installation hook oracle.adfmf.amx.dt.editor.databinding.AMXXmlContextSetupHook@23aa90f4 context JDevXmlContext@540205355 (home.amx, null, null)!
java.lang.NullPointerException
at oracle.jdeveloper.model.ApplicationContent.getInstance(ApplicationContent.java:62)
at oracle.adfmf.common.util.McAppUtils.getApplicationAdfMetaInfUrl(McAppUtils.java:408)
at oracle.adfmf.common.util.McAppUtils.getApplicationXmlURL(McAppUtils.java:371)
at oracle.adfmf.common.util.McAppUtils.getApplicationControllerProject(McAppUtils.java:1984)
at oracle.adfmf.common.util.McAppUtils.getDefinedDataControls(McAppUtils.java:1854)
at oracle.adfmf.amx.util.AMXUtils.registerDataControls(AMXUtils.java:609)
at oracle.adfmf.amx.dt.editor.databinding.AMXXmlContextSetupHook.setup(AMXXmlContextSetupHook.java:69)
at oracle.bali.xml.model.XmlContext.deliverSetupEventHelper(XmlContext.java:1391)
at oracle.bali.xml.model.XmlContext.deliverSetupEventAtXmlContextCreation(XmlContext.java:1342)
at oracle.bali.xml.gui.jdev.JDevXmlContext.deliverSetupEventAtXmlContextCreation(JDevXmlContext.java:834)
at oracle.bali.xml.model.XmlContext._initializeModel(XmlContext.java:326)
at oracle.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2328)
at oracle.bali.xml.model.XmlContext.setModel(XmlContext.java:346)
at oracle.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1782)
at oracle.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1732)
at oracle.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:192)
at oracle.adfmf.common.util.McAppUtils.getXmlModelFromXmlSourceNode(McAppUtils.java:877)
at oracle.adfmf.amx.dt.editor.PreviewEditor.resolveCellFormatHeight(PreviewEditor.java:790)
at oracle.adfmf.amx.dt.editor.PreviewEditor.updateAMXToStage(PreviewEditor.java:509)
at oracle.adfmf.amx.dt.editor.PreviewEditor.editorShown(PreviewEditor.java:280)
at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.riseEditorShown(SplitPane.java:1914)
at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayoutBottomTabs(SplitPane.java:757)
at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayout(SplitPane.java:615)
at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.whenCurrentEditorChanges(NbEditorManager.java:1612)
at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1026)
at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1021)
at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.whenCurrentEditorChanges(TabGroupState.java:811)
at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.setCurrentSplitPanePos(TabGroupState.java:192)
at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.activateEditor(TabGroupState.java:496)
at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.activateEditor(TabGroup.java:464)
at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.focusEditor(NbEditorManager.java:1476)
at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.whenEditorTabMousePressed(SplitPane.java:1523)
at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.mousePressed(SplitPane.java:1511)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.Component.processMouseEvent(Component.java:6502)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at $200 (EventQueue.java:103) java.awt.EventQueue.access
in java.awt.EventQueue$ 3.run(EventQueue.java:694)
in java.awt.EventQueue$ 3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)
in java.awt.EventQueue$ 4.run(EventQueue.java:708)
in java.awt.EventQueue$ 4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
java.lang.NullPointerException
o.j.model.ApplicationContent.getInstance(ApplicationContent.java:62)
o.adfmf.common.util.McAppUtils.getApplicationAdfMetaInfUrl(McAppUtils.java:408)
o.adfmf.common.util.McAppUtils.getApplicationXmlURL(McAppUtils.java:371)
o.adfmf.common.util.McAppUtils.getApplicationControllerProject(McAppUtils.java:1984)
o.adfmf.common.util.McAppUtils.getDefinedDataControls(McAppUtils.java:1854)
o.adfmf.amx.util.AMXUtils.registerDataControls(AMXUtils.java:609)
o.adfmf.amx.dt.editor.databinding.AMXXmlContextSetupHook.setup(AMXXmlContextSetupHook.java:69)
o.bali.xml.model.XmlContext.deliverSetupEventHelper(XmlContext.java:1391)
o.bali.xml.model.XmlContext.deliverSetupEventAtXmlContextCreation(XmlContext.java:1342)
o.bali.xml.gui.jdev.JDevXmlContext.deliverSetupEventAtXmlContextCreation(JDevXmlContext.java:834)
o.bali.xml.model.XmlContext._initializeModel(XmlContext.java:326)
o.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2328)
o.bali.xml.model.XmlContext.setModel(XmlContext.java:346)
o.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1782)
o.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1732)
o.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:192)
o.adfmf.common.util.McAppUtils.getXmlModelFromXmlSourceNode(McAppUtils.java:877)
o.adfmf.amx.dt.editor.PreviewEditor.resolveCellFormatHeight(PreviewEditor.java:790)
o.adfmf.amx.dt.editor.PreviewEditor.updateAMXToStage(PreviewEditor.java:509)
o.adfmf.amx.dt.editor.PreviewEditor.editorShown(PreviewEditor.java:280)
com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.riseEditorShown(SplitPane.java:1914)
com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayoutBottomTabs(SplitPane.java:757)
com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayout(SplitPane.java:615)
com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.whenCurrentEditorChanges(NbEditorManager.java:1612)
com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1026)
com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1021)
com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.whenCurrentEditorChanges(TabGroupState.java:811)
com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.setCurrentSplitPanePos(TabGroupState.java:192)
com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.activateEditor(TabGroupState.java:496)
com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.activateEditor(TabGroup.java:464)
com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.focusEditor(NbEditorManager.java:1476)
com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.whenEditorTabMousePressed(SplitPane.java:1523)
com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.mousePressed(SplitPane.java:1511)
j.a.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
j.a.Component.processMouseEvent(Component.java:6502)
jx.s.JComponent.processMouseEvent(JComponent.java:3320)
j.a.Component.processEvent(Component.java:6270)
j.a.Container.processEvent(Container.java:2229)
j.a.Component.dispatchEventImpl(Component.java:4861)
j.a.Container.dispatchEventImpl(Container.java:2287)
j.a.Component.dispatchEvent(Component.java:4687)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4489)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4422)
j.a.Container.dispatchEventImpl(Container.java:2273)
j.a.Window.dispatchEventImpl(Window.java:2719)
j.a.Component.dispatchEvent(Component.java:4687)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:735)
j.a.EventQueue.access$ 200 (EventQueue.java:103)
j.a.EventQueue$ 3.run(EventQueue.java:694)
j.a.EventQueue$ 3.run(EventQueue.java:692)
j.security.AccessController.doPrivileged (Native Method)
j.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
j.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)
j.a.EventQueue$ 4.run(EventQueue.java:708)
j.a.EventQueue$ 4.run(EventQueue.java:706)
j.security.AccessController.doPrivileged (Native Method)
j.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)
j.a.EventQueue.dispatchEvent(EventQueue.java:705)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
j.a.EventDispatchThread.run(EventDispatchThread.java:91)
Just a little update:
I upgraded MAF 2.1.3 and now I do not get the exception more.
Kind regards
Ognjen
-
Difference between the operator NOT EXISTS and NOT IN
Hi experts,
I understand that this question has been asked several times, but I would like to have a clear understanding of the following:
SELECT MEANING FROM FND_LOOKUPS WHERE LOOKUP_TYPE='WIS_WORK_DEFINITION_NAME';
The results are:
Spare
Main working definition
Rework
Test
User_Defined_WD
Check
I have run this query:
select work_definition_name from WIS_WORK_DEFINITIONS WSD WHERE WSD.ORGANIZATION_ID=207 AND WSD.INVENTORY_ITEM_ID=2686;;
The query gives output below:
MAIN
REWORK
When I run the sub query, I expect no result because the inner query in the NOT IN operator returns a NULL value.
Query -1: the query is:
SELECT fl.meaning FROM fnd_lookups fl WHERE fl.lookup_type='WIS_WORK_DEFINITION_NAME' AND fl.lookup_code NOT in (SELECT NULL FROM wis_work_Definitions wsd WHERE wsd.organization_id=207 AND wsd.inventory_item_id=2686 AND fl.lookup_code=wsd.work_Definition_name);
If the inner query returns null, the query gives the result:
Spare
Test
User_Defined_WD
Check
I was under the assumption that if the inner query returns null, then the global query would return no data. Example:
Query-2:
SELECT fl.meaning fl fnd_lookups WHERE fl.lookup_type = 'WIS_WORK_DEFINITION_NAME' fl.lookup_code AND NOT IN (SELECT NULL FROM dual);
The query above pulled out no data as the inner query returned NULL. What I failed to understand was the difference between the query-1 and query-2.
While Query1 returns data, query-2 not return all the data.
There is no apparent difference between these two queries, because of the last sentence of your NOT IN query:
AND fl.lookup_code = wsd.work_Definition_name
Consider the row where lookup_code = HAND. The NOT IN query is a single line in wis_work_definitions where wsd.organization_id = 207 AND wsd.inventory_item_id = 2686 AND 'MAIN' = wsd.work_Definition_name. If your queries are actually like that for this line:
SELECT fl.meaning fl fnd_lookups WHERE fl.lookup_type = 'WIS_WORK_DEFINITION_NAME' AND fl.lookup_code = 'MAIN' fl.lookup_code AND NOT in ('HAND')
SELECT fl.meaning fl fnd_lookups WHERE fl.lookup_type = 'WIS_WORK_DEFINITION_NAME' AND fl.lookup_code = 'MAIN' fl.lookup_code AND NOT in (NULL)
No one who will return a line, for reasons that are obvious, hopefully.
Now consider the row where lookup_code = TEST. The NOT IN query finds a no line in wis_work_definitions where wsd.organization_id = 207 AND wsd.inventory_item_id = 2686 AND 'TEST' = wsd.work_Definition_name. A list NOT IN containing no words can be ignored, so the two queries become like this:
SELECT fl.meaning fl fnd_lookups WHERE fl.lookup_type = 'WIS_WORK_DEFINITION_NAME' AND fl.lookup_code = 'TEST'
Which returns a line.
So the effect of these two queries is to return all values except those that appear in that particular (set of) definition (s) of work.
-
Exception handler does not work
Hi guys,.
My feature works very well when the input of user name and password are correct. I'm trying to understand why my exception handler does not display the contents of the DBMS_OUTPUT. Put_line when the user name or password are not correct. Any ideas?
Thank you
Carpet
G_output VARIABLE VARCHAR2 (30)
G_username VARIABLE VARCHAR2 (8)
G_password VARIABLE VARCHAR2 (8)
G_ck VARIABLE CHAR
BEGIN
: g_username: = 'gma1;
: g_password: = 'Michael ';
: g_ck: = 'n';
END;
/
CREATE OR REPLACE PACKAGE login_pkg
FUNCTION log_in_pf
(p_username IN VARCHAR2,
p_password IN VARCHAR2,
p_ck IN OUT the TANK)
RETURN OF CHAR;
END;
/
CREATE OR REPLACE PACKAGE BODY login_pkg
FUNCTION log_in_pf
(p_username IN VARCHAR2,
p_password IN VARCHAR2,
p_ck IN OUT the TANK)
RETURN OF TANK
IS
lv_username_txt bb_shopper.username % TYPE;
lv_password_txt bb_shopper.password%TYPE;
BEGIN
SELECT username, password
IN lv_username_txt, lv_password_txt
OF bb_shopper
WHERE username = p_username
AND password = p_password;
IF lv_username_txt | lv_password_txt = p_username | p_password THEN
p_ck: = 'Y ';
ANOTHER p_ck: = 'n';
END IF;
RETURN p_ck;
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT. Put_line ('Invalid username or password');
END log_in_pf;
END;
/
BEGIN
: g_output: = login_pkg.log_in_pf (: g_username,: g_password,: g_ck);
END;
/
BEGIN
*
ERROR on line 1:
ORA-06503: PL/SQL: function returned no value
ORA-06512: at "SCOTT. LOGIN_PKG', line 23
ORA-06512: at line 2
Published by: Mathew2 on July 20, 2009 03:20Maybe: In SQL * more set serveroutput on
Published by: jurgenk on July 20, 2009 03:58
Maybe you are looking for
-
Simulator of an operating system of Firefox on firefox nightly
Even if I downloaded firefox OS on firefox nightly Simulator, it apear dosen't here: Tools - web developer - suppose to be there, but it doesn't , but it works on the normal firefox.
-
Lenovo z50-70 - pointing device scroll momentum
Hello I just bought a lenovo z50-70... Sound using momentum pointing device, the scroll is two-finger scrolling... However, I need the same that I'm used to before in my other laptop... If you drag upward or downward with one finger on the right side
-
LRT224 - how to have a free installation of LAG for the games
How can I get a free installation of Lag for the games in LRT224? I already tried to give "High priority" ports used by games like Dota 2, heroes of the storm, etc., as shown below, but the latency is still high. In our previous configuration with DL
-
Burn to a DVD with a Hewlett Packard
I'm trying to burn pictures on a disc of Windows Photo Gallery, and I get a message that the disc is not recordable or rewritable. The disc I have is a Sony CD - R Audio - can you help me? What I am doing wrong? Thank you! Tammy
-
I'm setting up ACS 4.1 and I run in a permission on a PIX firewall problemw ith order. After all the configs on the PIX and the establishment of the Group and the device on the ACS 4.1 Server I am able to connect to the PIX with my name of user and p