Like watching a file error dmp

Crystal Report gives me an error and it closes, all that does is create a log file crw32.dmp what I do in order to view the file?

Ok, but is not very descriptive I don t know what is better
Faulting application crw32.exe, version 12.0.0.683, stamp 47c8be9a, faulting module mfc71u.dll, version 7.10.3077.0, stamp 45952313, debug? 0, fault address 0x000ac991.

Similar Messages

  • " Can not interpret the data in file " error while uploading the data in DB

    Dear All ,
    After running the below report I am getting the " Can not interpret the data in file " error.
    Need to upload the data in DB through excel or .txt file.
    Kindly advise to resolve the issue.
    REPORT  ZTEST_4.
    data : it like ZPRINT_LOC occurs 0 with header line,
    FILETABLE type table of FILE_TABLE,
    wa_filetable like line of filetable,
    wa_filename type string,
    rc type i.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
    CHANGING
    FILE_TABLE = filetable
    RC = rc.
    IF SY-SUBRC = 0.
    read table filetable into wa_filetable index 1.
    move wa_filetable-FILENAME to wa_filename.
    Else.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = wa_filename
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = it.
    IF SY-SUBRC = 0.
    Write: / 'HI'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    insert ZPRINT_LOC from table it.
    if sy-subrc = 0.
    commit work.
    else.
    rollback work.
    endif.
    Regards
    Machindra Patade
    Edited by: Machindra Patade on Apr 9, 2010 1:34 PM

    Dear dedeepya reddy,
    Not able to upload the excel but have sucess to upload the .csv file to db through the below code. Thanks for your advise.
    REPORT  ZTEST_3.
             internal table declaration
    DATA: itab TYPE STANDARD TABLE OF ZPRINT_LOC,
          wa LIKE LINE OF itab,
          wa1 like line of itab.
                       variable  declaration
    DATA: v_excel_string(2000) TYPE c,
           v_file LIKE v_excel_string VALUE    'C:\Documents and Settings\devadm\Desktop\test.csv',  " name of the file
            delimiter TYPE c VALUE ' '.         " delimiter with default value space
         read the file from the application server
      OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    write:/ 'error opening file'.
      ELSE.
        WHILE ( sy-subrc EQ 0 ).
          READ DATASET v_file INTO wa.
          IF NOT wa IS INITIAL.
            append wa TO itab.
          ENDIF.
          CLEAR wa.
        ENDWHILE.
      ENDIF.
    CLOSE DATASET v_file.
    EXEC SQL.
         TRUNCATE TABLE "ZPRINT_LOC"
    ENDEXEC.
    *------display the data from the internal table
    LOOP AT itab into wa1.
    WRITE:/ wa1-mandt,wa1-zloc_code,wa1-zloc_desc,wa1-zloc,wa1-zstate.
    ENDLOOP.
    insert ZPRINT_LOC from table itab.

  • "File error: unknown file" upon movie import

    Got a DVD. Extracted the footage with Mac the ripper. Created an mp4 file with Handbrake. It plays fine in Quicktime at 720 by 480 and 23.98 FPS. I've tried importing it into FCP and I get the error, "File error: unknown file". FCP sequence presents are 24 FPS...I've also tried switching it to 23.98 FPS. I've re-encoded the movie in Quicktime to a .mov file with "DV/DVCPRO - NTSC" compression and it still will not import. Any suggestions?

    Tried making an AVI in Handbrake. Handbrake just froze everytime and it would never finish.
    I should also note that FFMpeg did not like the footage either and would not convert it to a file of any kind.
    So I put the DVD into a consumer DVD player and used my Panasonic DVX100B camera to record the footage in VCR mode. The tape turned out fine.
    BUT...
    I am trying to capture the footage from another low end Canon camera. Usually there is no problem. However, with this particular footage from this cursed DVD, I get a "general error" when I try to capture the footage in FCP.
    No matter what file format or media is used, this footage will not import into FCP. It must be watermarked to not like FCP.
    Any further suggestions???

  • File Error: Unknown File when trying to render a Motion Lower third

    I'm getting this: "File Error: Unknown File" when trying to render a Lower third made in the Motion tab. I'm using FCP 6.0.6 and haven't had any issues with this before. It seems to work fine if there is just text, but as soon as I apply any effect, like a drop shadow, I get that error message.
    Thanks,
    Joe

    What's the exact format of the video you're working with and the exact specification the sequence you're editing in?

  • Rep-0118:Unable to create temporary file error in Report Builder

    I have installed Report Builder (latest edition) for windows 2000 server, but my users on windows XP cannot create the report it gives them
    Rep-0118:Unable to create temporary file error
    Please help me out
    Vijay

    You have to change registry settings by going through REGEDIT. Under hkey_local_machine/software/oracle/<oracle home>, look for variable REPORTS_TMP. Change value for this, for example c:\windows\temp or something like that where you want oracle reports to create temp files.

  • "Unable to open project file" Error Message

    I pulled an all-nighter (13 hours of editing) last night to create a critical project in FCE 3.5.1 on my Intel iMac running 10.4.11 then left this afternoon for a few hours and shut down my machine. Came back tonight and tried to open the project (which I saved on my Maxtor 1 TB external drive along with all of the scratch disk files). To my absolute panic, it won't open the file now with an error message that simply says, "Unable to open project file". HELP!!!! Anyone have any suggestions?!?!

    In the past I found (and reported to Apple Feedback) the same bug Steve reports here, but I should recall that the problem:
    - only appeared in PAL projects (probably not the case for kscritch) - never heard of it in NTSC
    - was consistent in FCE 3.x, not so in FCE 4
    I made tests importing .psd images with transparency into PAL projects using FCE 4, and I had various behaviours: sometimes the project worked, sometimes I couldn't open the project again (as in FCE 3), sometimes I had error messages with inconsistent behaviour (msg like "file error", but the project opened and file was there...), etc. so I decided to do without.
    Now I only import .tif or .png images when I need transparency
    Piero

  • File Error:  Unknown file.  - Importing problem

    I recently had some problems getting my FCP 5.0.4 to launch. To make a long story short someone in this forum said that my version of FCP was out of date with my current Macbook Pro running 10.5.5. I found this a little odd because I've had this computer for over six months and have been running FCP the whole time without a single problem. Since funds are tight and I don't have the money upgrade I did some troubleshooting to see if I could make it work again.
    I did remember that I had recently moved some of my older quicktime codecs into my library/quicktime folder and when I removed them I was able to launch and run FCP.
    Now when I try to import files I'm getting a "File Error: Unknown file" error message. I am able to view all the quicktimes and am only able to import a few quicktimes. I have quicktimes from the last six years that I'm trying to import so there's a good variety of different codes that were used. But I am able to watch all of the quicktimes via Quicktime.
    Any suggestions why I might be getting this problem? Any way to fix this without upgrading? Thanks

    *I recently had some problems getting my FCP 5.0.4 to launch.*
    The reason is because that version of for PPC Macs, and you have an Intel Mac.
    *Someone in this forum said that my version of FCP was out of date with my current Macbook Pro running 10.5.5*
    It doesn't matter which OS version is running. You need an Intel/UB version of FCP to run on a Intel Mac.
    *Any way to fix this without upgrading?*
    It's not a problem. It's an incompatibility. Because you have run it for some time without an incident is incidental to its incompatibility.

  • "File Error: Unknown File" when rendering

    Hi,
    When attempting to render any clip I get a "File Error: Unknown File". Help?
    I'm using FCP 6.0.5 with video content from a Canon consumer HD camera.
    Thank you,
    Tim Moore

    switch the location of your render files and see if that helps. I had this happen week before last and it drove me crazy (crazier) I switched scratch disks and met deadline. Now it all behaves like it never happened. some bit stuck somewhere, that took the machine being off for a while to cure

  • Java web start - Launch File error

    This is my first attempt to use web start
    I get following error - under "general" tab I get
    Could not find main-class RCApp2 in http://manishdesai/rcapp/RCApp2.jar
    my .jnlp file looks like -
    <jnlp spec="1.0+" codebase="http://manishdesai/rcapp/" href="http://manishdesai/rcapp/RCApp2.jnlp">
      <information>
        <title>Application</title>
        <vendor>H</vendor>
        <homepage href="http://manishdesai/rcapp/help.html"/>
        <description>RC Application</description>
        <description kind="short">RC</description>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.5"/>
        <jar href="http://manishdesai/rcapp/RCApp2.jar" download="eager" main="false"/>
      </resources>
      <application-desc main-class="RCApp2"/>
    </jnlp> ]Need some help here
    thanks

    I am having similar problems. This is the first time i am using webstart. I learning as i go along. I am using tomcat. When i use the jar file on its own, it works perfectly fine. It loads properly and functions as its supposed to. But when i try to launch it using webstart it gives me these error messages.
    =========
    launch tab
    =========
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- JNLP File for Relay Traffic Generator -->
    <jnlp
    codebase="http://localhost:8001/ali/"
    href="relaynew.jnlp">
    <information>
    <title>relay traffic generator</title>
    <vendor>RIM</vendor>
    <homepage href="http://localhost:8001/ali/"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.4"/>
    <jar href="relay.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="RelayTrafficGenerator"/>
    </jnlp>
    ============
    exception tab
    ============
    JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
    <jnlp spec="1.0+" codebase="http://localhost:8001/ali/" href="http://localhost:8001/ali/relaynew.jnlp">
      <information>
        <title>relay traffic generator</title>
        <vendor>RIM</vendor>
        <homepage href="http://localhost:8001/ali/"/>
        <offline-allowed/>
      </information>
      <update check="timeout" policy="always"/>
      <resources>
        <java version="1.4"/>
        <jar href="http://localhost:8001/ali/relay.jar" download="eager" main="true"/>
      </resources>
      <application-desc main-class="RelayTrafficGenerator"/>
    </jnlp> ]
         at com.sun.javaws.LaunchDownload.getMainClassName(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    If some one has any idea how this can be fixed. Please advise.

  • Receiving an export file error: wrong type

    I have created a movie several times in FCP and then exported the movie to QT without any problems. Now all of a sudden, I can't get the movie to export correctly. After the 2 hour export, I'll check on FCP to find that the program has shut down without an "Unexpected Shut Down" message. I check for the exported movie which I find in the saved folder. I click to open and verify the completed job, but find that I get an error instead : "Error: Wrong Type".
    The last successful movie I created was September 14th, prior to the QT 7.5.5 upgrade. I thought it was the upgrade, as I found out that FCP does not do well with the new QT version, so I reverted to QT 7.5, but I am still experiencing the same problem with FCP quitting and the movie not being able to read.
    What is going on? Can anyone help?

    Francois:
    This is a crazy solution, but this happened to me last week and this solution enabled me to open my files again -- they were all greyed out and I thought I'd lost them. I took my drive in to an Apple Store Genius Bar without resolution and spend 2 hours online with ProApps (FCE/FCP) tech support, also with no resolution.
    This fix is based on the fact that FCP when it is started, it automatically opens the project that was open when it was closed. First, in FCP save the current project (this can be any project -- I created a placeholder project -- to a dummy name -- I used "save me". Close FCP and delete the dummy name ("save me") project. Now rename the project that is greyed out and provides the File Error: Wrong Type message that you would like to open to the dummy name, so that it's now called "save me". Now open FCP again. Now save the recuperated file using the original name.
    Maarten
    Here's what you do.

  • CR10 Dev JRC ReportSDKException Report location is not specified in the configuration file error

    I'm trying to embed a simple report into a j2ee application running under BEA WebLogic(without
    workshop)
    using the standalone Java Reporting Component (JRC), but I'm getting the exception
    shown below (along with my config and source).
    I'm just wondering at the cause of the exception, because I can successfully deploy
    this code to jboss.
    I've tried moving the CrystalReportEngine-config.xml file everywhere, from the
    /WEB-INF/classes/ folder
    to the /WEB-INF/ folder to the /WEB-INF/lib/ folder.
    I consulted the product documentation on the JRC and its tutorials but it has
    me stumped.
    I went through the BEA WebLogic Workshop tutorial, which worked for some reason,
    but I'm looking to do all the coding manually without any of BEA's controls and
    what not.
    Any information would be GREATELY APPRECIATED!!!
    Thanks,
    -Colin
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report location is
    not specified in the configuration file---- Error code:-2147
    215356 Error code name:fileNotOpened
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportAgentBase.case(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportServerControl.getReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.int(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown
    Source)
    at jsp_servlet.__viewreport._jspService(__viewreport.java:197)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    My EAR file structure is as follows:
    /crystal/ (context)
    /reports/qtrade_sp_listing.rpt
    /crystalreportviewers10/ -- bunch of crystal viewing stuff
    /WEB-INF/classes/CrystalReportEngine-config.xml
    /WEB-INF/lib/ -- bunch of crystal jar files
    My CrystalReportEngine-config.xml is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
    <reportlocation>../..</reportlocation>
    <timeout>10</timeout>
    <keycode>A2960-01C00FA-U700063</keycode>
    </CrystalReportEngine-configuration>
    My relevant Web.xml looks like:
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>/crystal/crystalreportviewers10/</param-value>
    </context-param>
    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    </web-app>
    My JSP Page Source:
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
    <html>
    <head>
    <title>Web Application Page</title>
    </head>
    <body>
    <crviewer:viewer
    viewerName="SPListingReport"
    reportSourceVar="_SPListingReport"
    displayGroupTree="false"
    displayToolbarToggleTreeButton="false"
    reportSourceType="reportingComponent">
    <crviewer:report reportName="reports/qtrade_sp_listing.rpt"></crviewer:report>
    </crviewer:viewer>
    </body>
    </html>

    I'm trying to embed a simple report into a j2ee application running under BEA WebLogic(without
    workshop)
    using the standalone Java Reporting Component (JRC), but I'm getting the exception
    shown below (along with my config and source).
    I'm just wondering at the cause of the exception, because I can successfully deploy
    this code to jboss.
    I've tried moving the CrystalReportEngine-config.xml file everywhere, from the
    /WEB-INF/classes/ folder
    to the /WEB-INF/ folder to the /WEB-INF/lib/ folder.
    I consulted the product documentation on the JRC and its tutorials but it has
    me stumped.
    I went through the BEA WebLogic Workshop tutorial, which worked for some reason,
    but I'm looking to do all the coding manually without any of BEA's controls and
    what not.
    Any information would be GREATELY APPRECIATED!!!
    Thanks,
    -Colin
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Report location is
    not specified in the configuration file---- Error code:-2147
    215356 Error code name:fileNotOpened
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown
    Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportAgentBase.case(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.ReportServerControl.getReportSource(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.int(Unknown
    Source)
    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown
    Source)
    at jsp_servlet.__viewreport._jspService(__viewreport.java:197)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    My EAR file structure is as follows:
    /crystal/ (context)
    /reports/qtrade_sp_listing.rpt
    /crystalreportviewers10/ -- bunch of crystal viewing stuff
    /WEB-INF/classes/CrystalReportEngine-config.xml
    /WEB-INF/lib/ -- bunch of crystal jar files
    My CrystalReportEngine-config.xml is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>
    <reportlocation>../..</reportlocation>
    <timeout>10</timeout>
    <keycode>A2960-01C00FA-U700063</keycode>
    </CrystalReportEngine-configuration>
    My relevant Web.xml looks like:
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>/crystal/crystalreportviewers10/</param-value>
    </context-param>
    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    </web-app>
    My JSP Page Source:
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer"%>
    <html>
    <head>
    <title>Web Application Page</title>
    </head>
    <body>
    <crviewer:viewer
    viewerName="SPListingReport"
    reportSourceVar="_SPListingReport"
    displayGroupTree="false"
    displayToolbarToggleTreeButton="false"
    reportSourceType="reportingComponent">
    <crviewer:report reportName="reports/qtrade_sp_listing.rpt"></crviewer:report>
    </crviewer:viewer>
    </body>
    </html>

  • Every time I try to create a new button I get "photoshop file error -1"

    I'm creating a BluRay set of discs. I'm on number 4 and there will probably be 12. I use the previous discs as a template for the new ones to save huge amounts of time. I haven't had an issue till I opened my project today. Usually I right click on a menu, edit it in photoshop, save it back in, and then I right click the new elemnts and turn them into buttons. I've made dozens of menus like this. Then today I get "photoshop file error -1" that pops up every time I try to make something into a button. I deleted the menu I was working on and used a different menu to rebuild it but I get the same problem. I then opened the photoshop file and saved it to a different location outside the project and then imported it into Encore. Same problem once I tried to make buttons. I also tried trashing the preferences. No Luck. I really need to get this working. It has completely destroyed my ability to get this job done. Ideas anyone?
    If it helps, I am on a Mac running OS X 10.9.1. Encore is version CS5.1.

    I thought there ought to be way to add buttons from the Encore library, but I don't think we found one.
    Best case: add menu from the library with buttons like what you want. Change background etc.
    I like working that way rather than adding things within Encore.
    Worst case: add a menu with the buttons you want; "edit in photoshop" and also "edit in photoshop" your menu; copy paste to your menu.
    You can also directly open library menus; add buttons etc from the encore library folders. I would make a copy of them first. Encore imports a menu from the library to your project; it is never working on its master copy.

  • No such File Error

    Hi I am getting a no such file error though I am calling functions correctly. I am able to compile successfully but getting these runtime errors.
    Can anybody point out what mistake I am doing:-
    Here are the error lines:-
    java.io.FileNotFoundException:  (No such file or directory)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:137)
            at java.io.FileInputStream.<init>(FileInputStream.java:96)
            at java.io.FileReader.<init>(FileReader.java:58)
            at Clamando$Roger3.readFile(Clamando.java:96)
            at Clamando$Roger3.<init>(Clamando.java:85)
            at Clamando.main(Clamando.java:260)
    java.io.FileNotFoundException:  (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at java.io.FileInputStream.<init>(FileInputStream.java:96)
        at java.io.FileReader.<init>(FileReader.java:58)
        at Clamando$Roger3.readFile(Clamando.java:96)
        at Clamando$Roger3.<init>(Clamando.java:85)
        at Clamando.<init>(Clamando.java:50)
        at Clamando$1.run(Clamando.java:265)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)readFile(filename); line 85
    BufferedReader fh = new BufferedReader(new FileReader(filename)); line 96
    getContentPane().add(paintPanel, BorderLayout.CENTER);
    new Clamando(0, 0, 0, 0, null, null).setVisible(true);
          public class Clamando extends JFrame {
                  public Color color;
                  public int top;
                  public int fixvalue1;
                  public int fixvalue2;
                  public int width;
                  public String text;
                  public int end;
                  public int value1;
                  public int value2;
                  public int mywidth;
                  private JPanel Roger3;
          public Clamando(int top, int fixvalue1, int width, int fixvalue2, Color c,String text) {
            this.color = c;
            this.top = top;
            this.fixvalue1 = fixvalue1;
            this.width = width;
            this.fixvalue2 = fixvalue2;
            this.text = text;
          setDefaultCloseOperation(EXIT_ON_CLOSE);
          setMinimumSize(new Dimension(1000, 200));
          Roger3 = new Roger3();
          getContentPane().add(Roger3, BorderLayout.CENTER);
          pack();
          static class Roger3 extends JPanel implements MouseMotionListener, MouseListener {
          public List<Glyph> glyphs;
              public int top;
              public int bottom;
              public int width;
              public String f[];
              public int value1;
              public int value2;
              BufferedImage image;
          Graphics2D g2d;
              Point startPoint = null;
              Point endPoint = null;
              public int start;
              public int x;
              public int y;
              int scaledvalue;
              public int end;
              public String filename = new String();
            public Roger3(){
                super();
                addMouseMotionListener(this);
                addMouseListener(this);
                boolean mouseClicked = false;
                readFile(filename);
                System.out.println(filename);
            public void readFile(String filename){
               this.filename = filename;
               glyphs = new ArrayList<Glyph>();
               String n = null; 
            try{
                BufferedReader fh = new BufferedReader(new FileReader(filename));   
                while((n = fh.readLine()) != null && (n = n.trim()).length() > 0){
                    f = n.split("\t");
                    value1 = Integer.parseInt(f[5].trim());
                    value2 = Integer.parseInt(f[6].trim());
                    top = value1 / 1;
                    bottom = value2 / 1;
                    width = bottom - top; 
                    String text = f[5];
                    Color color = new Color(Integer.parseInt(f[7]));
                    int fixvalue1 = 60;
                    int fixvalue2 = 27;
                    glyphs.add(new Glyph(top, fixvalue1, width, fixvalue2, color, text));
                fh.close();
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e2) {
                e2.printStackTrace();
          public void paintComponent(Graphics g) {
          public void mousePressed(MouseEvent e) {       
          public void mouseDragged(MouseEvent e) {
          public void mouseReleased(MouseEvent e) {
          public void mouseMoved(MouseEvent e) {
          public void mouseClicked(MouseEvent e) {}
          public void mouseEntered(MouseEvent e) {}
          public void mouseExited(MouseEvent e) {}
          static class Glyph {
          private Rectangle bounds;
          private Color color;
          private Paint paint;
          private String label;
          private boolean showLabel = false;
          public Glyph(int x, int y, int width, int height, Color color, String label) {
          bounds = new Rectangle(x, y, width, height);
          this.color = color;
          this.paint = new GradientPaint(x, y, color, x, y+height, Color.WHITE);
          this.label = label;
          public void draw(Graphics g){
          Graphics2D g2 = (Graphics2D)g;
          g2.setPaint(paint);
          g2.fill(bounds);
          if (showLabel){
          g2.setColor(Color.BLACK);
          int labelWidth = g2.getFontMetrics().stringWidth(label);
          int fontHeight = g2.getFontMetrics().getHeight();
          g2.drawString( label,
          (int)(bounds.getX()),
          (int)(bounds.getY()));
          public boolean contains(int x, int y){
          return bounds.contains(x,y);
          public void showLabel(boolean show){
          showLabel = show;
          public static void main(String args[]) {
           Roger3 hhh = new Roger3();
           hhh.readFile(args[0]);
          java.awt.EventQueue.invokeLater(new Runnable() {
          public void run() {
          new Clamando(0, 0, 0, 0, null, null).setVisible(true);
        public Color getColor(){
            return color;
        public String toString() {
            return String.format("Color=%s,top=%d,bottom=%d,width=%d", color.toString(), top, fixvalue1, width, fixvalue2, text);
          }Thanks

    I tried the same thing like this and it works perfectly but why its not working in the above code ?
    Here is the code that works:-
    import java.io.FileNotFoundException;
    import java.io.BufferedReader;
    import java.io.*;
    public class Testwow {
        public String filename = new String();
        public int one;
        public int two;
        public String f[];
        public Testwow(){
            readFile(filename);
            System.out.println(filename);
        public void readFile(String filename){
               this.filename = filename;
               System.out.println(filename);
               String n = null; 
               BufferedReader fh;
            try{
                fh = new BufferedReader(new FileReader(filename));   
                while((n = fh.readLine()) != null && (n = n.trim()).length() > 0){
                    f = n.split("\t");
                    one = Integer.parseInt(f[5].trim());
                    two = Integer.parseInt(f[6].trim());
                    System.out.println(one);
                    System.out.print(       two);
                fh.close();
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e2) {
                e2.printStackTrace();
        public static void main(String args[]){
            Testwow wow = new Testwow();
            wow.readFile(args[0]);
    }

  • Illustrator CC 2014 "Exception in file" error with linked images

    It appears some images are showing "Exception in file" error dialog boxes.
    If I resave the image in Photoshop or link it to a different image the error disappears.
    Happened with:
    - old design files linked to old images
    - image that was dragged from Mac Mail
    - linked to JPG provided from other users
    Does not happen with:
    - images created recently with Photoshop CC or CC 2014
    Here is the error:
    Has anyone else seen this and/or found a solution?
    This is an error on a new Mac Pro with brand new install of all software. No older versions of cc installed. Just CC 2014.

    That's a good idea. Unfortunately, same problem if I move the image to desktop or same folder as file.
    If I resave the file (JPG in this case) the error disappears.
    I understand this can be the solution, but given this issue had not happened before, it's interesting it is happening with CC 2014.
    Attached is the image in question. Note that this is not the only image. It has happened with older design files that were made from older versions of cc or before cc.
    I'm not sure if the uploader will recreate the JPG so I'll compress the file and is available here if anyone would like to test.
    Dropbox - photo 2.JPG.zip

  • End of file error on previously opened Raw files.

    I recently had an external hard drive get damaged. Many raw files were able to be recovered but when I go to open ones I had previously manipulated in ACR I get an end of file error. It seems it's only on the previously used photos...is there a way to recover them so I can re-edit them?

    You might try IfranView - it's free. It will open corrupt images and you can visually see the extent of the corruption, e.g. 90% of the image might show, with garbage showing at the bottom.
    You could then crop the image and use that - losing the corrupt part.
    You should also consider using a cloud storage service like dropbox, google drive, box.com, Creative Cloud etc. to backup your images.
    I'd try to refrain from working from an external drive.

Maybe you are looking for