Generate an HTML file from a Report in ABAP

Good morning,
How I could generate an HTML file from a report.
Any Ideas... I have found the function WWW_ITAB_TO_HTML, but someone has the standar code and how use this function?
Thanks a lot,
Hernán Restrepo

Hi,
I am facing a similar problem.I did try using the function module WWW_ITAB_TO_HTML in the reoprt program, as I'm trying to generate a url from a report, but i'm not able to get the expected results. The code is given below. Could someone please try and help me resolve this issue.Thanks in advance.
DATA:   emp_name                     TYPE char80.
DATA:   it_itabex                    TYPE zdb_ex_tty,
        it_emp                       TYPE TABLE OF zis_emp,
        it_org                       TYPE TABLE OF zis_org,
        it_pos                       TYPE TABLE OF zis_pos,
        it_pos_alloc                 TYPE TABLE OF zis_pos_alloc,
        it_res                       TYPE TABLE OF zis_res,
        it_res_alloc                 TYPE TABLE OF zis_res_alloc,
        ls_itabex                    TYPE zdb_ex_s.
DATA:   lv_filename                  TYPE string,
        lv_path                      TYPE string,
        lv_fullpath                  TYPE string,
        lv_replace                   TYPE i.
DATA qstring LIKE it_itabex OCCURS 10.
DATA: url(200), url2(200), url3(200), fullurl(200).
FIELD-SYMBOLS: <fs_emp>              LIKE LINE OF it_emp,
               <fs_org>              LIKE LINE OF it_org,
               <fs_pos>              LIKE LINE OF it_pos,
               <fs_pos_alloc>        LIKE LINE OF it_pos_alloc,
               <fs_res>              LIKE LINE OF it_res,
               <fs_res_alloc>        LIKE LINE OF it_res_alloc.
Report Program to export data from database to Excel.
Populate all the tables that have to be exported.
SELECT * FROM zis_org       INTO TABLE it_org.
SELECT * FROM zis_pos       INTO TABLE it_pos.
SELECT * FROM zis_pos_alloc INTO TABLE it_pos_alloc.
SELECT * FROM zis_emp       INTO TABLE it_emp.
SELECT * FROM zis_res_alloc INTO TABLE it_res_alloc.
SELECT * FROM zis_res       INTO TABLE it_res.
Append the Column Header
CLEAR ls_itabex.
ls_itabex-ipp_pos_id            = 'IPP Pos ID'.
ls_itabex-emp_name              = 'Name'.
ls_itabex-dt_of_join            = 'JoinedOn'.
ls_itabex-emp_status            = 'Status'.
ls_itabex-org_name              = 'Org'.
ls_itabex-prj_name              = 'Project'.
ls_itabex-mgr_name              = 'Line'.
ls_itabex-designation           = 'Designation'.
ls_itabex-specialization        = 'Specialization'.
APPEND ls_itabex TO it_itabex.
Append all the tables into one internal table
LOOP AT it_pos_alloc ASSIGNING <fs_pos_alloc>.
  CLEAR ls_itabex.
  ls_itabex-ipp_pos_id          = <fs_pos_alloc>-ipp_pos_id.
  READ TABLE it_emp ASSIGNING <fs_emp> WITH KEY emp_guid = <fs_pos_alloc>-emp_guid.
  IF sy-subrc = 0.
    CONCATENATE <fs_emp>-emp_fname <fs_emp>-emp_lname INTO ls_itabex-emp_name  SEPARATED BY space.
    ls_itabex-dt_of_join        = <fs_emp>-dt_of_join.
    ls_itabex-emp_status        = <fs_emp>-emp_status.
    ls_itabex-specialization    = <fs_emp>-specialization.
  ENDIF.
  READ TABLE it_pos ASSIGNING <fs_pos> WITH KEY ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
  IF sy-subrc = 0.
    ls_itabex-designation       = <fs_pos>-designation.
    READ TABLE it_org ASSIGNING <fs_org> WITH KEY  org_id = <fs_pos>-org_id.
    IF sy-subrc = 0.
      ls_itabex-org_name        = <fs_org>-org_name.
      ls_itabex-mgr_name        = <fs_org>-mgr_name.
    ENDIF.
  ENDIF.
  READ TABLE it_res ASSIGNING <fs_res> WITH KEY org_id = <fs_org>-org_id.
   ls_itabex-org_name         = <fs_org>-org_name.
  APPEND ls_itabex TO it_itabex.
ENDLOOP.
url = 'http://testweb/scripts/wgate/zvw10a/!?~language=en'.
url2 = '&~OkCode(LGON)=LGON&login-login_user='.
url3 = '&vbcom-vbeln='.
CONCATENATE url url2 url3 INTO fullurl.
WRITE: /'Staffing Excel'.
CALL FUNCTION 'WWW_SET_URL'
  EXPORTING
    offset        = 12
    length        = 10
    func          = fullurl
  TABLES
    query_string  = qstring
  EXCEPTIONS
    invalid_table = 1
    OTHERS        = 2.
Thanks & Regards,
Preethi.

Similar Messages

  • How I could generate an XML file from a report in version 4.0B

    Good morning,
    How could I generate an XML file from a report? Please note that I am using version 4.0B
    I don't have access to
    Billy Vital

    Hi,
            In the Class CL_XML_DOCUMENT,
                 we have a method  EXPORT_TO_FILE to download an XML file.

  • Generate a HTML file from JSP

    Does anyone know how to generate a html file from code in JSP without using a form, as i have one of those already. I don't want this page to appear, just exist.
    Thanks

    You can do like this:
    File outputFile = new File("Publicacao.html");
    FileWriter escrever = new FileWriter(outputFile);
    escrever.write("<center><h1>Assunto:" + assunto + "</h1></center><br><center><h2>Titulo:" + titulo +"</h2></center><br><center><h3>Sub Titulo:"+subTitulo+"</h3></center><br>"+ conteudo +"<br>");
    escrever.close();

  • How to generate a html file from a xml file with the default Firefox look and feel

    Hello
    Any xml or xsd file are pretty printed with Mozilla firefox. I would like to generate the equivalent html file, in order to introduce it later in a Word document. Do you use a xslt file ? How can I do this ?
    Best regards

    I would be remiss if I did not point out that the forum software detected your Firefox as version 17. Is that correct?
    Version 17 is not secure; Mozilla discloses [https://www.mozilla.org/security/known-vulnerabilities/firefox.html security flaws] after each new release. Is something holding you back from upgrading to Firefox 31? Please let us know so we can suggest solutions or workarounds.
    If Help > About Firefox shows Firefox 31, you may need to clear the preference that is misreporting your version number. See: [[Websites say that Firefox is outdated or incompatible even though it's the latest version]].

  • How to generate a Text file from a Report

    Hi Friends,
    I need to generate a Text file foramat from my Report.My client is having a text file in a standard format.I need to Generate this Text file according to that text format.
    My requirement is For one production order there will be so many line items and for each line item based on its Quantity i need to generate serial numbers.
    For Ex for Production order 100 there r 3 line items.If 1st line item is of Quantity 20.I need to Generate 20 serial numbers for the 1st line item and the same for the remaining line items also.
    How can i proceed.I need to do dis based on the production order Number.
    In d selection screen i need to put the fields Production order Number and From:----
    To:----
      and u button Generate Text file.If I click on Generate Text file Text file should be generated.
    Thanks & Regards,
    Chitty.
    Edited by: chitty d on Mar 12, 2009 5:44 AM

    Hi,
    As far as i understand from your requirements, it like you need all the data item leve into a text file.
    You can fetch all the relevant data from variuos tables and then use  GUI_Download into a text file.

  • How to generate individual HTML files from linked help?

    Hi folks,
    I'm trying to figure out how to generate individual web pages - based on heading types - from a help project this is linked to a FrameMaker book.
    I'm linking to the FM book, rather than importing, because the import process ruins my graphics. So, I know how to create individual web help pages using the import process; but that's not an option for me. (The graphics issue is a whole other discussion, which I've since given up on.)
    So, I'm using TCS 3.5 (RH9 and FM10). I've successfully linked to the FM book. Each topic represents a complete chapter and includes a single Heading 1 for the title and several Heading 2's. Again, these are all in the same help topic because I'm linked to the FM book.
    What I want to do is generate the web help so that new web pages (files) are created. In other words, I want breaks before each Heading 2. I want the resulting web pages to be named based on the Heading 2.
    Is this possible?
    Thanks for reading,
    Tom

    I’m not sure I understand the problem (I’m using FM 10, RH9, TCS3):  You can adjust .isf and all Conversion/CSS mapping, etc settings for an existing project (Linked or Imported) at:
    File > Project Settings > FrameMaker Document > Edit Conversion settings for FrameMaker documents: (click Edit button).
    Then, Go to FrameMaker Settings > Paragraph > Heading 1 etc. and click the box for Pagination.
    What I don’t know is if you have to re-do your linking process from scratch to do your pagination settings right the first time (like create a new project with your Frame docs, which shouldn’t be hard to test if you have saved your CSS, Master Pages etc), or already have an .isf file  with proper settings that you can specify at time of first import/linking. I already had these in place when I set up my linked project of a Frame book with 13 chapters – 350 pages – resulting in over 300 separate HTML files/topics (set H1, H2, and H3 levels to paginate). I don’t know if you can change these things post-linking, but it can definitely be done!
    There is definitely no reason to have to have an entire FM chapter as one topic in RH. You may have to create a new project to achieve your desired results, I am not sure.
    I hope this is helpful. Regarding RH ruining your images, I know what you mean. Through a painstaking process of research, trial, and error, I found that these Image options in the Conversion Settings produced the best results for me, though not as good as “ideal:”
    ·         Check the box for “Use Distiller to Generate Image”
    ·         Leave the “Do Not Regenerate Images” and “Preserve 3D Images” boxes unchecked
    ·         Under Preferred Dimensions: Check “Maintain Aspect Ratio” and check Width and Height – Set both to 0pt. (*This one was a key tip.) Leave “Scale” unchecked. (Scaling seems to do terrible things in RH.)
    ·         I left the Max Dimensions settings unchecked.
    ·         Set my personal preferences for margins (2pt all sides) and borders (solid, gray, 1 pt)
    ·         Under Advanced, Default format of PNG with color bit depth of 24. My graphics are all screenshots, so this is the reason for this in my instance.
    Regards,
    Virginia

  • Generate PDF file from a report using greek characters

    Dear all,
    I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
    Any ideas, suggestions and workarounds are welcome.
    Thanx a lot!

    hi Kiriakos,
    which version are you using ?
    please test this with reports 9i since PDF support
    has been enhanced there.
    to test i would suggest to run the report from rwclient
    as well and specify desformat=pdf and to a generate to
    file within builder to see if the same behavior occurs.
    if this problem reproduces there as well i suggest
    to contact oracle support to log the problem.
    regards,
    christian

  • Generating an HTML file.....

    I would like to generate an HTML file from my javaBean but I am unsure how to do this? Do I just use the PrintWriter methods in java.io and rename the text file to a .html file?
    Thanks,
    Steve

    I assume you really mean you want to write a java servlet - in that case read Java Servlet Programming by Jason Hunter. Then you can write html like this:
    /**Process the HTTP Post request*/
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    Connection conn = null;
    Statement stmt=null;
    String query = null;
    ResultSet rset = null;
    response.setContentType(CONTENT_TYPE);
    // nothing will come out on page unless an error occurs
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head><title>AddItemServlet</title></head>");
    out.println("<body>");
    etc etc.

  • Generate pdf file from 9i reports and save it in C:\oracle_reports\

    i want to generate a file from oracle reports in PDF format and want to save it on already defined path.
    c:\oracle_reports\
    right now pdf generation of report is working fine but before generation of pdf report system prompt me or open a dialogue box to save my pdf file on drive. i dont want to see these dialogue box or prompt me to explicitly save it.
    i want all the work done automatically.
    regards
    ------------ source code--------------
    PROCEDURE PRINT_PROC IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    pl_id ParamList;
    report_path varchar2(100);
    aud_sno varchar2(1000);
    aud_type varchar2(500);
    BEGIN
         pl_id := Get_Parameter_List('report_data');
         IF NOT Id_Null(pl_id) THEN
              Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('report_data');
         User parameters : Customize these to fit your report
         report_path := :GLOBAL.Web_BASE_PATH||:GLOBAL.PATH_SCM||'REPORT\scm_rfq.rep';
    -- Initialize your report parameters here
         Add_Parameter(pl_id, 'p_cmp_code'                     , TEXT_PARAMETER, :global.company_code);
         Add_Parameter(pl_id, 'p_rfq_sno'                     , TEXT_PARAMETER, :document_sno);
         Add_Parameter(pl_id, 'P_PATH'                               , TEXT_PARAMETER, REPORT_PATH);
    Standard parameters: Don't change
         Add_Parameter(pl_id, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'PAGESTREAM' , TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'MAXIMIZE' , TEXT_PARAMETER, 'YES');
         -- end standard parameters
         repid := find_report_object('REPORT_OBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oas');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,report_path);
    -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\ORCLSRV\UTL_MAIL\'||:doc_type||:receiver_sno||'.pdf');
         v_rep := RUN_REPORT_OBJECT(repid,pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         rep_status := report_object_status(v_rep);
         END LOOP;
    END;

    If you use rwclient you could that easily, from a Form, it requires additional steps.
    Look at this thread Re: save report

  • Generated pdf file from oracle reports show bad characters

    Hello all,
    Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
    I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
    NLS parameters are set like this
    server:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY AMERICA
    NLS_LANGUAGE AMERICAN
    client:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY SLOVAK
    NLS_LANGUAGE SLOVAKIA
    When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
    I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
    Martin

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • Generating delimited file from a report in reports 6i gives error rep-1814

    Hi all,
    We are using reports 6i.
    We have a report from which we are trying to generate a delimited file.
    We are encounterign the error REP-1814 The object vertically can never fit.
    After looking into forums we came to know that there is something like DELIMITED_HDR should be set to NO..
    Also we observe dthat this is done using th following command
    set_report_object_property('exp039r', null,
    ' DELIMITER=tab' ||
    'DELIMITED_HDR=no');
    We tried doing that but, it is not working. Is there anything we should do to get it work.
    Thanks and Regards,
    Hima

    See in Forms Forum
    generating delimited file from a report in reports 6i gives error rep-1814

  • Creating a PDF-File from a report within a service

    Hello,
    I have to create PDF-Files from a report within a windows service.
    My source is as follows (quick and dirty) using Microsoft Report Viewer 2012
    Imports Microsoft.Reporting.WinForms
    Dim reportViewer1 As New Microsoft.Reporting.WinForms.ReportViewer()
    Dim objRDLC As New Microsoft.Reporting.WinForms.LocalReport()
    reportViewer1.LocalReport.ReportEmbeddedResource = "MyApplication.MyReport.rdlc"
    Dim deviceInfo As String = "<DeviceInfo>" & _
    "<OutputFormat>PDF</OutputFormat>" & _
    "<PageWidth>21cm</PageWidth>" & _
    "<PageHeight>29.7cm</PageHeight>" & _
    "<MarginTop>0.7cm</MarginTop>" & _
    "<MarginLeft>0.7cm</MarginLeft>" & _
    "<MarginRight>0cm</MarginRight>" & _
    "<MarginBottom>0cm</MarginBottom>" & _
    "</DeviceInfo>"
    objRDLC.DataSources.Clear()
    'Fill Report with data
    reportViewer1.LocalReport.DataSources.Clear()
    reportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dsInfo", dt))
    reportViewer1.RefreshReport()
    'Output Report as File
    Dim byteViewer As Byte() = reportViewer1.LocalReport.Render("PDF", deviceInfo)
    Dim newFile As New FileStream("MyFileName", FileMode.Create)
    newFile.Write(byteViewer, 0, byteViewer.Length)
    newFile.Close()
    'Clean up
    newFile.Dispose()
    objRDLC.DataSources.Clear()
    objRDLC.Dispose()
    reportViewer1.Dispose()
    In most cases everything works fine.
    But the service crashes after some/many reports (e.g. after 270 reports or after 1.400 reports). There is no fix number of reports that causes the service to crash.
    The service crashes with the following error:
    System.ComponentModel.Win32Exception (0x80004005): Fehler beim Erstellen des Fensterhandles.
       bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
       bei System.Windows.Forms.Control.CreateHandle()
       bei System.Windows.Forms.Control.get_Handle()
       bei System.Windows.Forms.Control.PointToScreen(Point p)
       bei System.Windows.Forms.ToolStripItem.TranslatePoint(Point fromPoint, ToolStripPointType fromPointType, ToolStripPointType toPointType)
       bei System.Windows.Forms.ToolStripDropDownItem.DropDownDirectionToDropDownBounds(ToolStripDropDownDirection dropDownDirection, Rectangle dropDownBounds)
       bei System.Windows.Forms.ToolStripDropDownItem.GetDropDownBounds(ToolStripDropDownDirection dropDownDirection)
       bei System.Windows.Forms.ToolStripDropDownItem.get_DropDownLocation()
       bei System.Windows.Forms.ToolStripDropDown.GetDropDownBounds(Rectangle suggestedBounds)
       bei System.Windows.Forms.ToolStripDropDown.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.set_Size(Size value)
       bei System.Windows.Forms.ToolStripDropDown.AdjustSize()
       bei System.Windows.Forms.ToolStripOverflow.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.ResumeLayout()
       bei System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.TextBoxBase.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
       bei System.Windows.Forms.ToolStripControlHost.OnBoundsChanged()
       bei System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
       bei System.Windows.Forms.ToolStripItem.set_Width(Int32 value)
       bei Microsoft.Reporting.WinForms.ReportToolBar..ctor()
       bei Microsoft.Reporting.WinForms.ReportViewer.InitializeComponent()
       bei Microsoft.Reporting.WinForms.ReportViewer..ctor()
       bei DC5Warteschlange.clsReportTools.Druck(DataTable dt, String Reportname, String ReportDataset, String Drucker, String Format, String Datei)
       bei DC5Warteschlange.clsInfoQueue.Snotiz(String[] CallIDs, String Speicherort)
       bei DC5Warteschlange.Imail.InformationMailSenden(Int32 AID, DataTable& tmpDT)
    Thank you very much....
    Gernot

    Unfortunately, it is not a piece of code that I can send. The SQL would be embedded inside Oracle Reports tool, and you would have the option to save the output of the report in PDF format.
    Once you have the Oracle Report developed, you can execute it from command line prompt and save the output to a pdf file. In your case, the cursor would be embedded inside Oracle Report
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • Generating a Movie File from a List of (JPEG) Images

    Hi All!
    I was trying this example:
    Generating a Movie File from a List of (JPEG) Images
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/JpegImagesToMovie.java
    I was using the following command line with the following output:
    root - /home/robertmarkbram/java/jmf/classes
    $java JpegImagesToMovie -w 320 -h 240 -f 1\
    -o file:///home/robertmarkbram/CoolCampus/media/jpgOut.mov\
    file:///BigBrain3/pics/breakfast.jpg\
    file:///BigBrain3/pics/eating.jpg\
    file:///BigBrain3/pics/howto.jpg\
    file:///BigBrain3/pics/jupiterp_cassini_full.jpg\
    file:///BigBrain3/pics/jupiterp_cassini.jpg\
    file:///BigBrain3/pics/spocamok.jpg- create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file:///home/robertmarkbram/CoolCampus/media/jpgOut.mov
    start processing...
    - reading image file: file:///BigBrain3/pics/breakfast.jpg
    - reading image file: file:///BigBrain3/pics/eating.jpg
    - reading image file: file:///BigBrain3/pics/howto.jpg
    - reading image file: file:///BigBrain3/pics/jupiterp_cassini_full.jpg
    - reading image file: file:///BigBrain3/pics/jupiterp_cassini.jpg
    - reading image file: file:///BigBrain3/pics/spocamok.jpg
    Done reading all images.
    java.lang.NullPointerException
    at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
    at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
    at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
    at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:215)
    at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
    at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
    at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
    at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)
    Can anyone tell me what this error message means?
    Thanks for any advice!
    Rob
    :)

    I think it does that for QuickTime if you don't define the lineStride value in the VideoFormat (lineStride = pixelStride * width).

  • Execute html file from java code - urgent!!!

    Hi,
    I need help!!
    My application should open html file that located in my computer
    it should be open when some line in JList was choosen
    my question is: How can I open html file from my application
    I work with window XP
    I tried this one :
    Runtime.getRuntime().exec(cmdLine);
    but it doesn't work
    the exeption was: CreateProccess
    Please help! it's urgent!!!!

    http://forum.java.sun.com/thread.jsp?forum=31&thread=497600

  • Generate an XML file from a DOM tree

    Hi,
    I'm trying to generate an XML file from a DOM tree that I obtained from another XML file with the Xerces library. I used the following operation :
    public static void writeXmlFile(Document doc, String filename) {
    try {
    Source source = new DOMSource(doc);
    File file = new File(filename);
    Result result = new StreamResult(file);
    Transformer xformer = TransformerFactory.newInstance().newTransformer();
    xformer.transform(source, result);
    } catch (TransformerConfigurationException e) {
    System.err.println(e);
    System.exit(1);
    } catch (TransformerException e) {
    System.err.println(e);
    System.exit(1);
    But I have this Windows/Linux problem. When I execute this on Windows, everything is correct. But if I try on Linux (every distribution does the same thing), I obtain an XML file where everything is written on just ONE LINE : there is neither identation nor carriage return at the end of a line ... And that is pretty annoying 'cause I need to SEE what I generate ...
    Thanks for your answer,
    Blueberryfin.

    Actually I would think that no indents and no new-lines would be more correct, but maybe it's an option for parsers to do it either way if you don't specify it. If you want to specify it, look at this post from last month:
    http://forum.java.sun.com/thread.jsp?forum=34&thread=383400

Maybe you are looking for

  • [Solved] Random freezes on a Toshiba Qosmio X505-Q888

    Hi guys, My laptop has been freezing randomly, about once per day, during the last 2 or 3 weeks. The system freezes completely, i.e. the display freezes, I cannot move the mouse, I cannot use the keyboard, the CAPS LOCK light starts blinking, and if

  • ICal update And creation of a third calendar that I am now locked into

    I had both a work & home calendar set up and sync'ed via M-ME. All seemed to work fine. Now, they are not syncing properly and are behaving in ways I have never seen before. - Push syncing is no longer working. I have tried resetting the sync data wi

  • Need help on witholdiong tax report

    I have a request to add some fields to the witholding tax for france report. the program is RFKQST80 and the t-code is S_ALR_87012132. I am going to copy RFKQST80 to a Z program and make the changes. I am not sure if there is anything else that has t

  • Media Center PC Tuner

    Would someone recommend a tv tuner for my desktop m8400f, that will allow me to watch whatever I'm watching on the internet, such as HULU? My apologies if someone has asked that question this year or last year already.  Thx,

  • Two foreign keys reference on primary key

    There are two tables: 1) table CALENDAR with primary key: cal_id 2) table FACTS with some columns, two of them are dates: cal_id_start_process, cal_id_stop_process we want on physical layer create two foreign keys for cal_id_start_process and cal_id_