Applicaiotn module commit causing error
Hi Experts,
Currently i am getting the following error when i execute the following user case. Looking forward your idea or hints to resolve the issue.
1) I have one Application module which basically have some view objects. One view object has multiple child and grandchild view objects. (Basically the link is in the view object level). In the taskflow jsf page i have the view object attributes. The save button is point to the "Commit" operation of the application module. When i save the changes after the one of the child or grandchild attribute change it is working, but for the second time i am getting Application module instance is not found in <Application module name>. Am i missing any configuration?
2) Also incase if i would like to update the child VO attribute on the parent VO attribute change, how can i do it inside the backing bean?
Thanks
Just from your description it sounds like you are holding onto AM references in your backing bean code. Hopefully I'm wrong, but just in case, never make direct references to AM or VO instances in your view layer code - doing this it's so easy to end up with stale object references as the AM instance may change from request to request. This is what your first error sounds like.
For the second issue - why not just add some code to the attribute setter in the VO Impl for the parent. The the code is in the correct place.
Similar Messages
-
Revision: 10766
Author: [email protected]
Date: 2009-09-30 15:55:55 -0700 (Wed, 30 Sep 2009)
Log Message:
Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.
The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.
All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.
By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.
QE notes: Expect test breakage
Doc notes: The new policy for themes needs to be documented.
Bugs: none yet, but I'm sure there will be some...
Reviewer: Ryan
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/defaults.css
flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as
flex/sdk/trunk/frameworks/projects/halo/defaults.css
flex/sdk/trunk/frameworks/projects/spark/defaults.css
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin .mxml
flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as
flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
Added Paths:
flex/sdk/trunk/frameworks/themes/Spark/spark.css
Removed Paths:
flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.asRevision: 10766
Author: [email protected]
Date: 2009-09-30 15:55:55 -0700 (Wed, 30 Sep 2009)
Log Message:
Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.
The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.
All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.
By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.
QE notes: Expect test breakage
Doc notes: The new policy for themes needs to be documented.
Bugs: none yet, but I'm sure there will be some...
Reviewer: Ryan
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/defaults.css
flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as
flex/sdk/trunk/frameworks/projects/halo/defaults.css
flex/sdk/trunk/frameworks/projects/spark/defaults.css
flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin .mxml
flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as
flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
Added Paths:
flex/sdk/trunk/frameworks/themes/Spark/spark.css
Removed Paths:
flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as -
Dell Data Vault causing errors
It looks like Dell installed new software that is causing errors on my XPS 8500. What is it and why is this error coming up?
Faulting application name: DellDataVault.exe, version: 3.9.3.0, time stamp: 0x54cc079f
Faulting module name: DellDataVault.exe, version: 3.9.3.0, time stamp: 0x54cc079f
Exception code: 0xc0000005
Fault offset: 0x000000000001aa84
Faulting process id: 0x1604
Faulting application start time: 0x01d055205d1aef1e
Faulting application path: C:\Program Files\Dell\DellDataVault\DellDataVault.exe
Faulting module path: C:\Program Files\Dell\DellDataVault\DellDataVault.exe
Report Id: a49fdfd8-c113-11e4-bff8-a4173103474aI'm not sure what issues that data vault service is causing you but I do know many other people including myself have had a horribly unknowing issue with it causing horrible pops and squelching noises while trying to enjoy audio and video on our systems. (mine being an XPS laptop) I've been trying to remedy this for weeks as some people said uninstalling this did not fix the audio/video problem.
What I did not realize was that delldatavault.exe runs as a service in the background. I discovered this while viewing my resource monitor and watching that particular service cause severe spikes in the CPU and disk activity which were the exact moments the interference in the audio/video would occur.
Completely disabling the service altogether, has finally relieved my migraine... -
Why this 6509 module reset caused system restart?
I had a 6509 switch recycled power to its 6748-GE-TX module. I like to understand why this module reset caused the system to restart, and what this "system restart" means. Please see the syslog messages (I didn't include all messages).
Thanks
Gary
Mar 16 09:52:49.452 EST: %OIR-SP-3-PWRCYCLE: Card in module 9, is being power-cycled off (Module experiencing Port asic error)
Mar 16 09:52:49.720 EST: %C6KPWR-SP-4-DISABLED: power to module in slot 9 set off (Module experiencing Port asic error) 00:00:04: %SYS-CFC9-5-RESTART: System restarted --
Mar 16 09:53:57.497 EST: %OIR-SP-6-INSCARD: Card inserted in slot 9, interfaces are now onlineHi Gary,
The message is a bit misleading. The "system restarted" message is coming from the CFC daughter card on the module
"%SYS-CFC9-5-RESTART: System restarted -"
So the entire switch did not restart, but just the module and daughter card. Now, I'm saying that based on the provided messages. You should check the system uptime in the "show ver" and/or the reset logs stored in the NVRAM log "show log" as well.
But, as I said, if the only indication of "System restarted" was in the above syslog, then that's only referring to the CFC.
HTH,
Bobby -
Bug Report :
Upgraded to Firefox v10. Holding CTRL+ [F4] too long after all tabs are closed causes error.
"Exc in ev handl: TypeError: this.oPlg.onTabClosed is not a function"What extensions do you have? (Go to Firefox > Customize > Add-ons to see or Help > Troubleshooting info for a copy-pasteable list)
-
Dear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S EDear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S E -
Installed Trend Micro Smart Surfing on new MacBook Pro and now it has caused error that won't let computer boot up. How do I get it to a point that I can delete program?
Try booting up in Safe mode (holding down the Shift key while booting). If the software came with an unistaller, use it to remove alll traces of the software - it's nothing that you need and, as you've experienced, can do more actual hard than good (as is the case with most software of this type). When you're booted in Safe Mode, if you can't run an uninstaller, at least check to make sure that there are no Trend Micro items that are set for automatic log in, at least.
Clinton -
Premiere CC 2014.1 Blu-ray MPEG 2 export causing error in Sony DVD Architect Pro
I've filed a Bug Report for this but wanted to post here in case it helps anyone else or on the off chance someone can give me a solution / better work around.
Something has changed in the results of a Blu-ray MPEG2 export from Premiere 2014.1 vs those of the previous CC version. The result is that my authoring software of choice, Sony DVD Architect Pro, fails to prepare a disc image giving an error in the final stage of preparation. This workflow has been working fine for 2-3 years.
My work around is to export to original format (mxf / XDCAM EX HQ) and then go back to Media Encoder CC rather than 2014 to produce the Blu-ray MPEG2 file, which works without problem.
Here's a copy paste of my bug report in case anyone with a similar setup has an opportunity to replicate (I'd be very grateful to anyone able to confirm whether its a bug or something specific to me that I might be able to fix).
******BUG******
Export from Premiere 2014.1 directly or via Media Encoder of MPEG 2 1080 50i Blu-ray files causes error in preparation of Blu-ray disc in Sony DVD Architect 5.2.
This error does not occur when using the same Media Encode export preset in the previous version of Premiere Pro CC / Media Encoder.
Steps to reproduce bug:
1. Export Sequence from Premiere
Export, in my case XDCAMEX 1080i HQ, using a media encoder MPEG 2 Blu-ray preset:
Preset Name: HD 1080i 25
Format: MPEG2 Blu-ray
Bitrate Settings: Medium (Target 25Mbps)
2. Create DVD Architect 5.2 project
Set up as single movie Blu-ray project in DVD Architect:
Disc format: Blu-ray Disc
Resolution: 1920*1080
Framerate: 35 interlaced
Choose the file exported from Premiere
3 Prepare Disc
- Select Make Blu-ray Disc
- Click Prepare
- Choose Location of iso
- click next then finish
Result
Around 50% - 60% through the process the following error is displayed:
An error occurred while preparing compilation
Details:
File name: STREAM/00000.m2ts
Status: TSWrapper.dll::CTSWrapper::ProcThreadMain::Failed to read ES file. - The ES file may be shorter than the size described in the MUI file.
Expected results:
A shiny ISO ready to be burnt to disc and sent sent to eager customers.
Its taken me a full day and a half to isolate problem - someone remind me why I fall for the software updates every time?!
Cheers
Iain
Other details:
Windows 7 pro 64 SP1
Intel Core i7 950 @ 3.07GHz
RAM 24.0GB
ASUSTeK P6T DELUXE V2
1279MB NVIDIA GeForce GTX 470There is a known bug in the H.264-Bluray export. I assume it has nothing to do with your issue, but perhaps it will give you something to consider.
https://forums.adobe.com/message/6848505#6848505
It appears due to a malformed xmpses file. It creates a problem on import into Encore, and I think it should do the same upon import into Architect or it would be ignored entirely. The test is to delete the xmpses file and see if that avoids the issue. -
Changes in RPCBURZ0 causes errors in other programs
Hello to All,
I made changes to RPCBURZ0 in order to extend the TABLE schema function to read a custom Infotype 9001.
I added the necessary code in RPCBURZ0 and the data definition in RPCFDCZ0.
The code is working perfectly , but the changes are causing errors in other country specific reports
specifically in : HINCALC0 , HCNCALC0 , and HKRCALC0 and Transports to Quality generating errors.
Error is because the custom infotype definition is not seen in these reports.
Generation of the users of the transported Includes |
Program HCNCALC0, Include RPCBURZ0: Syntax error in line 000021
The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. .
Program HINCALC0, Include RPCBURZ0: Syntax error in line 000021
The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. .
Program HKRCALC0, Include RPCBURZ0: Syntax error in line 000021
| The field 'T9001' is unknown, but there is a fieldwith the similar name 'T001P'. .
Looking at other H--CALC0 reports i could easily spot an include for RPCFDCZ0.
include rpcfdcz0. "customer-specific data declaration (int'l)
I wonder why this include is not in (HINCALC0 , HCNCALC0 , and HKRCALC0) !!!
I have two solutions in mind :
1. Make a custom ZRPCBURZ0 and include it in the main report.
2. Look for user exist for the three reports and add the data definition statement .
What is the best way to fix this situation ? and is there any other possible solutions ?
We are using :
SAP ECC 6.0
Payroll International Driver.Alex Gorly and Matt Sullivan solved one of my issues above:
Message: Attribute 'prod' is not declared for element 'prodname'
I'm still stumpled on the other one:
Message: Not enough elements to match content model '(prodname,vrmlist,((brand|component|featnum|platform|prognum|series) )*)'
As stated above, I've even removed everything from the general rule of <prodinfo> except prodname and I'm still getting the same error. I've searched everywhere for this general rule and <prodinfo> is the only place I can find it.
What I really want is: (prodname), (vrmlist)?, (brand | component | featnum | platform | prognum | series)*
so that vrmlist is optional.
No matter what I do, unless I include a vrmlist, I get the above message. Currently, our CMS can't handle vrmlist but I don't want to remove it altogether because we may be replacing our CMS.
Help please! -
Code 91 - Caused Error: (Object variable or With block variable not set)
Hi,
We are using FDM 9.3.1. We have enabled batch processing.
We are having following process being followed
- Batch Loader script will pull the data from dwh table for each entity, scenario, year and period
- Batch processing is set to serial and processlevel set to Up-To-Check
- We had following five files created for Location - EMAFF100
i. 1_EMAFF100_ACT_May-2011_RR.txt
ii. 1_EMAFF100_ACT_Jun-2011_RR.txt
iii. 1_EMAFF100_ACT_Jul-2011_RR.txt
iv. 1_EMAFF100_ACT_Aug-2011_RR.txt
v. 1_EMAFF100_ACT_Sep-2011_RR.txt
Batch loader process completed the processing for May - 2011, Jul - 2011, Aug-2011, Sep-2011.
But for Jun 2011 it has given the following error in the 'tbatchinformation' table and failed at import stage.
40751.6239236111 1_EMAFF100_ACT_JUN-2011_RR.TXT 2 2 91-Object variable or With block variable not set
When we checked the view error log from tool menu we found following
** Begin FDM Runtime Error Log Entry [2011-07-27-14:58:29] **
ERROR:
Code......................................... 91
Description.................................. File [1_EMAFF100_ACT_Jun-2011_RR.txt] Caused Error: (Object variable or With block variable not set)
Procedure.................................... clsBatchLoader.mFileCollectionProcess
Component.................................... upsWBatchLoaderDM
Version...................................... 931
Thread....................................... 5600
IDENTIFICATION:
User......................................... ncreighton
Computer Name................................ HYAPSDEV1
App Name..................................... EMATTEST
Client App................................... WebClient
CONNECTION:
Provider..................................... ORAOLEDB.ORACLE
Data Server..................................
Database Name................................ hydev_serv
Trusted Connect.............................. False
Connect Status.. Connection Open
GLOBALS:
Location..................................... EMAFF100
Location ID.................................. 762
Location Seg................................. 16
Category..................................... ACT
Category ID.................................. 13
Period....................................... Jun - 2011
Period ID.................................... 30/06/2011
POV Local.................................... False
Language..................................... 1033
User Level................................... 1
All Partitions............................... False
Is Auditor................................... False
We then re submitted data for Jun period and saw batch process got successfully completed and June data got imported successfully and also rest other processes got through.
Can any one provide exact cause for this error? As we have automated the data load from DWH to FDM And then to HFM. Hence when such error comes it disturbs lot of processing there on. Appreciate your early response.
Thanks in advance.Hi SAP collegues,
At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes. Please check the following.
Note before doing the following, close all other open Excel and BPC sessions.
Within Excel go to File à Options
Select the Add-Ins option on the left
Select the <<COM Add-ins >> option in the Manage drop down, and click Go
Make sure that the Planning and Consolidation option is selected. If not, mark this box and click OK.
If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
Let me know if you have any queries,
Kind Regards,
robert ten bosch -
Why sys_extract_utc(sysdate) never causes error in pl/sql block?
Oracle 11.2
I cannot use
SELECT sys_extract_utc(sysdate) FROM DUAL But I can use
v := sys_extract_utc(sysdate)in a procedure or a trigger without causing any compile or run-time error.
In my opinion, the return value of function sysdate doesn't contain any timezone info, so it should not be able to be used as the parameter of function sys_extract_utc, because it needs timezone info to do the conversion.
Any clues?
Thanks in advance.Kiran wrote:
use systimestamp it will contain timezone.I know, what I don't know is why sys_extract_utc(sysdate) can be used in procedure without causing any error. It should cause error, right? -
Reports Background Engine caused error and had to be closed
"Reports Background Engine caused error and had to be closed"
we are encountering this error when trying to run any report on some machines.with windows 2000.
we tried to login (on the machines having problems) using another windows user,
sometimes it works and sometimes not.
we also tried to reinstall the reports runtime and it never worked.
we have developer 6i, Oracle database 10g express edition.
Does anyone have a solution to this random problem ?
Thanksdear all
you can pass parameter from form to report to close report server after close report
add_parameter(pl_id, 'oracle_shutdown',text_parameter, 'Yes');
then it will be ok
good luck
Message was edited by:
nim
Message was edited by:
nim -
Deleting iMovie files & exported movies causes errors in all of iLife
I just went through quite an ordeal...
In an attempt to clean up some space, I deleted a bunch of my iMovie project files and movies after backing them up (files in the default Movies folder). I have deleted iMovie projects before with no issues.
This time, it caused errors in iDVD, iMovie, and iPhoto...it would say: "Connection failed. The server may not exist or it is not operational at this time. Check the server name or IP address and try again." It would say this over and over and over again and often completely hang up my application so that I would have to force quit. This would repeat itself over and over...
I read about this in other forums and erased .plist files in User > Library, etc...This solved the problem for other people, but it kind of made it worse for me. Long story short, I ended up having to restore from Time Machine my entire system just to get iLife working again... I also searched for Aliases and externally referenced libraries or files, and I do not have any.
So now I have those files again. I want to delete them again. But I'm afraid! (P.S. This may also be related to deleting the Aperture Trial Library in the Photos folder...I am also posting about that to the Aperture forum.)
Does anyone know what the deal with this is? How come before I did not have problems but am now? How do I safely delete iMovie files without having this happen again?
THANK YOU!iMovie is a non-destructive editor, meaning that all original clips are maintained in the folder, even after editing. Until you render the movie to DVD, all the original files are still "in the background". Kind of hard for me to explain. Others here could give more technical details. You would have to delete your movie from the folder to regain all the hard drive space.
If your idea is to archive your movies, a better method is to record them back to tape. Otherwise, get an external drive to store the finished movies and then delete the original files.
One word of caution about emptying the iMovie trash. This has been known to cause problems with a work in progress and it is generally advised to leave the iMovie trash alone until your project is finished and burned to a DVD. -
GROUP BY with parameter - cause error -ORA-00979: not a GROUP BY expression
I generate a query via PreparedStatement. For example:
SELECT when, value FROM test GROUP BY ?;
PrepState.toString(1, "when");
That causing error: ORA-00979: not a GROUP BY expression
My application using query like:
SELECT to_char(data,1), SUM(vlue) as sum FROM test GROUP BY to_char(data, 2);
PrepState.toString(1, "YYYY-MM");
PrepState.toString(2, "YYYY-MM");Ah. Reproduced in the first chunk of PL/SQL below.
The second chunk is a workaround.
Basically, SQL is parsed by the syntax engine and optimizer to get an execution plan. Then you can have a sequence of "bind, execute, fetch, fetch, fetch..., bind, execute..."
Since you can have multiple binds for a single SQL parse, then the fact that the first set of binds all happen to have the same value doesn't mean the next set will.
The optimizer needs to be 100% sure that the value in the select must always be the same as the value in the group by, so you can't have two separate (and therefore potentially different) bind variable mappings. [Given the right circumstances, the optimizer might do all sorts of tricks, such as using materialized views and function-based indexes.]
Misleadingly, it actually fails on the 'EXECUTE' step of DBMS_SQL rather than the PARSE.
declare
v_sql varchar2(1000) :=
'select to_char(created,:b1), count(*) '||
' from user_objects u '||
' group by to_char(created,:b2) '||
' order by to_char(created,:b3)';
v_fmt varchar2(10) := 'YYYY';
v_cur number;
v_ret_str varchar2(10);
v_ret_num number;
v_ret number;
begin
v_cur := dbms_sql.open_cursor;
dbms_sql.parse(v_cur, v_sql, dbms_sql.native );
dbms_sql.define_column_char (v_cur, 1, v_ret_str, 10);
dbms_sql.define_column (v_cur, 2, v_ret_num);
dbms_sql.bind_variable( v_cur, ':b1', v_fmt );
dbms_sql.bind_variable( v_cur, ':b2', v_fmt );
dbms_sql.bind_variable( v_cur, ':b3', v_fmt );
v_ret := dbms_sql.execute( v_cur );
WHILE ( dbms_sql.fetch_rows(v_cur) > 0 ) LOOP
dbms_sql.column_value_char (v_cur, 1, v_ret_str );
dbms_sql.column_value (v_cur, 2, v_ret_num );
dbms_output.put_line('>'||v_ret_str||':'||v_ret_num);
END LOOP;
end;
declare
v_sql varchar2(1000) :=
'select to_char(created,f.fmt), count(*) '||
' from user_objects u, (select :b1 fmt from dual) f '||
' group by to_char(created,f.fmt) '||
' order by to_char(created,f.fmt)';
v_fmt varchar2(10) := 'YYYY';
v_cur number;
v_ret_str varchar2(10);
v_ret_num number;
v_ret number;
begin
v_cur := dbms_sql.open_cursor;
dbms_sql.parse(v_cur, v_sql, dbms_sql.native );
dbms_sql.define_column_char (v_cur, 1, v_ret_str, 10);
dbms_sql.define_column (v_cur, 2, v_ret_num);
dbms_sql.bind_variable( v_cur, ':b1', v_fmt );
v_ret := dbms_sql.execute( v_cur );
WHILE ( dbms_sql.fetch_rows(v_cur) > 0 ) LOOP
dbms_sql.column_value_char (v_cur, 1, v_ret_str );
dbms_sql.column_value (v_cur, 2, v_ret_num );
dbms_output.put_line('>'||v_ret_str||':'||v_ret_num);
END LOOP;
end;
/ -
Document store access caused errors in the SAP Correction System
Hi Gurus,
I have this user who is trying to make changes to a workbook in DEV which is published to a folder with some users who are assigned to role. This user is the only user with Developer 2 role. When the user make changes and try to save the workbook to her role or favorites so that the changes are transported to BWP, the user is getting "Document store access caused errors in the SAP Correction System".
Do we have any suggestions/solutions, I would really appreciate any help on this.I would also assign full points for the most helpful answer.I have exactly the same problem with the user who is trying to save the workbook, where he made minor change.
Any clues?
Thank you.
Vitaliy
Maybe you are looking for
-
Voice dial does not confirm nor allow cancel
When I use voice dial (usually via bluetooth headset on iPhone 3GS), if the iPhone decides it has found an exact match, it will notify me of the match and then start dialing. It does not confirm the match with me, and when it starts dialing, the "Ca
-
A new Macbook Air only has 2 hours battery??
I bought my 13" macbook air for less than two weeks. When I plug in the charger and have the battery charged to 100%, I found that there're only 2:xx remaining time. How can I fix the problem? Or do i need to have my battery charged for longer period
-
How can i use a song as a ring tone from a cd i have loaded on the 4s
How can i use a song as a ringtone from a cd i have loaded on my iphone 4s
-
When secure webpages (those using SSL) contain content from non-SSL sources, Internet Explorer 8 and 9 ask if you want to view only the content that was delivered securely. I haven't been able to find a similar prompt in Firefox. I know of three poss
-
Check a String for a particular text
Hi, I have a String variable. How do I check if this String has Something 'like' Apple 1? Eg: String name=null; Now the value in name can be apple 1 or apple 99 or apple 33. SO I need to put an IF statement where i want to say continue IF name is lik