Invalid Drawable Error

Adobe PPro CS6
I am getting a invalid drawable error in my console window.
PPro is crashing, meaning that the video does not refreash in the editing software.
Mac Pro Mid 2012
Processor  2 x 3.06 GHz 6-Core Intel Xeon
NVIDIA Quadro 4000:
Cuda Driver Ver 5.0.45
Memory  32 GB 1333 MHz DDR3 ECC

Thanks Eric - Do you know how I can find that info?
I also discovered that I had a mp4 video file that may have started the whole thing.  I really don't know.  But the program would not crash, the video would just "hang" and go to black.  I could still move around in the timeline, but the program monitor would be in black.
Everytime I clicked on a certain area on my timeline, the program would "hang".  So I tried to delete what I thought was the problem clip and everytime I would touch that clip, the program would stall.
I fixed it by placeing a new file over the top of what I thought was the problem clip.  I could not over write it either.
In fact it was a mp4 video file that was in a nested sequence, that I had in my timelines.

Similar Messages

  • How to detect invalid drawable?

    Hi
    working on a cross platform application that is over a decade old. The UI is by Qt and backend rendering is done with OpenGL. OpenGL contexts are managed in the back end, not by Qt. I have recently added error checking and reporting for all OpenGL code in our app. occasionally  a situation arises where the first render initiated by Qt causes and "invalid drawable" error , then all OpenGl calls fail with "invalid framebuffer" error reported. These invalid drawable error messages have been treated as inocuous in the past since before the user sees it eventually the drawable becomes valid and the scene is rendered correctly. However, with the new OpenGL error check/report it's not possible since there are large numbers of errors reported.
    I would like to test if the drawable is valid, if not return before the render starts. How can I verify that the drawable is valid?
    Thanks

    Use one of the PBE encryption algorithms to encrypt data based on a password. It is simpler and more secure than your example. You can append a PBE-based MAC to the encrypted message to verify the correctness of your decryption. See http://java.sun.com/j2se/1.5.0/docs/guide/security/jce/JCERefGuide.html for more details.

  • Motion 2 Log Errors "invalid drawable" and "Could not find shader normal"

    Hi All,
    I've encountered a problem with Motion 2, that I hope can be fixed using this info from my log file:
    2005-12-15 09:30:56.772 Motion[281] invalid drawable
    2005-12-15 09:30:58.195 Motion[281] invalid drawable
    2005-12-15 09:31:12.062 Motion[281] invalid drawable
    2005-12-15 09:31:21.780 Motion[281] invalid drawable
    2005-12-15 09:31:23.803 Motion[281] invalid drawable
    2005-12-15 09:31:47.349 Motion[281] invalid drawable
    2005-12-15 09:32:05.697 Motion[281] invalid drawable
    2005-12-15 09:32:12.018 Motion[281] invalid drawable
    2005-12-15 09:32:13.697 Motion[281] invalid drawable
    2005-12-15 09:32:15.336 Motion[281] invalid drawable
    2005-12-15 09:32:26.878 Motion[281] invalid drawable
    2005-12-15 09:32:32.641 Motion[281] invalid drawable
    2005-12-15 09:32:34.050 Motion[281] invalid drawable
    2005-12-15 09:35:31.921 Motion[281] invalid drawable
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Warning: Could not find shader normal
    Since Motion 2 can't find "shader normal", it endlessly writes this error to a log file and in the process SLOWS the program down considerably.
    I'm using a dual 2.5 G5, Motion 2, ATI 9800 Pro video card, 4GB RAM.
    It seems like this might be a video card problem since that's what the error log may refer to (could not find normal shader).
    Has anyone else encountered this issue, or know of a fix?
    Thanks All,
    Kevin
    2.5 G5   Mac OS X (10.3.9)  

    Haven't seen it before but you'd have to give us some additional information. Most, not all, Motion errors are caused by bad media files or the user attempting to perform an illegal operation like dividing by zero.
    But yea, these look like OpenGL or GPU errors. Try dropping by the mfr's site to see if there are new drivers, a reset application or a user forum?
    bogiesan

  • Youtube Facebook Google etc, Invalid URL error

    For many years now I've been putting up with a CONSTANT lingering problem with my Mac OS. These (on a very regular basis) irritating, "Invalid URL" errors.
    The picture that you see below is an example of my problem.  This example of a Youtube video giving me an error is from a recent article on www.macrumors.com.
    Where the youtube video is supposed to be is just an Error.  And as I scrolled down the page, all of the subsequent youtube videos had this same error.
    So I went to youtube.  After typing in the web address, I get the same error except that it fills the entire screen.
    After about 20 minutes (of constant screen refreshes and data dumps within safari) the youtube videos finally loaded as if nothing was wrong (as you can see in the second photo).
    Sometimes this problems lasts for 10 seconds.  But normally it can take between 10 minutes to an hour to begin working again.
    The other two websites that give me this same trouble is Google.com and Facebook.com.  But Facebook being the most notorious.  Not just because my actual facebook page won't load, but because of all of the news sites that load facebook garbage and coding searching for facebook.  When the facebook ip address cannot be resolved, these annoying error pop-ups begin bombarding my screen.  One minute facebook will work, and I'm reading down the newfeed, then all of the sudden nothing new will load.  When I try to refresh the page, I get an error stating that it cannot load the page.  Then I just have to wait.
    As you can see from the picture below, Sometimes facebook just gives me an error that states, "Safari cannot open the page Facebook.com because Safari cannot establish a secure connection to the facebook server."
    This happens EVERY single day.  It's really just a crap-shoot whether or not I will be able to get onto Facebook.
    Youtube is a little less often (usually happening about 3 or 4 times per week).
    Google got so bad that I finally had to change my search provider to Bing, because Google almost never worked.
    Has anyone else experienced these problems on their MAC?
    I ask because I have 3 MAC computers.  2 Laptops and a MacPro tower. 
    And EVERY single one has this same problem.
    This wasn't such a big deal; ie something I learned to live with... Up until I bought my wife (and Windows Vista convert) her new Macbook Air.  And within an hour of booting that thing up for the first time, her Facebook errored out.  And has done it pretty consistantly every day, at least twice, since then.
    If anyone else has this problem, how did you fix it????????

    Here are the results:
    I hope someone can make heads or tails out of this.
    And please keep in mind that in the past I have completely wiped and reinstalled after reformatting and within an hour or 2 I get the same errors on the these websites.
    Start time: 23:05:23 06/15/14
    Model Identifier: MacBookPro5,5
    System Version: OS X 10.9.3 (13D65)
    Kernel Version: Darwin 13.2.0
    Boot Mode: Normal
    Time since boot: 49 minutes
    FileVault: FileVault master keychain appears to be installed
    Diagnostic reports
       2014-05-19 UserEventAgent crash
       2014-05-23 qmasterqd crash
       2014-05-26 qmasterqd crash
       2014-06-02 DivX Player crash
       2014-06-02 PluginProcess crash
       2014-06-02 com.apple.WebKit.WebContent crash
       2014-06-02 com.apple.WebKit.WebContent crash
       2014-06-02 com.apple.WebKit.WebContent crash
    Log
       Jun 13 01:43:18 AFP_VFS afpfs_dead:  called on vfsid 4
       Jun 13 01:43:18 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 4 and counter is 0 to the list
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 15 error 89 reqID 2801 flags 0x29 afpCmd 0x45 so 0xffffff801586fca0
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 16 error 89 reqID 2802 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 17 error 89 reqID 2803 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 18 error 89 reqID 2804 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
       Jun 13 22:40:53 AFP_VFS afpfs_DoReconnect:  Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Storagedisk_6_1TB
       Jun 13 22:41:28 AFP_VFS afpfs_dead:  called on vfsid 3
       Jun 13 22:41:28 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 3 and counter is 0 to the list
       Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 20 error 89 reqID 10889 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
       Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 21 error 89 reqID 10890 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
       Jun 13 23:26:04 process Preview[95635] caught causing excessive wakeups. Observed wakeups rate (per sec): 744; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
       Jun 14 00:16:15 process Preview[2207] caught causing excessive wakeups. Observed wakeups rate (per sec): 2593; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
       Jun 14 00:17:23 process Preview[2339] caught causing excessive wakeups. Observed wakeups rate (per sec): 1991; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45210
       Jun 14 02:45:19 process QuickLookUIHelpe[4321] caught causing excessive wakeups. Observed wakeups rate (per sec): 189; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45586
       Jun 15 00:44:53 msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
       Jun 15 00:46:08 jnl: disk3s1: replay_journal: from: 283136 to: 1024512 (joffset 0x7a000)
       Jun 15 00:46:12 jnl: disk3s1: journal replay done.
       Jun 15 01:37:24 jnl: disk3s1: do_jnl_io: strategy err 0x6
       Jun 15 01:37:24 jnl: disk3s1: write_journal_header: error writing the journal header!
       Jun 15 01:37:24 jnl: disk3s1: close: journal 0xffffff8013ac5c20, is invalid.  aborting outstanding transactions
       Jun 15 01:37:26 jnl: disk3s1: replay_journal: from: 367616 to: 1361408 (joffset 0x3f000)
       Jun 15 01:37:27 jnl: disk3s1: journal replay done.
       Jun 15 10:33:57 process qmastercc[163] caught causing excessive wakeups. Observed wakeups rate (per sec): 1016; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 59722
       Jun 15 22:20:37 process smcFanControl[246] caught causing excessive wakeups. Observed wakeups rate (per sec): 324; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 46105
    kexts
       com.squirrels.airparrot.framebuffer (3)
    Daemons
       org.macosforge.xquartz.privileged_startx
       com.oracle.java.Helper-Tool
       com.microsoft.office.licensing.helper
       com.google.keystone.daemon
       com.adobe.fpsaud
    Agents
       org.macosforge.xquartz.startx
       com.oracle.java.Java-Updater
       com.hp.help.tocgenerator
       com.google.keystone.system.agent
       com.divx.update.agent
       com.divx.dms.agent
       org.w0lf.cDock
       com.adobe.ARM.UUID
    launchd
       /System/Library/LaunchAgents/com.apple.AirPortBaseStationAgent.plist
                 (com.apple.AirPortBaseStationAgent)
       /Library/LaunchAgents/com.divx.dms.agent.plist
                 (com.divx.dms.agent)
       /Library/LaunchAgents/com.divx.update.agent.plist
                 (com.divx.update.agent)
       /Library/LaunchAgents/com.google.keystone.agent.plist
                 (com.google.keystone.system.agent)
       /Library/LaunchAgents/com.hp.help.tocgenerator.plist
                 (com.hp.help.tocgenerator)
       /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
                 (com.oracle.java.Java-Updater)
       /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
                 (org.macosforge.xquartz.startx)
       /Library/LaunchDaemons/com.adobe.fpsaud.plist
                 (com.adobe.fpsaud)
       /Library/LaunchDaemons/com.apple.aelwriter.plist
                 (com.apple.aelwriter)
       /Library/LaunchDaemons/com.google.keystone.daemon.plist
                 (com.google.keystone.daemon)
       /Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
                 (com.microsoft.office.licensing.helper)
       /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
                 (com.oracle.java.Helper-Tool)
       /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
                 (org.macosforge.xquartz.privileged_startx)
       Library/LaunchAgents/com.adobe.ARM.UUID.plist
                 (com.adobe.ARM.UUID)
       Library/LaunchAgents/com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID. plist
                 (com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID)
       Library/LaunchAgents/org.w0lf.cDock.plist
                 (org.w0lf.cDock)
    Bundles
       /System/Library/Extensions/APExtFramebuffer.kext
                 (com.squirrels.airparrot.framebuffer)
       /System/Library/Extensions/hpPlugInInit.kext
                 (com.hp.scanner.PlugInInit)
       /System/Library/Extensions/hpPlugInInit.kext/Contents/Resources
                 (com.hp.scanner.PlugInInit)
       /System/Library/Extensions/ssuddrv.kext
                 (com.devguru.driver.SamsungComposite)
       /Library/Audio/Plug-Ins/Components/Ambience.component
                 (com.smartelectronix.magnus.Ambience)
       /Library/Audio/Plug-Ins/Components/ARIA Player AU.component
                 (N/A)
       /Library/Audio/Plug-Ins/Components/SmartMusicSoftSynth.component
                 (com.makemusic.audiounit.smartmusicsoftsynth)
       /Library/Audio/Plug-Ins/VST/ARIA Player VST Multi.vst
                 (N/A)
       /Library/Audio/Plug-Ins/VST/ARIA Player VST.vst
                 (N/A)
       /Library/Internet Plug-Ins/DivX Web Player.plugin
                 (com.divx.DivXWebPlayer)
       /Library/Internet Plug-Ins/Flash Player.plugin
                 (N/A)
       /Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
                 (com.google.googletalkbrowserplugin)
       /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
                 (com.oracle.java.JavaAppletPlugin)
       /Library/Internet Plug-Ins/o1dbrowserplugin.plugin
                 (com.google.o1dbrowserplugin)
       /Library/Internet Plug-Ins/OVSHelper.plugin
                 (com.divx.OVSHelper)
       /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
                 (com.microsoft.sharepoint.browserplugin)
       /Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
                 (com.microsoft.sharepoint.webkitplugin)
       /Library/Internet Plug-Ins/Silverlight.plugin
                 (com.microsoft.SilverlightPlugin)
       /Library/Internet Plug-Ins/SurveillanceClient.plugin
                 (com.boxdeng.xvmsplugin)
       /Library/PreferencePanes/Flash Player.prefPane
                 (com.adobe.flashplayerpreferences)
       /Library/PreferencePanes/HP Scanjet.prefPane
                 (com.hp.scanjet.prefs)
       /Library/PreferencePanes/JavaControlPanel.prefPane
                 (com.oracle.java.JavaControlPanel)
       /Library/QuickTime/CanonMJPEGAVI.component
                 (jp.co.canon.MJPEGAVIExporter)
       /Library/QuickTime/CanonMJPEGAVIDec.component
                 (jp.co.canon.CanonMJPEGAVIDec)
       /Library/QuickTime/CanonText.component
                 (jp.co.canon.Text)
       /Library/Spotlight/Finale.mdimporter
                 (com.makemusic.MDImporter.Finale)
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
                 (com.skype.skypeabdialer)
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
                 (com.skype.skypeabsms)
       Library/Caches/com.apple.Safari/Extensions/AdBlock.safariextension
                 (com.betafish.adblockforsafari)
       Library/Caches/com.apple.Safari/Extensions/ExifExt.safariextension
                 (de.phriedrich.exifext)
       Library/Caches/com.apple.Safari/Extensions/My eBay Manager-2.safariextension
                 (com.ebay.safari.myebaymanager)
       Library/Caches/com.apple.Safari/Extensions/Social Fixer.safariextension
                 (com.socialfixer)
       Library/Caches/com.apple.Safari/Extensions/Turn Off the Lights.safariextension
                 (com.stefanvd.turnoffthelights)
       Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
                 (com.Google.GoogleEarthPlugin.plugin)
       Library/Internet Plug-Ins/WebEx64.plugin
                 (com.cisco_webex.plugin.gpc64)
       Library/ScriptingAdditions/EasySIMBL.osax
                 (com.github.norio-nomura.EasySIMBL.osax)
    dylibs
       /usr/lib/libdvdcss.2.dylib
    Contents of /etc/ssh_config
        Host *
          SendEnv LANG LC_*
       Host *
           XAuthLocation /opt/X11/bin/xauth
    Font issues: 41
    Listeners
       launchd: afpovertcp
       launchd: microsoft-ds
       launchd: ssh
       kdc: kerberos
       nfsd: 1023
       rpc.statd: exp1
       rpc.lockd: 1017
       rpcbind: sunrpc
       rpc.rquot: garcon
    Wi-Fi
       link auth: wpa-psk
    User login items
       iTunesHelper.app
       smcFanControl
       Auto Mute.app
       SurplusMeterAgent.app
       RightZoom.app
       SpeechSynthesisServer.app
    Hidden apps
       .magicJack/Softphone/magicJack.app
       .magicJack/Softphone/splash.app
    Restricted files: 2584
    Safari extensions
       ExifExt
       Turn Off the Lights
       My eBay Manager
       AdBlock
       Social Fixer
    Elapsed time (s): 387

  • "Invalid Binary" error on app. Apple's reason is "Missing 64-bit support" due to changes from Feb 1st 2015

    Hello
    Can anyone help me with an "Invalid Binary" error on my app.
    Apple's response is:
    Dear developer,
    We have discovered one or more issues with your recent submission for "DPS Notes". To process your submission, the following issues must be corrected:
    Missing 64-bit support - Beginning on February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK. Beginning June 1, 2015 app updates will also need to follow the same requirements. To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code.
    Once these issues have been corrected, use Xcode or Application Loader to upload a new binary to iTunes Connect. Choose the new binary on the app’s Details page in My Apps on iTunes Connect, and click Submit for Review.
    Regards,
    The App Store team
    Can someone from the Adobe DPS team let me know how I can recreate the .ipa file so that it will meet Apple's requirements.
    They seem to have moved the goalposts since I created the original .ipa file in December. I thought I'd submitted it, just went back through iTunes Connect to check info as I hadn't heard anything from them, then hit this brick wall. Any help offered would be much appreciated.
    Thanks
    Rebecca

    Hi
    I've Updated App Builder, gone back to the DPS App Builder portal, regenerated new zip and ipa files and downloaded them.
    I clicked the Application Loader 3.0 link, downloaded the latest Appication Version, clicked on the "Deliver your App" button, and submitted the newly built App that was built using 32.4.2 version. (All the app icons were listed as "stored on server" so I presume they are all ok). The .zip file appeared to 'deliver' to Apple successfully. I've tried to resubmit it but get ta "Redundant Binary Upload. There already exists a binary upload with build version..." error message, so presume the orginal binary upload was successful. I have no idea how I can get this app from the "prepare for submission", to "in review". The last time I thought I'd submitted this app I got as far as the "waiting for review" status, and no further.
    At the moment I don't have a"+" button in the Build section - as mentioned on page 66 of Adobe's Step_by_step_guide_to_dps_se.pdf.
    So I can't add the new .zip file to the iTunes Connect > My Apps portal in the Build section of the Versions tab.
    I have put a support email into Apple, but don't expect a reply any day soon.
    The problem with starting all the way back through the App wizard is that I really want to use all the same App Name, Bundle ID, and details etc.
    Do you mean, going back to the Folio Producer Panel, and building a whole new App?
    This process certainly isn't for the faint-hearted!
    HELP!

  • Case When Statement and ORA:01722 Invalid number error

    Hi folks, I have posted this under another heading as well under E-business suite so apologies if some you have already seen it but I would really appreciate some help on this one. Any suggestions are most welcome.
    We are trying to put together a calculation that returns the number of days absent an individual has had in a given time period. We need to cater for those absences that started before the period and are closed during it, absence that start during the period and end after it, and those that open and close within it.
    The period is always a rolling 6 months from sysdate.
    This is the calc we have come up with so far which works for some people but we get the invalid number error if the absence includes a half day - so 0.5, 1.5,etc.
    This is probably over complicated but we are not techie at all so are learning as we go!
    We are using the HRMS - Administration - Oracle Human Resources (Core) business area in 10G and the Absence Attendance and Person folders.
    SUM(TO_NUMBER(NVL(( CASE WHEN Absence Attendance.Actual Start Date < TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') THEN ( CASE WHEN Absence Attendance."Actual End Date" > SYSDATE THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) END ) END ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( Absence Attendance.Duration Days ) END ) END ) END ) END ) END ),( DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") )),'999999990D00'))

    Hi,
    It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
    However, your formula is far more complicated than it needs to be.
    Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
    date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
    GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
    and AbsenceEnd as
    LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
    Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
    SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
    That's it. Not so complicated after all.
    Rod West

  • Case When Statement and ORA:1722 Invalid number error

    Sorry I posted this in the wrong forum - I have the answer now
    Cheers
    HELP!!!
    We are trying to put together a calculation that returns the number of days absent an individual has had in a given time period. We need to cater for those absences that started before the period and are closed during it, absence that start during the period and end after it, and those that open and close within it.
    The period is always a rolling 6 months from sysdate.
    This is the calc we have come up with so far which works for some people but we get the invalid number error if the absence includes a half day - so 0.5, 1.5,etc.
    This is probably over complicated but we are not Techie at all so are learning as we go! We are using the HRMS - Administration - Oracle Human Resources (Core) business area in 10G and the Absence Attendance and Person folders.
    SUM(TO_NUMBER(NVL(( CASE WHEN Absence Attendance.Actual Start Date < TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') THEN ( CASE WHEN Absence Attendance."Actual End Date" > SYSDATE THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) END ) END ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( Absence Attendance.Duration Days ) END ) END ) END ) END ) END ),( DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") )),'999999990D00'))
    Edited by: CPearce on Sep 25, 2008 8:03 AM

    Hi,
    It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
    However, your formula is far more complicated than it needs to be.
    Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
    date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
    GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
    and AbsenceEnd as
    LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
    Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
    SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
    That's it. Not so complicated after all.
    Rod West

  • "Invalid Cursor" Error in Form

    Hi,
    I wrote a procedure that take a REF CURSOR as an IN OUT argument. This procedure does an "OPEN cursor FOR qry" with a dynamic query:
    OPEN l_cursor FOR
           'SELECT A '||
             'FROM B '||
            'WHERE C = :l_var'
         USING myVar;After calling the procedure, I do a LOOP with FETCH.
    It works well when I use it in SQL*Plus with DBMS_OUTPUT but it returns a "ORA-01001 invalid cursor" error in Forms.
    Any help is welcome!
    Regards,
    Olivier.

    I found a solution on Metalink:
    Note:170881.1
    Note: 1007395.6
    Olivier.

  • XML Publisher Report ends with Warning -- Invalid Character Error in XML

    Hi,
    I have migrated the standard report 'Invoice Print Selected Invoices' from Reports 6i to XML Publisher. It has to print a Euro(€) in the report. It does not even generate the XML File fully. It gives the below error in the XML File. When i remove the special character, it works fine.
    Please let me know the settings to ensure that XML file also accepts the special characters. How do i get the Euro symbol printed in XML File with out giving Invalid Character Error?
    ===========================================================The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again
    later.
    An invalid character was found in text content. Error processing resource 'http://dfw1svdevapp03.ora.rackspace.com:8040/OA_...
    <C_INV_CURRENCY_SYMBOL>
    N class="m">>
    <LINE_UOM />
    <LINE_UNIT_SELLING_PRICE />
    ===========================================================
    The XML File even does not show which character set it uses. The output file starts with:
    ===========================================================
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.25.0
    -->
    ===========================================================

    Hi Tim,
    Thanks for your adhoc response.
    I have gone thru the Document 222663.1 and it says that the Developer 6.0.8.23 is required to handle this problem. We are using almost the updated Developer version i.e., Developer 6.0.8.25. So, this should be handled automatically, but it still errors out. Please suggest.
    Thanks,
    Kesava

  • HT5113 "Invalid code error" and "can't connect to the iTunes Store." Any suggestions?

    I keep getting an "invalid code error" when trying to preview a course with the enroll code. When I click on the link to the course, I get an error that says "can't connect to the iTunes Store." Any suggestions?
    I tried previewing a test course I made about a year ago. I was able to request access to the course, went into Course Manager and approved it, but hours later it still says awaiting approval on my iPad.
    Any ideas as to what could be going on, aside from a cruel April Fool's joke?
    Thanks.
    David

    How about trying to sign out of your account on the iPad, restart the iPad, sign back into the account and then try again?
    Settings>Store>Apple ID - tap on your ID and sign out - restart - go back - sign in.
    Other than going through the support article - if you haven't already done so - the only other thing I can think of is to reset/reboot the iPad. That can clear the memory and it does help solve a lot of "hinky" issues.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Item Validation on a Form - Receives ORA-0094: Invalid Idenitier error

    I'm fairly new to APEX and having an issue with an Item Validation on a Form receiving the ORA-0094: <Column Name>: Invalid Identifier error. I have looked at postings in this form on this error and tried many of the suggestions. I still can not get it to work. My lack of experience with APEX is not helping either.
    I'm using APEX release 2.2 with IE6.
    I'm trying to create a new Invoice in the Invoice table (CTS_INVOICE). The RFA Number for this invoice must be an active RFA record in the RFA table (CTS_RFA). Before I add the check for the RFA active status, I wanted to get the code that checks for the existence of the RFA record working first.
    After filling in the fields on the forms, click the Create button, and receives an error page with the following error ORA-0094: "RFA_NUMBER": Invalid Identifier.
    I have checked to make sure the table name, column name, and item name were correct with spelling and capitalization.
    Used the Wizard to setup the Item Validation.
    Type: EXISTS
    Validation Expression 1: Select 1 from CTS_RFA where RFA_Number = :P25_RFA_NUMBER
    Error message: Enter an active RFA number.
    location: Inline with Field and in Notification
    Associated Item: P25_RFA_NUMBER
    Any help would be greatly appreciated.
    Thanks,
    Vivian

    Vivian - Might the column have been created as a quoted identifier with mixed upper/lower case characters?
    Run this in SQL*Plus:
    select count(rfa_number) from cts_rfa;
    If that works without error then this is not the problem.
    Scott

  • Recieving ORA-01722 invalid number error while creating a materialized view

    Hi,
    I am receiving a ORA-01722 invalid number error while creating a materialized view. when run the select statement of the view i don't get any error, but when i use the same select statement to create a materialized view i receive this error. Could any please help in resolving this error. Here is the code i am using to create a materialized view.
    CREATE MATERIALIZED VIEW MV_EBS_CH_CLOSED
    REFRESH FORCE ON DEMAND
    AS
    SELECT DISTINCT kr.request_id, org.org_unit_name,
    ebs_ch_ticket_type (kr.request_id) ticket_type,
    DECODE
    (kr.status_code,
    'CLOSED_SUCCESS', kr.last_update_date,
    'IN_PROGRESS', (SELECT MAX (start_time)
    FROM ebs_ch_datastore ecd1
    WHERE kr.request_id = ecd1.request_id
    AND workflow_step_name =
    'Final BA Review and Deployment Exit Criteria')
    ) closed_date,
    substr(krhd.visible_parameter12,1,10) siebel_start_date,
    kr.creation_date itg_start_date
    FROM kcrt_requests kr,
    kcrt_request_types krt,
    kcrt_req_header_details krhd, kcrt_request_details krd1,
    (SELECT koum.user_id user_id,
    DECODE (koup.org_unit_name,
    'IT Implementations', 'CHS - Service Management BA',
    koup.org_unit_name
    ) org_unit_name
    FROM krsc_org_unit_members koum, krsc_org_units koup
    WHERE 1 = 1
    AND 'Y' = koup.enabled_flag
    AND koum.org_unit_id = koup.org_unit_id
    AND EXISTS (
    SELECT 'X'
    FROM krsc_org_units kouc
    WHERE koup.org_unit_id = kouc.org_unit_id
    START WITH kouc.parent_org_unit_id =
    ANY (SELECT org_unit_id
    FROM krsc_org_units krsc_org_units1
    WHERE 'Clearinghouse' =
    org_unit_name)
    CONNECT BY kouc.parent_org_unit_id =
    PRIOR kouc.org_unit_id)
    UNION
    SELECT kou.manager_id user_id,
    DECODE
    (kou.org_unit_name,
    'IT Implementations', 'CHS - Service Management BA',
    kou.org_unit_name
    ) org_unit_name
    FROM krsc_org_units kou
    WHERE 'Y' = kou.enabled_flag
    START WITH kou.parent_org_unit_id =
    (SELECT org_unit_id
    FROM krsc_org_units krsc_org_units2
    WHERE 'Clearinghouse' = org_unit_name)
    CONNECT BY kou.parent_org_unit_id = PRIOR kou.org_unit_id) org
    WHERE krt.request_type_id = kr.request_type_id
    AND krt.request_type_name IN ('Bug Fix', 'IT Enhancement')
    and kr.REQUEST_ID = krd1.request_id
    and krd1.batch_number = 1
    AND kr.request_id = krhd.request_id
    AND org.user_id in (krd1.parameter4, krd1.parameter5, krd1.parameter7)
    AND ( 'CLOSED_SUCCESS' = kr.status_code
    OR 'IN_PROGRESS' = kr.status_code
    AND kr.request_id IN (
    SELECT request_id
    FROM (SELECT DISTINCT request_id,
    MAX
    (start_time)
    closed_date
    FROM ebs_ch_datastore
    WHERE 'Final BA Review and Deployment Exit Criteria' =
    workflow_step_name
    GROUP BY request_id))
    Thanks,
    Shaik Mohiuddin

    This error occurs when you try to create a materialized view , but if you run the sql the results are perfectly fine. Well it happend to me also and to fix this I made sure all the coulmns have the same data type which are used in joins or in where clause.
    use
    where
    to_number(col1)=to_number(col2) and to_number(col3)=to_number(col4)
    hope this helps..

  • Getting Invalid URL error while creating the app even though it's returning valid content from browser.

    Hi ,
      i am trying add RSS section with URL http://api.foxnews.com/proxy/content/v2?sort=date desc&omitHeader=true&api_key=cc23011f-3ace-40a4-bb63-bfa654af5bc8&format=full-content-rss.xml&rows=20&q=content_type:article AND image_url:*
    AND section_path:fnc/entertainment , and it's giving invalid URL error. like @ Invalid Url, use http or https://[domain]. Please help what's going wrong with this URL content. 

    I've recently deployed an application in Websphere and HTTPServer and have Oracle on the DB back-end. Tim, apparently your login problem happens inside the Websphere. You will have a better chance to ask this question in IBM's forums.

  • Invalid number error for bind dialog

    Oracle SQL Developer version 1.1.2.25 BUILD MAIN-25.79
    Running under WinXP
    Issue description:
    We get an invalid number error when bind variable filled with an enter in the bind dialog

    It is hard to say what is causing your problem without the specifics (ie query and value entered for the bind variable). Try running the same statement with the value of the bind variable in place of the bind variable (ie instead of running "select * from dual where dummy = :var" with a value of 'x' for :var, run "select * from dual where dummy = 'x'"). If you get the same error, then it is not an issue with the use of bind variables.
    Be aware that currently you cannot define the data type of bind variables (unlike TOAD, etc) and they are all treated as character values. I wouldn't have thought that this would cause you problem unless you are using a bind variable to restrict a numeric column to a specific value and you are entering a non-numeric bind (ie "select * from people where person_id = :id" and using 'xyz' as the value for :id).

  • How to determine offending column in ORA-01722: invalid number error ...

    When an error like
    ORA-01722: invalid number error
    occurs and you are dealing with many columns that could be the 'culprit', does anyone have a method by which
    you can quickly determine offending column?

    SQL PLus will tell you:
    SQL> create table t
      2  (col1  number
      3  ,col2  number
      4  ,col3  number
      5  ,col4  number
      6  ,col5  number
      7  );
    Table created.
    SQL> create table x
      2  (col1  varchar2(10)
      3  ,col2  varchar2(10)
      4  ,col3  varchar2(10)
      5  ,col4  varchar2(10)
      6  ,col5  varchar2(10)
      7  );
    Table created.
    SQL> insert into x values ('1','2','x','4','5');
    1 row created.
    SQL> insert into t(col1,col2,col3,col4,col5)
      2  select col1,col2,col3,col4,col5 from x;
    select col1,col2,col3,col4,col5 from x
    ERROR at line 2:
    ORA-01722: invalid numberAnd if you rearrange your sql like this, sql plus will give you the line number of the offending column:
    SQL> insert into t
      2  (col1
      3  ,col2
      4  ,col3
      5  ,col4
      6  ,col5
      7  )
      8  select col1
      9        ,col2
    10        ,col3
    11        ,col4
    12        ,col5
    13  from x;
          ,col3
    ERROR at line 10:
    ORA-01722: invalid number

Maybe you are looking for

  • Using ipod as external drive

    Notice by apple: Do not format iPod to erase songs or playlists Do not use a disk utility program, such as Disk Utility, Drive Setup, or Windows Explorer, to erase iPod. Erasing songs from iPod this way can disable its music playing capabilities and

  • How to change the width of the whole portlet layout?

    Dear all, As we know, now the width of portlet layout has set to 100%. But there is a new requirment from my customer that the width of the whole portlet layout view must be set to 750px. So I tried to edit the css file and I found a block: #pt-porta

  • Can't start Numbers, can't reinstall

    MacBook Pro, 10.6.8 (Snow Leopard), bought a year and a half ago. I bought all of iWork from the AppStore right after buying the computer, have used them happily until earlier this month. Now, when I open any of the iWork apps - including Numbers - I

  • Condition is not working

    Hi ALL.. Please give me your suggestions why this problem occurs. In the condition,when I keep the Charecteristic Assignment as "All Charecteristics in Drilldown independently" then I am getting only result row. But when I used "Individual Chars and

  • Help! I've downloaded something I shouldn't have

    I need help. All I wanted to do was create a "siggy." I looked for Adobe Photoshop that worked with Windows XP. I downloaded CS6 13.0.1.1 because it said it worked with Windows XP. Now I have a problem and do not know what to do...I downloaded this t