Problem with Multi File upload example, help needed

I got the code from the following location.....
http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html
And I've got it to work to some degree except I cant get the file transfer to work when pressing, Upload.   Below is what my debugger outputs.  Any thoughts on how to fix this or even what it means?
At the very bottom of this message is the upload.cfm code.......
Thanks in advance for the help
<html>
<head>
  <title>Products - Error</title>
</head>
<body>
<h2>Sorry</h2>
<p>An error occurred when you requested this page.
Please email the Webmaster to report this error.
We will work to correct the problem and apologize
for the inconvenience.</p>
<table border=1>
<tr><td><b>Error Information</b> <br>
  Date and time: 12/07/09 22:25:51 <br>
  Page:  <br>
  Remote Address: 67.170.79.241 <br>
  HTTP Referer: <br>
  Details: ColdFusion cannot determine how to process the tag &lt;CFDOCUMENT&gt;. The tag name may be misspelled.<p>If you are using tags whose names begin with CF but are not ColdFusion tags you should contact Allaire Support. <p>The error occurred while processing an element with a general identifier of (CFDOCUMENT), occupying document position (41:4) to (41:70).<p>The specific sequence of files included or processed is:<code><br><strong>D:\hshome\edejham7\edeweb.com\MultiFileUpload\upload.cfm      </strong></code><br>
  <br>
</td></tr></table>
</body>
</html>
<!---
Flex Multi-File Upload Server Side File Handler
This file is where the upload action from the Flex Multi-File Upload UI points.
This is the handler the server side half of the upload process.
--->
<cftry>
<!---
Because flash uploads all files with a binary mime type ("application/ocet-stream") we cannot set cffile to accept specfic mime types.
The workaround is to check the file type after it arrives on the server and if it is non desireable delete it.
--->
    <cffile action="upload"
            filefield="filedata"
            destination="#ExpandPath('\')#MultiFileUpload\uploadedfiles\"
            nameconflict="makeunique"
            accept="application/octet-stream"/>
        <!--- Begin checking the file extension of uploaded files --->
        <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
        <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
<!---
If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
--->
        <cfif filecheck eq false>
            <cffile action="delete" file="#ExpandPath('\')#MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
        </cfif>
<!---
Should any error occur output a pdf with all the details.
It is difficult to debug an error from this file because no debug information is
diplayed on page as its called from within the Flash UI.  If your files are not uploading check
to see if an errordebug.pdf has been generated.
--->
        <cfcatch type="any">
            <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                <cfdump var="#cfcatch#"/>
            </cfdocument>
        </cfcatch>
</cftry>

Just 2 things in my test:
1) I use no accept attribute. Coldfusion is then free to upload any extenstion.
Restricting the type to application/octet-stream may generate errors. Also, it is unnecessary, because we perform a type check anyway.
2) I have used #ExpandPath('.')#\ in place of #ExpandPath('\')#
<cfif isdefined("form.filedata")>
<cftry>
<cffile action="upload"
            filefield="filedata"
            destination="#expandPath('.')#\MultiFileUpload\uploadedfiles\"
            nameconflict="makeunique">
        <!--- Begin checking the file extension of uploaded files --->
        <cfset acceptedFileExtensions = "jpg,jpeg,gif,png,pdf,flv,txt,doc,rtf"/>
        <cfset filecheck = listFindNoCase(acceptedFileExtensions,File.ServerFileExt)/>
<!---
If the variable filecheck equals false delete the uploaded file immediatley as it does not match the desired file types
--->
        <cfif filecheck eq false>
            <cffile action="delete" file="#ExpandPath('.')#\MultiFileUpload\uploadedfiles\#File.ServerFile#"/>
            <cfoutput>Uploaded file deleted -- unacceptable extension (#ucase(File.ServerFileExt)#)</cfoutput>.<br>
        </cfif>
Upload process done!
        <cfcatch type="any">
            There was an error!
            <cfdocument format="PDF" overwrite="yes" filename="errordebug.pdf">
                <cfdump var="#cfcatch#"/>
            </cfdocument>
        </cfcatch>
</cftry>
<cfelse>
<form method="post" action=<cfoutput>#cgi.script_name#</cfoutput>
        name="uploadForm" enctype="multipart/form-data">
        <input name="filedata" type="file">
        <br>
        <input name="submit" type="submit" value="Upload File">
    </form>
</cfif>

Similar Messages

  • Problem With Swf File. Please Help!!!!

    Hi! I recently got adobe flash cs4 and i tried to create swf wallpaper (flash lite 1.1), so everything looked good, untill i opened the file. The problem is its constantly blinking, like its refreshing with every second or frame or something. Then i transfered it to my phone and theres no change. I had the same problem with CS3...I attached the sample, if someone cares to see...Please can somebody help me??? Thank you!

    I think (at a first look) that you should put a stop() command at each frame of your movie.
    Playhead is running through your movie from one frame to another and back to beginning if you don't stop it with stop() command.
    What I mean is:
    in frame one of your movie put ActionScript: stop();
    in frame two of your movie put ActionScript: stop();
    etc.
    If navigation through your movie is linear, like some animations then don't put this AS in frames, but it seems to me that this will solve your problem.
    For more (if this isn't helping) upload your movie along with ActionScript.

  • Problems with processing files uploaded from Safari browsers

    I have a jsp that allows users to upload files via a secure form and the standard html <input type=”file” … > tag.
    For complex reasons I need to get the contents of the HttpServletRequest into a character array. Basically my code looks like this:
    BufferedReader reader = request.getReader();
    char[] ba = (char[]) Array.newInstance(char.class, MAXFILESIZE);
    int total = 0;
    int charsRead =0;
    while ((charsRead = reader.read(ba, total, 1024)) > -1)
    total += charsRead;
    When the request is submitted by a Safari browser, approximately 70% of the time, the very first reader.read does not return a result. After about 2 minutes, I get a SocketTimeoutException. On the client side, Safari shows a “loading ….” Message and after 5 minutes reverts to a blank screen – unsurprisingly since the server never serves up a response.
    By way of comparison, when the transaction is successful, the process takes less than 1 second.
    java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code))
    at com.ibm.ws.io.Stream.read(Stream.java(Compiled Code))
    at com.ibm.ws.io.ReadStream.read(ReadStream.java(Compiled Code))
    at com.ibm.ws.http.ContentLengthInputStream.read(ContentLengthInputStream.java(Compiled Code))
    at com.ibm.ws.io.ReadStream.read(ReadStream.java(Compiled Code))
    at com.ibm.ws.webcontainer.http.HttpConnection.read(HttpConnection.java:342)
    at com.ibm.ws.webcontainer.srp.SRPConnection.read(SRPConnection.java:200)
    at com.ibm.ws.webcontainer.srt.SRTInputStream.read(SRTInputStream.java:80)
    at com.ibm.ws.webcontainer.srt.http.HttpInputStream.read(HttpInputStream.java:312)
    at java.io.InputStream.read(InputStream.java(Compiled Code))
    at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java(Compiled Code))
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))
    at java.io.InputStreamReader.read(InputStreamReader.java(Compiled Code))
    at java.io.BufferedReader.fill(BufferedReader.java(Compiled Code))
    at java.io.BufferedReader.read1(BufferedReader.java(Compiled Code))
    at java.io.BufferedReader.read(BufferedReader.java(Compiled Code))
    This problem occurs regardless of file size and even if Safari is told to report itself as firefox. This problem has not once occurred with any of IE 5,6 or 7 or Firefox 1.* and 2.*
    I have not been able to test this with Safari 3 Beta for Mac or Windows.
    Environment:
    Client is Mac OS-X 10.4.10 with Safari: 2.0.4
    Server is Websphere 5.1

    Since a few hours, I have the same problem like you. I uninstalled Firefox, because I thought it was a problem with it, but then i started Safari to redownload Firefox and guess what happened.. nothing. I can't download anything. don't know why. does anyone know whats wrong??

  • Problem with Tools Area iView Creation - Help Needed.

    Hi Guys,
    I am having a small problem with the Tool Area Par, I downloaded the Par and have edited it and then redeployed it on the Portal, however when I am creating an iView I am getting the Following error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/every_user/general/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.toolAreaiView
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file
    Can anyone suggest me what could be wrong and why I am not able to see the Iview and why I get this exception.
    Thanks,
    John.

    Log File:
    [code]
    Component : com.sap.portal.navigation.toolarea.default
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
         at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
         at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
         at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.navigation.ToolAreaiView of Portal Component com.sap.portal.navigation.toolarea.default because: Could not find implementation class
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:242)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
         at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
         at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
         ... 26 more
    Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.navigation.ToolAreaiView
    Found in negative cache
    Loader Info -
    ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@2086d]
    Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@695f94]
    References:
       not registered!
    Resources:
       C:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    apps
    sap.com
    irj
    servlet_jsp
    irj
    root
    WEB-INF
    portal
    portalapps
    com.sap.portal.navigation.toolarea
    private
    classes
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:360)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
         ... 30 more
    [/code]

  • Problem with flat file upload with ASCII file

    Hi All,
    I am trying to load data into an ODS object via PSA using a text file (tab delimited). I have the following settings in my InfoPackage
    External Data tab: ASCII File
    Seperator for thousands:
    Character for decimal point:
    Currency Conversion:
    Number of Header rows to be ignored: 1
    Processing tab: Only PSA and Update into data targets subsequently
    When I do a preview the data is not showing up in the right format....the tab seperation does not work and data is garbled with extra hexadecimal characters too.
    The same file contents in .csv format is loading the data in the right format and preview is fine too.
    I need help trying to convert this csv file to .txt format.
    Any clues are highly appreciated
    Thank you

    Hi,
    If in the infopackage you click on a File Type ASCII-file (CR delimiter) radiobutton and then F1, you’ll see the help:
    “With an ASCII file as a data source, the data has to be available as a string in the format of the transfer structure. There are no data separators, empty characters are not ignored.”
    This means that:
    -     you shouldn’t use any delimiters among the record fields
    -     all fields should have the length the system expects (length of the appropriate infoobject in transfer structure)
    -     each record should be separated from the next by carriage return CR.
    Since I think the program that converts file from Excel format into CR-delimited would be very useful, I created such program in VBA.
    So, open your Excel file (if you have csv-file you can open it using Excel).
    The program assumes that the first row of the file contain field names. Data itself begin from the 2nd row. Insert as the 1st and 2nd rows the new, blank rows.
    Into A1 cell insert number of the last row with data, into B1 – number of the last column. Certainly, it may be determined in the program, but I have not done it – if someone wants it, s/he can try it.
    Into fields of the 2nd row insert expected length of the field.
    Make sure that “Visual Bacis” toolbar is seen. (If not – tick in menu path: View/Toolbars/Visual Basic).
    In this toolbar click on a ‘Design Node’ icon.
    Drag from the toolbar and drop into worksheet a ‘Command button’ element.
    Double click on the button. In the open window for “Private Sub CommandButton1_Click()” subroutine insert the following code:
    Dim ws1 As Worksheet
    Dim J As Long, I As Long, L As Long
    Dim FileName As String, Out As String, formatOut As String
    Dim LenCell As Long
    Set ws1 = ThisWorkbook.Worksheets("SHEET1")
    FileName = ThisWorkbook.Path & "\" & Left(ThisWorkbook.Name, Len(ThisWorkbook.Name) - 3) & "txt"
    Open FileName For Output As #1
    For J = 4 To ws1.Cells(1, 1)
        Out = ""
        For I = 1 To ws1.Cells(1, 2)
            formatOut = (ws1.Cells(J, I))
            L = Len(formatOut)
            LenCell = Val(ws1.Cells(2, I))
            If L > LenCell Then
                formatOut = Left(formatOut, LenCell)
            Else
                Do While L < LenCell
                    formatOut = formatOut & " "
                    L = L + 1
                Loop
            End If
            Out = Out & formatOut
        Next
            Print #1, Out
    Next
    Close #1
    Set ws1 = Nothing
    MsgBox "File transformation finished!", vbOKOnly
    Now return to Excel sheet, click again ‘Design Node’ icon switching into run mode.
    When you press on this button now, the ASCII program will be created. It will have the same name as an input file (and in the same directory), but with TXT extention.
    Remarks:
    -     The program works with the current worksheet named as “SHEET1”.
    -     Fields that are shorter than those expected by the system are padded by spaces from the right. It should not be the problem, since in transfer structure you can check symbols only flag.
    -     Longer fields are truncated to the length expected.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Problem with Struts file upload with small files

    For some reason, when I try to upload a file that is smaller than 45 bytes using Struts (took me a long time to find this number), by the time the file is populated in my form bean and I read the size from it, the size is 0. Has anyone encountered this problem before?
    I created a file called test.txt, which contained the following text in it: "This is a test.". This file is about 15 bytes in size. When I was trying to upload this file using Struts, and write it to a temp file, my temp file always was of size 0. At first I was convinced it was my code, but then I tried a Word file (about 19kb), and it worked fine. Finally, I added some debug code at the beginning of my execute() method in my action to print out all the metadata for uploaded files, and I saw the the file size was 0 for files smaller than 45 bytes. I printed this just after I cast the form to be the type of form that I needed. What is happening to the contents of the file? Does Struts have a minimum size limit of files that it is able to process?
    Any help is greatly appreciated!

    AFter some more testing, I found that this is only a problem when using Firefox and Netscape. When using IE, files as small as 1 byte were properly uploaded, and the size was accurate when queried from FormFile.getFileSize().
    Does anyone have any ideas as to what may be happening in this case? Why it would work fine in one browser and not the other?

  • Problems with tomcat-3.3 (urgent help needed)

    Hello!
    I am using servlets with tomcat3.3. I'm using JDBC to gain access to an ODBC MS-Access db. My problem is that at the client site a SocketException is generated which says 'socket write error-connection reset by peer" or 'socket write error (error code =10053) . My observation(belief) is that this happens only when user press refresh(F5) of the browser before the first request gets processed. At that time error is ignored but the server gets sort of hanged in a couple of hours. The error does not get caught when entire code inside doGet() is put inside a try-catch block. PLease please help.
    Thanks in advance.

    gain access to an ODBC MS-Access db. My problem is
    that at the client site a SocketException is generated
    which says 'socket write error-connection reset by
    peer" or 'socket write error (error code =10053) . MyThis will always occur in a web server when the client disconnects before receiving the whole response. In a normal web server you will see this often on pages that are slow. It also happens when users double-click on buttons or links, since two requests get sent to the server.
    observation(belief) is that this happens only when
    user press refresh(F5) of the browser before the first
    request gets processed. At that time error is ignored
    but the server gets sort of hanged in a couple ofWhat do you mean the server is hanged ? Does it stop responding to requests ?
    hours. The error does not get caught when entire code
    inside doGet() is put inside a try-catch block. PLease
    please help.The server doesn't pass these sorts of errors to your servlet because Tomcat does all the mult-threading and connection cleanup itself.

  • Problem with JSF commandbutton !! help needed

    I have a command button like
    <h:commandButton id="submit" value="Submit" action="#{CheckForm.save}" />
    when i browse this, it is rendered as
    <input id="editSaveAppliance:submit" name="editSaveAppliance:submit" type="submit" value="Submit" onclick="clear_editSaveAppliance();" />
    where editSaveAppliance is my form name.
    I wonder why this onClick is attached to the button , even though I didnt say any onclick. Since this onclick event calls the clear_editSaveAppliance(); function which clears the value in the textbox... Y so?
    I want to call "CheckForm.save" on click of this button??
    can any body help me!

    Hi chandru,
    did you resolved the Command button problem?
    i am facing a similar problem.
    I am using RAD 6.0, when ever i define the listener code for a button it works fine but when i have a value change listener for my JSF Components such as selectOneMenu the action for the command button is not working.
    what may be the reason?
    please reply to this ASAP.

  • MOVED: Sudden problem with MSI K8N DIAMOND - urgent help needed

    This topic has been moved to AMD64 nVidia Based board.
    https://forum-en.msi.com/index.php?topic=93490.0

    Quote from: Tricky78 on 10-February-06, 07:00:58
    lDaGGerl my friend , it worked !!! i don't know why but i did what u are saying and the PC booted normally !!! i didn't left the battery for a whole day but for 3 hours and it worked ...
    anyway , after arriving at the welcome screen of Windows (it was such a sweet image !!) , the same thing happened.The pc froze and after restarting then it doesn't post again ... the proccessor is ok , the mobo was showing bios version 1.8 , so i guess it is an issue with the RAM ... I will run a test with different ram and let u know ...
    Billy
    It should be related with your Maxtor SATA-II HDDs. You might connect them to SATA1/2/3/4,which are controlled by nForce4 chip. So first set them as SATA-I mode and update their firmware. You need to contact Maxtor Technical Support and get the latest firmware. Check Maxtor's knowledge and you can find the correpsonding information.Also you can also find the related in this forum such as the following thread.
    https://forum-en.msi.com/index.php?topic=93492.0

  • Problems with  File Upload Example

    Hi,
    I follwed all the steps as in File Upload Example, still I am getting this exception,
    Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- Error loading deployment descriptors for _linnfdb -- There is no web component by the name of uploadFile here.
    Has any one got a clue???????????
    Any help will be greatly appreciated.
    cheers
    kush

    Hi,
    There is a relevant topic on EA discussion.
    Topic:mini-mini FileUpload tutorial
    https://feedbackprograms.sun.com/project/forum/thread.html?cap={3F4DA363-16D3-4D4C-920C-992ECB054B6D}&forid={CC6B8562-F896-4A44-ACB6-4684BDD05E19}&topid={7EDEB723-F414-4DE5-9B8E-A4A4C625474E}
    Hope this helps.
    Please post messages related to Creator 2 EA at the feedbacks programs portal. The URL is:
    https://feedbackprograms.sun.com/login.html
    Thanks,
    RK.

  • [help needed] Javadoc problem with many files

    Hi,
    I have an Ant script generating my javadoc every night. I have about 5700 java files making about 42MB of data.
    It worked fine for two years until two weeks ago, where the script stopped with the following message :
    <<
    [... big snip...]
    [javadoc] C:\Temp\Java\blablabla.java:58: cannot resolve symbol
    [...snip...]
    [javadoc] public HtmlComponent getCell(
    [javadoc] ^
    [javadoc] 100 errors
    [javadoc] 1 warning
    BUILD SUCCESSFUL
    Total time: 1 minute 40 seconds
    >>
    If I execute the javadoc generation on a smaller set of java source files, I still have a lot (100 displayed) of error messages like the one above (which generaly don't stop javadoc), but the generation continues :
    <<
    [...big snip...]
    [javadoc] C:\Temp\Java\xxx.java:12: cannot resolve symbol
    [...snip...]
    [javadoc] public SelectionNoop(Fig fig) {
    [javadoc] ^
    [javadoc] Standard Doclet version 1.4.2_08
    [javadoc] Generating C:\temp\JavadocNewSI\constant-values.html...
    [javadoc] Building tree for all the packages and classes...
    [javadoc] Generating C:\temp\JavadocNewSI\com\zz\common\job\common\class-use\ManagerDelegate.html...
    [...big snip...]
    [javadoc] Generating C:\temp\JavadocNewSI\stylesheet.css...
    [javadoc] 6251 warnings
    BUILD SUCCESSFUL
    Total time: 23 minutes 33 seconds
    >>
    I don't understand what's going on. It is not a memory problem since it issues an intelligible message.
    I also managed to generate javadoc for several subsets, so it can't be a problem with one file or folder crashing javadoc.
    Any help welcome,
    Tug

    Well, it seems that the cause was indeed an empty java file...
    The generation fails if the empty java file is the set AND a refering file is in the set. If only one of these conditions are missing, then javadoc goes on...
    What I don't understand is that the empty file used to be here since may 2005 and the referring class is unchanged since 2004... it never bugged javadoc before.
    Creepy...
    Tug

  • [SkyDrive] Files can't be uploaded because there's a problem with a file or folder.

    On Windows 8.1 RTM, the SkyDrive metro client shows a message that "Files can't be uploaded because there's a problem with a file or folder." and lists one particular file. When I installed the PC, I have switched then Access all files offline
    option to On.
    The file resides in a directory I have deleted from the disk. When attempting to get rid of this "problem" (as there are no hints nor UI available) I have manually checked that the directory does not exists on the disk any more, as well as deleting
    the directory from cloud storage using a web browser. However, the message is still there.
    Restarting the computer several times nor keeping it idle for a significant amount of time did not help.
    How to get rid of that "problem" / how to fix it?

    Hi
    Let’s try to redirect the skydrive folder and sync again to see what’s going on:
    1. Open regedit and find following key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SkyDrive
    2. Change “UserFolder” to another location.
    3. Open the SkyDrive Metro app to confirm your files and new directory.
    Then check the issue again. 
    Regards,
    Kate Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem :)

    Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem

    hello, this might be a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.

  • Please Help:  A Problem With Oracle-Provided 'Working' Example

    A Problem With Oracle-Provided 'Working' Example Using htp.formcheckbox
    I followed the simple steps in the Oracle-provided example:
    Doc ID: Note:116534.1
    Subject: How to use checkbox in webdb for bulk update using webdb report
    However, when I select a checkbox and click on the Update button, I get a "ORA-01036: illegal variable name/number" error. Please advise. This was a very promising feature.
    Fred
    Below are step-by-step instructions provided by Oracle to create this "working" example:
    How to use a checkbox in WEBDB 2.2 report for bulk update.
    PURPOSE
    This article shows how checkbox can used placed on WEBDB report
    and how to use it.
    SCOPE & APPLICATION
    The following example to guide through the steps to create a working
    example of this.
    In this example, the checkbox is used to select the records. On clicking
    the update button, the pl/sql procedure is called which will update col1 to
    the string 'OK'.
    After the update is done, the PL/SQL procedure calls the report again.
    Since the report only select records where col1 is null, the updated
    records will not be displayed when the report is called again.
    Step 1 - Create Table
    From Sqlplus, log in as scott/tiger and execute the following:
    drop table chkbox_example;
    create table chkbox_example
    (id varchar2(10) not null,
    comments varchar2(20),
    col1 varchar2(10));
    Step 2 - Insert Test Data
    From Sqlplus, still logged in as scott/tiger , execute the following:
    declare
    l_i number;
    begin
    for l_i in 1..50 loop
    insert into chkbox_example values (l_i, 'Comments ' || l_i , NULL);
    end loop;
    commit;
    end;
    Step 3 -Create SQL Query based WEBDB report
    Logon to a WEBDB site which has access to the database the above tables are created.
    Create a SQL based Report.
    Name the report :RPT_CHKBOX
    The select statement for the report is :
    select c.id, c.comments, c.col1,
    htf.formcheckbox('p_qty',c.id) Tick
    from SCOTT.chkbox_example c
    where c.col1 is null
    In Advanced PL/SQL, (REPORT, Before displaying the form), put the following code
    htp.formOpen('scott.chkbox_process');
    htp.formsubmit('p_request','Update');
    htp.br;
    htp.br;
    Step 4 - Create a stored procedure in the database
    Log on to the database as scott/tiger and execute the following to create the
    procedure.
    Note: Replace WEBDB to the appropriate webdb user for your installation.
    In my database, I had installed webdb using WEBDB username, hence user webdb owns
    the packages.
    create or replace procedure chkbox_process
    ( p_request in varchar2 default null,
    p_qty in wwv_utl_api_types.vc_arr ,
    p_arg_names in wwv_utl_api_types.vc_arr ,
    p_arg_values in wwv_utl_api_types.vc_arr
    is
    i number;
    begin
    for i in 1..p_qty.count loop
    if p_qty(i) is not null then
    begin
    update chkbox_example
    set col1 = 'OK'
    where chkbox_example.id = p_qty(i);
    end;
    end if;
    end loop;
    commit;
    /* To Call Report again after updating */
    SCOTT.RPT_CHKBOX.show
    (p_request=>'Run Report',
    p_arg_names=>webdb.wwv_standard_util.string_to_table2(' '),
    p_arg_values=>webdb.wwv_standard_util.string_to_table2(' '));
    end;
    Summary
    There are essentially 2 main modules, The WEBDB report and the pl/sql procedure (chkbox_process)
    A button is created via the advanced pl/sql coding which shows on top of the report. (The
    button cannot be placed at the bottom of the report due to the way WEBDB creates the procedure
    internally)
    When any button is clicked on the report, it calls the pl/sql procedure chkbox_process.
    The procedure is called , WEBDB always passes the parameters p_request,p_arg_names and o_arg_values.
    p_qty is another parameter that we are passing additionally, This comes from the checkbox created
    using the htf.formcheckbox in the report select statement.
    The pl/sql procedure calls the report again after processing. This is done to
    show how to call the report.
    Restrictions:
    -The Next and Prev buttons on the report will not work.
    So it is important that the report can fit in 1 page only.
    (This may mean that you will not select(not ticked) 'Paginate' under
    'Display Option' in the WEBDB report. If you do this,
    then in Step 4, remove p_arg_names and p_arg_values as input parameters
    to the chkbox_process)

    If your not so sure you can use the instanceof
    insurance,
    Object o = evt.getSource();
    if (o instanceof Button) {
    Button source = (Button) o;
    I haven't thoroughly read the thread, but I use something like this:if (evt.getSource() == someObjRef) {
        // do that voodoo
    ]I haven't looked into why you'd be creating a new reference...

  • CF9 Multi File Upload Widget

    This new CF9 Multi File Upload widget looks great but it appears it is built using the old CFFILE code rather than that found in the new fileOpen, fileRead etc. functions - the difference being that the latter doesn't load the entire document in memory before writing which avoids several problems.
    Am I correct in that this new widget is built on CFFILE 'technology'?
    Thanks!
    Shane

    No - they do not work the same.  Unfortunately, there is no fileUpload.
    I cannot find a single example of how to use the new functions to perform a file upload.  This is the code I have come up with and it works fine - except the doc gets saved with the temp name instead of the 'real' name.
    <!--- get file name --->
    <cfset originalFileName = GetFileFromPath(FORM.sFile)>
    <!--- upload file --->
    <!--- instantiate object --->
    <cfset fileOb = fileOpen(FORM.sFile, "read")>
    <!--- move file from temp directory to final folder --->
    <cfset destinationfile = "c:\fileUploads\test\#originalFileName#">
    <cfif FileExists(destinationfile)>
         <cfoutput>A copy of #destinationfile# already exists.</cfoutput>
    <cfelse>
         <cfscript>
           FileCopy(originalFileName, destinationfile);
           </cfscript>
           <cfoutput>Copied: #originalFileName# <BR>
           To: #destinationfile#</cfoutput><BR>
    </cfif>
    <!--- close object --->
    <cfset fileClose(fileOb)>
    <cfset info = getFileInfo("c:\fileUploads\test\#originalFileName#")>
    I'm looking into using JS to set a hidden form value with the original name (file upload object defaultValue) but I'm still not particulary proficient at JS and I doubt it is necessary - I must be doing something wrong with these new CF8 file functions.

Maybe you are looking for

  • Macbook Pro shut off and won't turn on or charge?

    I purchased my Macbook Pro August 1st 2012 at Best Buy and in April it shut off for no reason and it wouldn't charge. Apple replaced the battery cable and my Macbook worked for a couple of weeks, then in May same thing happened and Apple replaced the

  • Error when running function

    I'm using Oracle XE Beta 1. I can create and deploy .NET stored procedures without any errors or warnings. But when I run the function from ODT I get the following errors: Run Function - [email protected] ORA-20100: The parameter is incorrect. ORA-06

  • How to make the power socket of a Tunderbold display fit in a MacBook 15'Retina?

    I have a new MacBook Pro retina (15') and a Tunderbold display. The (attached) powersocket of the Tunderbold Display doesn't fit in the MacBook Pro's new type of socket. What do I do? I also tried (temporarily) to plug the Tunderbold display I my old

  • How can I create forms in numbers

    How can I create forms in numbers

  • Plantage Première Eléments 12 "APPCRASH"

    Bonjour, Je travail sur un projet court-métrage, durée 36 minutes. Or, depuis quelques jours, Première plante "Adobe Première a cessé de fonctionner". Je bosse donc sur PREMIERE 12 ELEMENTS Niveau d'utilisation : débutant Le contenu du projet (mode E