Downloading not Word and Excel files

Hi guys,.

My Version of Jdev is 11.1.2.4.0. I'm working on uploading and downloading files in the blob column. When I download image, txt files its fine.but of work in the case of word and excel files its me gives error.

< Utils > < buildFacesMessage > ADF: addition of the following JSF error message: attribute set to RahulInvestment_Declaration_Form_ - 1314_2_.xlsx to FlxVch01 in AppModule.Mdm0405EOView4 a precision/scale not valid

oracle.jbo.AttrSetValException: Houston-27010: attribute set to RahulInvestment_Declaration_Form_ - 1314_2_.xlsx to FlxVch01 in AppModule.Mdm0405EOView4 a precision/scale not valid

at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:381)

at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:360)

at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:1076)

at oracle.jbo.rules.AbstractValidator.doRaiseException(AbstractValidator.java:1119)

at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1108)

at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:415)

at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1095)

at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:241)

at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:392)

at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:725)

at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:696)

at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:3242)

at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3187)

at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1938)

at oracle.jbo.server.AttributeDefImpl.resolveSet(AttributeDefImpl.java:3403)

at oracle.jbo.server.EntityImpl.setAttrInvokeAccessor(EntityImpl.java:1919)

at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:1846)

at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:2350)

at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:2152)

at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1483)

at oracle.jbo.server.ViewRowImpl.setAttrInvokeAccessor(ViewRowImpl.java:1458)

at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:1052)

at oracle.jbo.server.ViewRowImpl.setAttribute(ViewRowImpl.java:992)

at customerStatus.supplierInfoClass.uploadAttach(supplierInfoClass.java:143)

at customerStatus.supplierInfoClass.diagDocDL(supplierInfoClass.java:118)

at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sun.el.parser.AstValue.invoke (unknown Source)

at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1589)

at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:98)

at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

at java.security.AccessController.doPrivileged (Native Method)

at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

< Utils > < buildFacesMessage > ADF: addition of the following JSF error message: attribute set to application/vnd.openxmlformats-officedocument.spreadsheetml.sheet for FlxVch02 in AppModule.Mdm0405EOView4 a precision/scale not valid

oracle.jbo.AttrSetValException: Houston-27010: attribute set to application/vnd.openxmlformats-officedocument.spreadsheetml.sheet for FlxVch02 in AppModule.Mdm0405EOView4 a precision/scale not valid

Is my code for the Java download

UploadedFile myfile = (UploadedFile) this.getFile ();

BindingContext bindingctx = BindingContext.getCurrent ();

BindingContainer links = bindingctx.getCurrentBindingsEntry ();

DCBindingContainer bindingsImpl = (DCBindingContainer) links;

DCIteratorBinding iter = bindingsImpl.findIteratorBinding("Mdm0405EOView4Iterator");

Line = iter.getCurrentRow ();

Download the file into the Blob column

row.setAttribute ("FldBlb", createBlobDomain (myfile));

File name

String fileName = (String) myfile.getFilename ();

row.setAttribute ("FlxVch01", fileName);

Content/MIME file type

String fileContentType = (String) myfile.getContentType ();

row.setAttribute ("FlxVch02", fileContentType);

Committing Transaction

Method of the class OperationBinding = bindings.getOperationBinding ("Commit");

Method.Execute ();

Returns a null value.

Thank you

Raul

You try to set a type mime in the attribute FlxVch02 what id too long for the space provided in the db table.

He must either reduce the type or increase the length of the column in the table for the type of mine.

Timo

Tags: Java

Similar Questions

  • "The file is not found" error message when you try to view recent items list for word and excel files

    Title files: original vista on the recent items list does not open

    When I select a file from my recent items list, I get an error message indicating that the file is not found, but it lists the correct path to the file, and if you go to this path of the file, the file is clearly there.  This happens with word and excel files but not the adobe pdf files.

    Hi GillianMO,

    Remember to make changes before this problem?

    Method 1: Run the fixit available in the links below and check if that makes a difference-Worth to try
    Diagnose and repair Windows files and folders problems automatically
    Difficulty of broken desktop shortcuts and common system maintenance tasks

    Note: FixIt would attempt to recover bad sectors on the hard disk, in the course of this process there are chances of DATA loss from that particular area.

    Method 2: If a Protection of resources Windows (WRP) file is missing or is damaged, Windows may not behave as expected. Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    If the problem persists, I suggest you to send your request in the Forum Office for more specialized help.

    Office Forum

    http://answers.Microsoft.com/en-us/Office/Forum/Excel?page=1

  • Photosmart Premium c309g-m: cannot print from word and excel files

    Hello

    My question previous (25/02/2016 09:44) problems with the HP Solution Center has been resolved today - I can open the program and I can scan.

    But now I can not print word and excel files - the paper is completely empty. I can print emails from google, but they are difficult to read.

    In Control Panel, devices and printers, I have until now had a HP printer: HP0BAC44 (HP Photosmart Premium C309g-m) but now I also have the printer: HP Photosmart Premium C309g-m (Standard). Who would have something to do with the problem? I tried printing from two of them, but the result is the same as mentioned above.

    Can you help me please?

    Thank you

    Peter S.

    Hello

    Bought a new printer (Envy 5646), and all my problems are solved.

    Thank you

    Peter S.

  • Word and Excel files saved in Office 2007 and from 1997 to 2003. It will open in Windows 7 or 8?

    I have saved as .doc or .docx Word documents and Excel documents saved as .xls or .xlsx due the fact that I use Windows XP for 10 years.  I know that I am facing with probably have to buy a new laptop - Windows 7 or 8 or 8.1, do not know what is in the future.

    I just want to know if my Word and Excel documents will open and be able to be changed on a computer that is not XP such as Windows 7 or 8, etc..  I appreciate any help anyone can provide.  Thank you.

    Linda

    Once you have installed 2007 office 2010 and 2013, they should have no problem opening of their.

  • I recently lost all my Word and Excel files more music, photos, almost everything

    original title: information loss

    I recently lost all my Word and Excel as well as music, photos, files about everything really. After several cleaning including defrag programs I discovered that all the files are hidden and when you browse through to find some are readable, but all pictures are grayed out and instantly sunk. If anyone has experienced this problem or can anyone advise how to clear this mess.

    Hi AndrewHansford,
     
    As you have used various cleanup programs, this problem persists.
     
    Follow the steps in the article below to view the hidden files and folders:
     
    Once you find the files you're looking for, check if you can view the contents of it without any problem.
  • Smartphones blackBerry how to open and view Word and Excel files?

    I registered the "Word to Go" and the sheet to Go"applications.  However, when I try to open an excel since an attachment file, a message appears indicating that I can't view the attachment on my device type.  I tried saving the file under the name of previous versions of excel with no luck.

    Same problem when I try to export files to blackberry.  An error message indicates the device can carry only the file but not open or read it.

    Any help would be most appreciated! Thank you!

    Thanks for the reply of John.  I rebooted and no it did not work.  The files do not seem to be recognized by the phone as those I send an email to the phone have a "?" on them.  However, if I open word or excel (to go) on the device, the application looks for files, but can't find even if I put some on the phone but the USB.

    Any other suggestions please?  Thanks again.

  • all my word and Excel documents all appear in the files my images. If I delete the document of MY photos it is deleted in Word/Excel too, how to undo it?

    Word and Excel files are saved in Word and Excel and in my images.  If I delete the document of my images, it is also deleted in Word / Excel.  I checked and all Word/Excel documents are in my pictures including documents several years ago.

    Can someone tell me why this is happening so Ican break & he has not reproduce? Is this related to the theScan function?  My husband scanned something recently

    You have them saved to this location for some reason any. If you don't like that you have to move them to the correct location and stop then save in the wrong location.

    Whenever you save something you must check if you save it in the correct location, of course.

    Do not delete them. You can use UNDO and trash to get back those you've accidentally deleted recently.

  • New M476NW Laserjet Pro do not print MS Word or Excel files

    I just bought a new printer color Laserjet Pro MFP M476nw. I am Sina MS Vista 32bits and MS Office 2007.

    The printer will print pictures, emails and I can make copies, etc, but I can not print Word files, envelopes from Word, Excel files, etc..

    Up to what my old HP Laserjet 4 p died the other day (internal short circuit) I was able to print everything. Spent 8 hours or so try everything I read from Microsoft, HP, etc., without success. Installed, uninstalled, reinstalled, ran diasgnostics, always without success.

    I can't communicate with anyone at HP for less than $99 to talk to a person. Very frustrating.

    As I said, the Word and Excel files printed fine until I bought the new M476nw printer. How can this be repaired?

    @DerekChristense

    Thanks for letting me know that print and Scan Doctor helped you solve your problem and you print back.

  • Word or excel file does not open on gives Vista error: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    Word or excel file does not open on gives Vista error: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    Whenever I click on a word or document it opens excel excel but it gives an error message: windows cannot open c:\users... Make sure you typed the name correctly and try again.

    I can open the document that after selecting the file only in excel or word blank document by clicking on the windows logo & choose the file and click on open.

    I need immediate assistance. I tried windows service pack 2 updates, but nothing works. Can anyone help?

    Please repost your question in the Discussion of the Office group at: http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.office.misc&lang=en&cr=US where the Word and Excel experts will be more than happy to help you with your problem.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Microsoft Word and Excel (2010) do not appear when you attempt to associate file types with applications.

    Word and Excel are installed and are working on the new computer from my parents.  They have the word 'old' and the files whose file extensions are not associated with Word or Excel is excellent.  If they open Word (or Excel), they can then open these old files successfully.  On the other hand, if they double-click on the file, the popup shows the type of file is not associated with an application.  When asked to choose an application to associate, the list does not include Word or Excel.

    The same is true when you use the programs Start/Default/associate a file type or Protocol with a program.  Word and Excel are not shown as applications installed on this computer.

    I did an uninstall and reinstall, and the old word files and excellent files are still not associated.  I was then able to associate using the types of programs/associate of start/default etc..  So I think I'm good to go.  This occurs naturally, and it was a big pain.  Not what you want to experience, unfortunately, visitors.

  • Can I download windows 2007 in window 7 and therefore able to open word and Excel?

    I have windos 7. I'm used to XP in which I could easily open MS word and Excel. Now, I'm unable to open attachments that are all word and excel doc. If I down load from internet windo 2007 will be it works wihout causing of problems for window 7.

    I have windos 7. I'm used to XP in which I could easily open MS word and Excel. Now, I'm unable to open attachments that are all word and excel doc. If I down load from internet windo 2007 will be it works wihout causing of problems for window 7.

    P.S. There is no windows 2007. You mean Microsoft Office 2007.

    As for your question...
    According to why do install you Office 2007. If you reason must be able toOPEN doc and excel attachments, and does NOT on Word or Excel programs, then you lose your money. You have2 FREE viewers who will open the doc, and excel attachments.
    To open attachments doc, you need Microsoft Word VIEWER: download below link.
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=3657ce88-7cfa-457a-9aec-f4f827f20cac&displaylang=en

    Open excel attachments, you need Microsoft Office Excel VIEWER: download below link.
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=1CD6ACF9-CE06-4E1C-8DCF-F33F669DBC3A&displaylang=en

    t-4-2

  • Hello, I have just purchace pdf to word and excel converter and pay $ 24, but finally it's completely uselless for me because there no Greek language and convert the file completely incomprehensible... that I can speak for that?

    Hello, I have just purchace pdf to word and excel converter and pay $ 24, but finally it's completely uselless for me because there no Greek language and convert the file completely incomprehensible... that I can speak for that?

    Hi mariax7664987,

    Https://cloud.acrobat.com/ service export to Adobe PDF format is used to change the shape of PDF file format to other formats supported fire. His will not change the language of the PDF text.

    Kind regards
    Nicos

  • during the conversion of several Word and Excel docs in a combined PDF file random pages have blue background in the final PDF file.

    I have a user using Acrobat 10. It has been installed two weeks ago and had no problems at the start. Today, she said that when she tried to convert several word and excel docs by selecting and right-click on it to select convert/combine PDF format, pages randomly in the finished PDF file have a blue background. I did some research online and you can't find any information on this problem. Can anyone here shed some light on this subject and maybe point me in the direction of a solution? Any help is appreciated. Thank you!

    Hi Gilad,

    So something I didn't consider was that it could be a setting in office documents. The reason why I do not consider this was cause we tested several docs and had similar results each time. I returned and examined this possibility and found a setting in word that was causing this problem. Although the word doc showed no color page when opened in word, if I went to the "Page Layout"-> 'Color of Page', a shade of blue was chosen. By selecting "no color", then convert / combining documentation in PDF format, we have achieved the desired result. Thanks again for your response!

  • After I installed El Capitan he said that excel and word are not taken in charge.  Do I need to install new versions of word and excel?

    After the installation of El Capitan I find that excel and word are not supported.  What should I do?  Uninstall El Capitan?  install the new versions of word and excel?  Thank you

    cesar4821 wrote:

    install the new versions of word and excel?

    Yes.

    Ciao.

  • I can print Microsoft Word and Excel documents, but I am not able to print from the web. I get an error message that says: "Activation - Code 20' - error"Printer Not Activated".

    Activate printer F4580

    I run Microsoft Vista.  I have a printer HP F4580.  I can print Microsoft Word and Excel documents, but I am not able to print from the web.  I get an error message that says: "Activation - Code 20' - error"Printer Not Activated".  What should I do to correct this?

    Hello

    ·          What browser do you use to connect to the Internet?

    The error may occur if the wrong printer is set as default, the printer driver printer is missing, or if there are conflicts in Device Manager.

    Step 1: Make sure that the desired printer is set as the default printer:

    http://Windows.Microsoft.com/en-us/Windows7/change-your-default-printer

Maybe you are looking for

  • The original loop iteration after receiving the trigger of the PXI-6652 pulse

    Hello world I apologize if this has been answered somewhere else, but I'm having a hard time finding examples and tired after a long day of work. in any case, I use a PXI chassis with a PXI-7854R FPGA Board and module synchronization PXI-6652.  I hav

  • build the executable; delete tree.vi VI?

    I got a new job contract. The old person of LabVIEW has left the company and is not available. In the Word file, he leaves behind him, he writes To generate an executable or Setup during the system test, you must remove 1 file of the project. The fil

  • My t61 - no power after changing the power plug

    Hello guys,. If the short story, the power jack on my t61 did not work. I bought a new one, changed today, I have the pluging it - no power at all. I don't think it's the charger until the end, that he was working, its here to say, I didn't start the

  • update of windows 8

    Buy hp pavilion b208eb (aio) 8 installed windows updates 8.1 but not in the store by train pls help tks

  • the weather gadget side bar does not work

    thesidebarweathergadgetsonmypcisnotworkingatall