Problem reading '\' character through Properties class

Hi,
I have to read a properties file which is like the following
home=c:\java
But when i read it back, it giving me like c:java. I know that '\' is a escape sequence char, cut how can I deal with it? Because my program requires to store paths in the java properties file and I can't store them as "c:\\java" so when I read it, I'll get back as "c:\java".
I have done a sample code to explain my problem, please have a lot at it.
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
public class BackSlashProblem {
     public static void main(String[] args) {
          Properties properties = new Properties();
          try {
               properties.load(new FileInputStream(new File("." + File.separator + "myprops.properties")));
          } catch (FileNotFoundException e) {
               e.printStackTrace();
          } catch (IOException e) {
               e.printStackTrace();
          System.out.println(properties.getProperty("home")); // Here it's returning back as c:java, where as I want
                                            // it the way I stored it, i.e., c:\java. How can
                                            // I get it that way.
}Thank you very much.
Srikanth.

Thank you all,
I have to convert "\" as "\\" while storing cosI
am
not storing it using Properties.store() method.Is there any reason why you can't use it?Sorry for replying very very late. My internet
connection was shortly disconnected and I couldn't
reply back. My application does something very
different than the sample program I sent. I sent the
sample program to just recreate the problem outside
of my application, and I sent to provide a workable
code so that the other people in the forums can take
a look at my problem and point out the mistake that I
am doing.
Anyways thank you all :D
SrikanthBut that doesn't answer the question. Why can't you change your code so that you use store?
Kaj

Similar Messages

  • How can i read comments from properties file in the right order??

    Hello
    I want to build a console that read a properties file and print to the screen the property name, property value and property description and the developer can change the name or the value or the description of the property and update the property file.
    But the problem in using the properties class that it doesn�t read the comment and not save the properties in their order so I can�t couple description and name of the property.
    Does any one know any utility that do the job or know how to solve the reading the comments problem???
    Thank you a lot?

    sorry but i dont understand how the solution of using
    a dot ( property_key.description ) helping me to
    solve the problem?
    please try to explain it agin.
    thank youYou wrote:
    "I want to build a console that read a properties file and print to the screen the property name, property value and property description and the developer can change the name or the value or the description of the property and update the property file."
    So i'm as developer imagine that somebody edit properties in GUI or console. So you have 3 text fields: property name, property value, and propety description. Then developer save edit changes, then text fields maped to properties file and:
    text field "property name" and text field "property value" construct property:
    name=valuetext field "property name" adding ".description" and text field "property description" construct property:
    name.description=descriptionFor one described property, you will have put two properties.
    Thanks!

  • I am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    hi TimoHahn,
    i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
    Root cause of ServletException.
    java.lang.NullPointerException
    at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
    at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • Problem reading csv file with special character

    Hai all,
    i have the following problem reading a csv file.
    442050-Operations Tilburg algemeen     Huis in  t Veld, EAM (Lisette)     Gebruikersaccount     461041     Peildatum: 4-5-2010     AA461041                    1     85,92
    when reading this line with FM GUI_UPLOAD this line is split up in two lines in data_tab of the FM,
    it is split up at this character 
    Line 1
    442050-Operations Tilburg algemeen     Huis in
    Line 2
    t Veld, EAM (Lisette)     Gebruikersaccount     461041     Peildatum: 4-5-2010     AA461041                    1     85,92
    Anyone have a idea how to get this in one line in my interbal table??
    Greetz Richard

    Hi Greetz Richard
      Problably character  contains same binary code as line feed + carriage return.
      You can use statement below as workaround.
    OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING UNICODE
    In this case your system must support Unicode encoding
    Kind regards

  • Error message: There was an error processing a page. There was a problem reading this document (110)

    I opened a pdf document in Adobe Reader X. When I attempted to scroll through the pages the following error message appeared, “There was an error processing a page. There was a problem reading the document (110). After an Internet search to try to find the reason for the error and a solution, I came across a site that suggested it was an issue regarding the fonts of the document. I then reopened the document and went into the document’s font properties (FILE – PROPERTIES – FONTS tab). There I noticed that the “Gathering font information” stopped at 2% which, of course, I took to mean that Adobe Reader X was having a difficult time in loading the font’s information. Another site suggested opening the document in the pdf reader, Foxit. So I did, and the document loaded properly with no error messages. I was still curious as to why the document did not load entirely in Adobe Reader X and if the same problem would occur using a different reader. I then downloaded the pdf reader, Nitro Reader 2. I opened the same document and initially received the following message, “The requested page number is invalid and does not exist in this document.” I closed the message and proceeded to scroll through the document. As I scrolled, the following message appeared, “This file was damaged (corrupted) and has been repaired.” I thought, “Wonderful!” I then chose <FILE – SAVE AS – PDF DOCUMENT> and saved the “repaired” document under a new name. When I opened the “repaired” document with Adobe Reader X, behold, the document opened entirely with no error message. I was curious, so I went into the document’s font properties and noticed, this time around, that the “Gathering font information” loaded to 100%. Nitro Reader 2 detected the error and fixed it. Now I’m left to wonder…why wasn’t Adobe Reader X able to do the same? I hope this post helps others who are experiencing the same issue.

    When I encountered an error "there was a problem reading this document 110" in Acrobat Pro 11 on 28.7 MB CS6 file, it indeed was very frustrating.
    I solved my problem, but since I don't know which step benefitted me, I've to enumerate all the steps I took:
    Read below:
    1.1. I could copy the file anywhere on the drive, but couldn't 'save as' from Acrobat Pro.
    1.2. No document security was applied of any sort on the file.
    1.3. Still in the first tab of the document properties, all details under advance section were empty. No 'PDF Version' 'location' 'file size' etc were populated. Nothing.
    1.4. I couldn't change and save anything in any of property dialogue. I could comment on the text, but as soon as I tried to save, it gave an error (some sort of 'File reading' error).
    1.5. When I tried to extract a page (I tried many), it gave 'reading error'.
    1.6. I didn't try 'splitting error'. Since I was 100% sure, it'll give me same reading error.
    1.7. I opened the file in Firefox and tried saving it as pdf from there. But no error, but no save either.
    1.8. I ran 'Remove Hidden Information' from protection panel without any errors.
    1.9. I tried 'sanitize document' from the same tab, but didn't succeed.
    1.10. Then (here I think the problem was resolved), from Document Processing panel, I did some commands. 1st, 'Export all images', successfully. Then 'Remove all links', it found 0.
    1.11. Then in 'print production' panel, I clicked/tried to open acrobat distiller. The same opened, did some processing. But I don't know if it did something in solving the problem or not.
    1.12. Although I think my problem was resolved till now, but the last step I did was 'Saved As' the file (from the file menu) as a .ps file. Though I've not yet reopened/used that ps file (to convert it into a pdf file again). But around here I wanted to close the file and it asked me whether I wanted to save the file, I said yes. And it saved the file correctly. And I checked that in properties dialogue, the missing information was populated too.
    1.13. Sorry for so lengthy instructions, but I had no choice.

  • Message - There was a problem reading this document (57)

    Anyone else have this problem?
    Purchased version of Windows 32 bit version of Acrobat XI update will not install properly or work.
    First error info message is as per title after initial red screen which only appears once.
    Second error info message is verify operation failed.
    2 downloads, 3 installs and 2 repairs produce same result.
    Adobe Australia called three times on 1800614863 but only automated selections 322323 made and transfer promised.
    First call at 0901 local time.
    All calls placed on hold first two timed out.
    31 minutes into third call got an answer from a man in India.
    In answer to my question:
    Are you receiving reports of problems installing purchased upgrade versions of Acrobat XI Pro?
    The answer was No.
    He took details of messages and offered to help but I declined.
    I have purchased and used all Acrobat Pro upgrades since 6.
    Complete installation attempted.
    Being done on a clean install of Windows XP SP3 on an OQO02 with only other program installed Office 2007 SBE.
    Message was edited by: OQOroger to reflect inability to connect  to seller Adobe Australia. Also Adobe site can't stay on Australia but reverts to USA. Full price of $A282 paid. USA purchasers only pay $US199 ($A191.57 at present exchange rates.) Credit card account already debited for purchase made yesterday. Subject line corrected 'as' changed to 'was'.
    Message was edited by: OQOroger Corrected the price paid and currency conversion amount to show extra paid by Australians for 'local' support (from India). Added 'Message -' to title to make it less cryptic.
    Message was edited by: OQOroger  Typical setup installation results in same problems except
    'There was a problem reading this document (57)'
    window does not appear.
    First window displaying and asking for acceptance of license conditions has no bottom section when first displayed so there is no way to accept these conditions except to close this window (confirm window appears) and launch program again when bottom panel is displayed.

    Despite my advice of some of the many faults I have experienced with Acrobat XI Pro, Adobe support has never asked me to provide a 'Systems Report' which is available under the 'Help' tab.
    This report indicates:
    'Installed Acrobat: C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:44 PM'
    So if anyone has a working version other than 379 please let me know.
    Complete 'Systems Report' is in a window named 'System Information' as is set ot below.
    From first window
    Adobe Acrobat Pro
    menu
    Help/Online Support/Generate System Report
    returns window
    System Information
    with 2 parts
    'System Parameters' and 'Installed Plug-ins'
    first part details:
    System Parameters
    Account Detail:
       User Rights: Admin
       User Account Control: Undefined
       Process Integrity: Undefined
       Profile Type: None
    Acrobat Detail:
       Sandboxing: Off
       Captive Reader: No
       Multi-Reader on Desktop Support: Off
    Available Physical Memory: 530036 KB
    Available Virtual Memory: 1993360 KB
    BIOS Version: OQO    - fe60019
    Default Browser:
    Default Mail: Microsoft Office Outlook
        mapi32.dll
        Version: 1.0.2536.0 (XPClient.010817-1148)
    Display Detail:
       Screen Width: 800
       Screen Height: 480
       Number of Monitors: 1
       Number of Mouse Buttons: 8
       Has Mouse Wheel: Yes
       Has Pen Windows: No
       Double Byte Character Set: No
       Has Input Method Editor: Yes
       Inside Screen Reader: No
    Graphics Card: VIA/S3G UniChrome Pro II IGP
        Version: 6.14.10.385
        Check: Not Supported
    Installed Acrobat: C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:44 PM
    Locale: English (Australia)
    Monitor:
        Name: VIA/S3G UniChrome Pro II IGP
        Resolution: 800 x 480 x 60
        Bits per pixel: 32
    OS Manufacturer: Microsoft Corporation
    OS Name: Microsoft Windows XP Professional
    OS Version: 5.1.2600  Service Pack 3
    Page File Space: 2203236 KB
    Processor: x86 Family 6 Model 10 Stepping 9  CentaurHauls  ~1496  Mhz
    Session Detail:
       Boot Type: Normal
       Is Shutting Down: No
       Network: Available
       Inside Citrix: No
       Inside VMWare: No
       Remote Session: No
       Remote Control: No
    System Name: YOUR-1561454D88
    Temporary Directory: C:\DOCUME~1\OQOuser\LOCALS~1\Temp\
    Time Zone: Pacific Standard Time
    Total Physical Memory: 911792 KB
    Total Virtual Memory: 2097024 KB
    User Name: OQOuser
    Windows Detail:
       Tablet PC: No
       Starter Edition: No
       Media Center Edition: No
       Slow Machine: No
    Windows Directory: C:\WINDOWS
    Installed Plug-ins
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:52 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\AcroForm.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annots.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\DigSig.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\EScript.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:52 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\IA32.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:52 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\PPKLite.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\SendMail.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Updater.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 8:43:54 PM
    I can easily see 2 matters which an inexperienced support desk staff member could home in on.
    Acrobat XI Pro system requirements include
    1024x768 screen resolution and
    Internet Explorer 7, 8, 9, or 10; Firefox Extended Support Release; Chrome
    Well my OQO report above includes
    Display Detail:
       Screen Width: 800
       Screen Height: 480
    and leaves blank
    Default Browser:
    (actually Firefox 17.0.1)
    Yet 'Firefox Extended Support Release' is described by
    Mozilla:
    'Who is it not for?
    Individual users who always want the latest features, performance enhancements and technologies in their browser without waiting for them to become available in ESR several development cycles later.'
    http://www.mozilla.org/en-US/firefox/organizations/
    Since starting this post, I loaded Adobe Acrobat XI Pro on another similar computer I own and use regularly. This was in a dock and connected to an external display. Same problems and reports experienced.
    'Systems Report' for this installation follows:
    Account Detail:
       User Rights: Admin
       User Account Control: Undefined
       Process Integrity: Undefined
       Profile Type: None
    Acrobat Detail:
       Sandboxing: Off
       Captive Reader: No
       Multi-Reader on Desktop Support: Off
    Available Physical Memory: 614280 KB
    Available Virtual Memory: 1988144 KB
    BIOS Version: OQO    - fe60019
    Default Browser:
    Default Mail: Outlook Express
        %ProgramFiles%\Outlook Express\msoe.dll
        Version:
    Display Detail:
       Screen Width: 1280
       Screen Height: 1024
       Number of Monitors: 1
       Number of Mouse Buttons: 8
       Has Mouse Wheel: Yes
       Has Pen Windows: No
       Double Byte Character Set: No
       Has Input Method Editor: Yes
       Inside Screen Reader: No
    Graphics Card: VIA/S3G UniChrome Pro II IGP
        Version: 6.14.10.358
        Check: Not Supported
    Installed Acrobat: C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 20:43:44
    Installed Acrobat: C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe
        Version: 10.1.3.23
        Creation Date: 2012/04/04
        Creation Time: 16:53:54
    Locale: English (United Kingdom)
    Monitor:
        Name: VIA/S3G UniChrome Pro II IGP
        Resolution: 1280 x 1024 x 60
        Bits per pixel: 32
    OS Manufacturer: Microsoft Corporation
    OS Name: Microsoft Windows XP Professional
    OS Version: 5.1.2600  Service Pack 3
    Page File Space: 2006176 KB
    Processor: x86 Family 6 Model 13 Stepping 0  CentaurHauls  ~1496  Mhz
    Session Detail:
       Boot Type: Normal
       Is Shutting Down: No
       Network: Available
       Inside Citrix: No
       Inside VMWare: No
       Remote Session: No
       Remote Control: No
    System Name: OKETT143
    Temporary Directory: C:\DOCUME~1\oqo\LOCALS~1\Temp\
    Time Zone: AUS Eastern Standard Time
    Total Physical Memory: 911792 KB
    Total Virtual Memory: 2097024 KB
    User Name: oqo
    Windows Detail:
       Tablet PC: No
       Starter Edition: No
       Media Center Edition: No
       Slow Machine: No
    Windows Directory: C:\WINDOWS
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Accessibility.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 20:43:52
    C:\Program Files\Adobe\Acrobat 11.0\Acrobat\plug_ins\Updater.api
        Version: 11.0.0.379
        Creation Date: 2012/09/23
        Creation Time: 20:43:54
    (I did not bother installing plug-ins and deactivated installation before removal of program.)
    With 5 installs producing the same error reports, I am convinced Acrobat XI Pro won't work for me on my computers and have little confidence of useful support from Adobe.
    THERE ARE SO MANY GLARING PROBLEMS WITH MY INSTALLATIONS WITH THE SUPPORT DESK'S RESPOSES UNHELPFUL AND UNINFORMED. I REALLY DON'T ENJOY DOING ADOBE'S QUALITY CONTROL FOR THEM FOR FREE, BUT I CONTINUE TO POST HERE IN THE HOPE THAT SOMEONE WITH REAL AUTHORITY WILL EVENTUALLY TAKE NOTICE AND ARANGE A FIX OF THE PROBLEMS.
    15 Dec 2012 1409 local time.
    Further feedback provided that 1Ghz memory preferred. Problem not addressed. Reply
    Notes from Customer
    Friday, December 14, 2012 7:07:57 PM PST
    System reports at #12 on http://forums.adobe.com/message/4862987#4862987 
    Alert- although ordered in Australia from Australian site and paid in Australian dollars by MasterCard, Adobe chose without warning to process this payment through an overseas account incurring an extra foreign transaction charge for me.
    Adobe support to date has been of no use and their billing practices unreasonably expensive.

  • Problem with running the midlet class (Error with Installation suite )

    hi everyone...
    i have problem with running the midlet class(BluetoothChatMIDlet.java)
    it keep showing me the same kind of error in the output pane of netbeans...
    which is:
    Installing suite from: http://127.0.0.1:49296/Chat.jad
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Users\user\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    i also did some research on this but due to lack of forum that discussing about this,im end up no where..
    from my research i also find out that some of the developer make a changes in class properties..
    where they check the SIGN DISTRIBUTION...and also change the ALIAS to UNTRUSTED..after that,click the EXPORT KEY INTO JAVA ME SDK,PLATFORM,EMULATOR...
    i did that but also didnt work out..
    could any1 teach me how to fix it...
    thanx in advance... :)

    actually, i do my FYP on bluetooth chatting...
    and there will be more than two emulators running at the same time..
    one of my frens said that if u want to run more than one emulator u just simply click on run button..
    and it will appear on the screen..

  • Problem reading .txt-file into JTable

    My problem is that I�m reading a .txt-file into a J-Table. It all goes okay, the FileChooser opens and the application reads the selected file (line). But then I get a Null Pointer Exception and the JTable does not get updated with the text from the file.
    Here�s my code (I kept it simple, and just want to read the text from the .txt-file to the first cell of the table.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.util.*;
    import java.lang.*;
    import java.io.*;
    public class TeamTable extends JFrame implements ActionListener, ItemListener                {
    static JTable table;
         // constructor
    public TeamTable()                {
    super( "Invoermodule - Team Table" );
    setSize( 740, 365 );
              // setting the rownames
    ListModel listModel = new AbstractListModel()                     {
    String headers[] = {"Team 1", "Team 2", "Team 3", "Team 4", "Team 5", "Team 6", "Team 7", "Team 8", "Team 9",
    "Team 10", "Team 11", "Team 12", "Team 13", "Team 14", "Team 15", "Team 16", "Team 17", "Team 18"};
    public int getSize() { return headers.length; }
    public Object getElementAt(int index) { return headers[index]; }
              // add listModel & rownames to the table
              DefaultTableModel defaultModel = new DefaultTableModel(listModel.getSize(),3);
              JTable table = new JTable( defaultModel );
              // setting the columnnames and center alignment of table cells
              int width = 200;
              int[] vColIndex = {0,1,2};
              String[] ColumnName = {"Name Team", "Name Chairman", "Name Manager"};
              TableCellRenderer centerRenderer = new CenterRenderer();          
              for (int i=0; i < vColIndex.length;i++)          {
                             table.getColumnModel().getColumn(vColIndex).setHeaderValue(ColumnName[i]);
                             table.getColumnModel().getColumn(vColIndex[i]).setPreferredWidth(width);
                             table.getColumnModel().getColumn(vColIndex[i]).setCellRenderer(centerRenderer);
              table.setFont(new java.awt.Font("Dialog", Font.ITALIC, 12));
              // force the header to resize and repaint itself
              table.getTableHeader().resizeAndRepaint();
              // create single component to add to scrollpane (rowHeader is JList with argument listModel)
              JList rowHeader = new JList(listModel);
              rowHeader.setFixedCellWidth(100);
              rowHeader.setFixedCellHeight(table.getRowHeight());
              rowHeader.setCellRenderer(new RowHeaderRenderer(table));
              // add to scroll pane:
              JScrollPane scroll = new JScrollPane( table );
              scroll.setRowHeaderView(rowHeader); // Adds row-list left of the table
              getContentPane().add(scroll, BorderLayout.CENTER);
              // add menubar, menu, menuitems with evenlisteners to the frame.
              JMenuBar menubar = new JMenuBar();
              setJMenuBar (menubar);
              JMenu filemenu = new JMenu("File");
              menubar.add(filemenu);
              JMenuItem open = new JMenuItem("Open");
              JMenuItem save = new JMenuItem("Save");
              JMenuItem exit = new JMenuItem("Exit");
              open.addActionListener(this);
              save.addActionListener(this);
              exit.addActionListener(this);
              filemenu.add(open);
              filemenu.add(save);
              filemenu.add(exit);
              filemenu.addItemListener(this);
    // ActionListener for ActionEvents on JMenuItems.
    public void actionPerformed(ActionEvent e) {       
         String open = "Open";
         String save = "Save";
         String exit = "Exit";
              if (e.getSource() instanceof JMenuItem)     {
                   JMenuItem source = (JMenuItem)(e.getSource());
                   String x = source.getText();
                        if (x == open)          {
                             System.out.println("open file");
                        // create JFileChooser.
                        String filename = File.separator+"tmp";
                        JFileChooser fc = new JFileChooser(new File(filename));
                        // set default directory.
                        File wrkDir = new File("C:/Documents and Settings/Erwin en G-M/Mijn documenten/Erwin/Match Day");
                        fc.setCurrentDirectory(wrkDir);
                        // show open dialog.
                        int returnVal =     fc.showOpenDialog(null);
                        File selFile = fc.getSelectedFile();
                        if(returnVal == JFileChooser.APPROVE_OPTION) {
                        System.out.println("You chose to open this file: " +
                   fc.getSelectedFile().getName());
                        try          {
                             BufferedReader invoer = new BufferedReader(new FileReader(selFile));
                             String line = invoer.readLine();
                             System.out.println(line);
                             // THIS IS WHERE IT GOES WRONG, I THINK
                             table.setValueAt(line, 1, 1);
                             table.fireTableDataChanged();
                        catch (IOException ioExc){
                        if (x == save)          {
                             System.out.println("save file");
                        if (x == exit)          {
                             System.out.println("exit file");
    // ItemListener for ItemEvents on JMenu.
    public void itemStateChanged(ItemEvent e) {       
              String s = "Item event detected. Event source: " + e.getSource();
              System.out.println(s);
         public static void main(String[] args)                {
              TeamTable frame = new TeamTable();
              frame.setUndecorated(true);
         frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
              frame.addWindowListener( new WindowAdapter()           {
                   public void windowClosing( WindowEvent e )                {
         System.exit(0);
    frame.setVisible(true);
    * Define the look/content for a cell in the row header
    * In this instance uses the JTables header properties
    class RowHeaderRenderer extends JLabel implements ListCellRenderer           {
    * Constructor creates all cells the same
    * To change look for individual cells put code in
    * getListCellRendererComponent method
    RowHeaderRenderer(JTable table)      {
    JTableHeader header = table.getTableHeader();
    setOpaque(true);
    setBorder(UIManager.getBorder("TableHeader.cellBorder"));
    setHorizontalAlignment(CENTER);
    setForeground(header.getForeground());
    setBackground(header.getBackground());
    setFont(header.getFont());
    * Returns the JLabel after setting the text of the cell
         public Component getListCellRendererComponent( JList list,
    Object value, int index, boolean isSelected, boolean cellHasFocus)      {
    setText((value == null) ? "" : value.toString());
    return this;

    My problem is that I�m reading a .txt-file into a J-Table. It all goes okay, the FileChooser opens and the application reads the selected file (line). But then I get a Null Pointer Exception and the JTable does not get updated with the text from the file.
    Here�s my code (I kept it simple, and just want to read the text from the .txt-file to the first cell of the table.
    A MORE READABLE VERSION !
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.util.*;
    import java.lang.*;
    import java.io.*;
    public class TeamTable extends JFrame implements ActionListener, ItemListener                {
    static JTable table;
         // constructor
        public TeamTable()                {
            super( "Invoermodule - Team Table" );
            setSize( 740, 365 );
              // setting the rownames
            ListModel listModel = new AbstractListModel()                     {
                String headers[] = {"Team 1", "Team 2", "Team 3", "Team 4", "Team 5", "Team 6", "Team 7", "Team 8", "Team 9",
                "Team 10", "Team 11", "Team 12", "Team 13", "Team 14", "Team 15", "Team 16", "Team 17", "Team 18"};
                public int getSize() { return headers.length; }
                public Object getElementAt(int index) { return headers[index]; }
              // add listModel & rownames to the table
              DefaultTableModel defaultModel = new DefaultTableModel(listModel.getSize(),3);
              JTable table = new JTable( defaultModel );
              // setting the columnnames and center alignment of table cells
              int width = 200;
              int[] vColIndex = {0,1,2};
              String[] ColumnName = {"Name Team", "Name Chairman", "Name Manager"};
              TableCellRenderer centerRenderer = new CenterRenderer();          
              for (int i=0; i < vColIndex.length;i++)          {
                             table.getColumnModel().getColumn(vColIndex).setHeaderValue(ColumnName[i]);
                             table.getColumnModel().getColumn(vColIndex[i]).setPreferredWidth(width);
                             table.getColumnModel().getColumn(vColIndex[i]).setCellRenderer(centerRenderer);
              table.setFont(new java.awt.Font("Dialog", Font.ITALIC, 12));
              // force the header to resize and repaint itself
              table.getTableHeader().resizeAndRepaint();
              // create single component to add to scrollpane (rowHeader is JList with argument listModel)
              JList rowHeader = new JList(listModel);
              rowHeader.setFixedCellWidth(100);
              rowHeader.setFixedCellHeight(table.getRowHeight());
              rowHeader.setCellRenderer(new RowHeaderRenderer(table));
              // add to scroll pane:
              JScrollPane scroll = new JScrollPane( table );
              scroll.setRowHeaderView(rowHeader); // Adds row-list left of the table
              getContentPane().add(scroll, BorderLayout.CENTER);
              // add menubar, menu, menuitems with evenlisteners to the frame.
              JMenuBar menubar = new JMenuBar();
              setJMenuBar (menubar);
              JMenu filemenu = new JMenu("File");
              menubar.add(filemenu);
              JMenuItem open = new JMenuItem("Open");
              JMenuItem save = new JMenuItem("Save");
              JMenuItem exit = new JMenuItem("Exit");
              open.addActionListener(this);
              save.addActionListener(this);
              exit.addActionListener(this);
              filemenu.add(open);
              filemenu.add(save);
              filemenu.add(exit);
              filemenu.addItemListener(this);
    // ActionListener for ActionEvents on JMenuItems.
    public void actionPerformed(ActionEvent e) {       
         String open = "Open";
         String save = "Save";
         String exit = "Exit";
              if (e.getSource() instanceof JMenuItem)     {
                   JMenuItem source = (JMenuItem)(e.getSource());
                   String x = source.getText();
                        if (x == open)          {
                             System.out.println("open file");
                        // create JFileChooser.
                        String filename = File.separator+"tmp";
                        JFileChooser fc = new JFileChooser(new File(filename));
                        // set default directory.
                        File wrkDir = new File("C:/Documents and Settings/Erwin en G-M/Mijn documenten/Erwin/Match Day");
                        fc.setCurrentDirectory(wrkDir);
                        // show open dialog.
                        int returnVal =     fc.showOpenDialog(null);
                        File selFile = fc.getSelectedFile();
                        if(returnVal == JFileChooser.APPROVE_OPTION) {
                        System.out.println("You chose to open this file: " +
                   fc.getSelectedFile().getName());
                        try          {
                             BufferedReader invoer = new BufferedReader(new FileReader(selFile));
                             String line = invoer.readLine();
                             System.out.println(line);
                             // THIS IS WHERE IT GOES WRONG, I THINK
                             table.setValueAt(line, 1, 1);
                             table.fireTableDataChanged();
                        catch (IOException ioExc){
                        if (x == save)          {
                             System.out.println("save file");
                        if (x == exit)          {
                             System.out.println("exit file");
    // ItemListener for ItemEvents on JMenu.
    public void itemStateChanged(ItemEvent e) {       
              String s = "Item event detected. Event source: " + e.getSource();
              System.out.println(s);
         public static void main(String[] args)                {
              TeamTable frame = new TeamTable();
              frame.setUndecorated(true);
         frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
              frame.addWindowListener( new WindowAdapter()           {
                   public void windowClosing( WindowEvent e )                {
         System.exit(0);
    frame.setVisible(true);
    * Define the look/content for a cell in the row header
    * In this instance uses the JTables header properties
    class RowHeaderRenderer extends JLabel implements ListCellRenderer           {
    * Constructor creates all cells the same
    * To change look for individual cells put code in
    * getListCellRendererComponent method
    RowHeaderRenderer(JTable table)      {
    JTableHeader header = table.getTableHeader();
    setOpaque(true);
    setBorder(UIManager.getBorder("TableHeader.cellBorder"));
    setHorizontalAlignment(CENTER);
    setForeground(header.getForeground());
    setBackground(header.getBackground());
    setFont(header.getFont());
    * Returns the JLabel after setting the text of the cell
         public Component getListCellRendererComponent( JList list,
    Object value, int index, boolean isSelected, boolean cellHasFocus)      {
    setText((value == null) ? "" : value.toString());
    return this;

  • SMS_AD_SECURITY_GROUP_DISCOVERY_AGENT - Active Directory Security Group Discovery Agent reported warnings for 524 object(s). DDRs were generated for 0 object(s) that had warning(s) while reading non-critical properties.

    Hi, can anyone help me troubleshoot the following please:
    Active Directory Security Group Discovery Agent reported warnings for 524 object(s). DDRs were generated for 0 object(s) that had warning(s) while reading non-critical properties. DDRs were not generated for 524 object(s) that had warnings while reading
    critical properties.
    Possible cause: OU name or Security Group name may contain at least a Unicode character which has conversion problem between Unicode and your system ANSI locale(e.g. Korean characters in English System Locale). The site server might not have access to
    some properties of this object. The container specified might not have the properties available.
    Solution: Please verify the Active Directory schema for properties that are not replicated or locked. Refer to the discovery logs for more information.
    Does the error relate to 524 security groups? There are several invalid search paths listed in adsgdis.log, are these related?
    Thanks,
    Dale

    You'll have to examine the log to determine exactly which objects its referring to. Although this is in the context of group discovery, group discovery still creates DDRs for computer objects within those groups so it could be either groups or computers.
    This is not a search path issue though as it's clear that the discovery process found 524 different objects, but as stated, it could not properly read criticial properties of those objects and thus did not create DDRs for them.
    As mentioned, reading the log in detail will list the objects individually and the reason it could not create a DDR for it.
    Jason | http://blog.configmgrftw.com

  • Read TIF image properties

    How can I read all the properties of TIFF like "SUMMARY", "TITLE" , "AUTHOR" etc.... which are actually seen when you RIGHT CLICK on the image?????
    Also some of the images have additional custom tab named "imagedetails" which should also be read programmatically.
    This custom tab is not normally displayed on right click. It is displayed when I install "eistream" imaging s/w.
    I have seen java imaging api's but could not find which tag could read the right click properties of TIFF image.
    Please suggest the right API for obtaining the right click properties of TIFF image file.

    I am still getting problems here, but I don't know that my imagereader is correct.
    public class Test {
         public static void main(String[] args) {
              File in = new File("te.tif");
              ImageReader reader = (ImageReader)ImageIO.getImageReadersByFormatName("tif").next();
              System.out.println("Found reader " + reader);
              ImageInputStream iis = new FileImageInputStream(in);
              reader.setInput(iis);
              System.out.println(in + " contains " + reader.getNumImages(true) + "pages");
              IIOImage iimage = reader.readAll(0, new ImageReadParam());
              IIOMetadata imageMetadata = reader.getImageMetadata(0);
              //Get the IFD (Image File Directory) which is the root of all the tags
              //for this image. From here we can get all the tags in the image.
              TIFFDirectory ifd = TIFFDirectory.createFromMetadata(imageMetadata);
              TIFFField allFields = ifd.getTIFFField();
              for (int i = 0; i < allFields.length; i++) {
                   TIFFField field = allFields;
                   String name = field.getTag().getName();
                   int number = field.getTagNumber();
                   String type = TIFFField.getTypeName(field.getType());
                   String value = field.getValueAsString(0);
                   System.out.println("- " + name + ", " + number + ", " + type + ", " + value);
    Thanks,
    Steve

  • Problem reading attached PDF files

    <!--[if gte mso 9]><xml>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    Normal
    0
    false
    false
    false
    MicrosoftInternetExplorer4
    </xml><![endif]--><!--[if gte mso 9]><xml>
    </xml><![endif]--><!--[if !mso]>
    <object
         classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui>
    </object>
    <style>
    st1\:*{behavior:url(#ieooui) }
    </style>
    <![endif]-->
    <!--[if gte mso 10]>
    <style>
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    </style>
    <![endif]-->
    Hello.
    At my work, we use JavaMail (version 1.4.1) in server
    programs, processing mails with attached files from customers. Mostly it is
    TIFF images, but it can also be PDF
    files, and the attached files are extracted and saved for further processing.
    Sometimes, we have a problem, reading attached PDF
    files. The files get saved, but is of size 0 bytes. If I forward it, however,
    using an Outlook client, the forwarded item can be read by our JavaMail program, and files saved OK.
    I have tried to forward it using JavaMail, but I cannot
    compose the mail parts, that fails, however - of the same reasons: I cannot
    read the them in:-)
    It looks like it's when the mail is send from a Mac.
    Anyway, the part to read is of content type "APPLICATION/APPLEFILE" whereas when it's forwarded, it's content
    type is "APPLICATION/OCTET-STREAM"
    The way, I read the part, is to check if the part is an
    instance of an InputStream, and then saving into a byte array, like this:
    h5. Object
    obj = part.getContent();
    if (obj instanceof
    InputStream) {
    InputStream
    inStream = part.getInputStream();
    byte[]
    buffer = new byte[BUFFER_SIZE];
    int
    bytesRead;
    BufferedOutputStream
    outBufStream = new BufferedOutputStream(new FileOutputStream(attFileName));
    while
    ((bytesRead = inStream.read(buffer)) != -1)
    outBufStream.write(buffer,
    0, bytesRead);
    inStream.close();
    h5. outBufStream.close();
    Problem
    is that .read() method always returns -1 when content type Is APPLICATION/APPLEFILE,
    so a file of 0 bytes are created.
    Interesting is perhaps, that debugging shows me that the
    part instance of the InputStream actually is a
    com.sun.mail.util.BASE64DecoderStream when it fails, and a
    com.sun.mail.util.QPDecoderStream
    when it works OK.
    So I have this idea, that I's a certain type of decoder
    stream we're missing? We use Java 1.6.0 update 10 and JavaMail 1.4.1. and since
    we use java 1.6 we use the JAF framework from that one, I guess?
    Hope you guys can help?
    Thanks in advance, Per Jensen
    [email protected]

    We have two (MS Exchange) servers (from trace log):
    Microsoft Exchange IMAP4rev1-server version 5.5.2650.23
    Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7226.0
    - the first one is the one, we're using here, but I have tried on the other, newer version too, and it didn't help either.
    But I've found out a couple of interesting things:
    1: Debugging shows me, that the part instance of the InputStream actually is a com.sun.mail.util.BASE64DecoderStream when it fails, and if I forward the mail via Outlook as described earlier, and it can be read OK, the part is a com.sun.mail.util.QPDecoderStream instance.
    2: I can save the WHOLE message to a file, using message.getInputStream(), and when I opens the file I can find the individual attachments - as well as the bodytext, if any - as they are separated with the disposition, mimetype and filename fields, showed as plain text. And the attachments are showed as blocks of characters; I guess it's the ascii character representation of the bytes. Here's a snippet, note the first two sentences. They seemes to be added, somehow, when I dump the message to file(?):
    <START OF DUMPED FILE>
    This message is in MIME format. Since your mail reader does not understand
    this format, some or all of this message may not be legible.
    ------_=_NextPart_000_01C9A8A2.19479FE4
    Content-Type: text/plain;
         charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    (The body text here)
    ------_=_NextPart_000_01C9A8A2.19479FE4
    Content-Type: application/applefile;
         name="first_attachment.pdf"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
         filename="first_attachment.pdf"
    AAUWAAACAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAASgAAABAAAAAJAAAAWgAAACAAAAADAAAA
    egAAABAAAAABAAAAigAAI6IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAA1NzE2NSBCTkhhdWcucGRmJVBERi0xLjMKJbe+raoKMSAwIG9iago8PAovVHlwZSAv
    Q2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL1BhZ2VzCi9L
    aWRzIFsgNCAwIFIgXQovQ291bnQgMQo+PgplbmRvYmoKMyAwIG9iago8PAovUHJvZHVjZXIgKEhh
    ...(and so on)
    DMgMDAwMDAgbg0KMDAwMDAwNTM1NSAwMDAwMCBuDQowMDAwMDA2NTA5IDAwMDAwIG4NCjAwMDAw
    MDc2NjUgMDAwMDAgbg0KdHJhaWxlcgo8PAovUm9vdCAxIDAgUgovSW5mbyAzIDAgUgovU2l6ZSAx
    MQo+PgpzdGFydHhyZWYKODgyNAolJUVPRgo=
    ------_=_NextPart_000_01C9A8A2.19479FE4
    Content-Type: application/applefile;
         name="second_attachment.pdf"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
         filename="second_attachment.pdf"
    AAUWAAACAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAASgAAABAAAAAJAAAAWgAAACAAAAADAAAA
    egAAABAAAAABAAAAigAAI9wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAA1NzE4MSBCTkhhdWcucGRmJVBERi0xLjMKJbe+raoKMSAwIG9iago8PAovVHlwZSAv
    Q2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL1BhZ2VzCi9L
    ...(and so on)
    <END OF DUMPED FILE>I understand that it's base64 encoded and must be decoded, and I have tried to copy/paste the blocks separately, run them through the com.sun.mail.util.BASE64DecoderStream, and saving them as PDF files, which works fine(!).
    As the solution seems to be painfull: Parse the mail to find where the attachments starts and stops and saving them as files, I hope you guys can send me on the right track?
    PS: The trace log when dumping the file shows everything OK, I think. Here's a bit of the log at the end of dumping the message:
    (...)MTUgMDAwMDAgbg0KMDAwMDAwNTg2NyAwMDAwMCBuDQowMDAwMDA3MDIxIDAwMDAwIG4NCjAwMDAw
    MDgxNzcgMDAwMDAgbg0KdHJhaWxlcgo8PAovUm9vdCAxIDAgUgovSW5mbyAzIDAgUgovU2l6ZSAx
    MQo+PgpzdGFydHhyZWYKOTMzNgolJUVPRgo=
    ------_=_NextPart_000_01C9A8A2.19479FE4--
    A10 OK FETCH fuldført.
    A11 FETCH 1 (BODY[TEXT]<40336.16384>)
    * 1 FETCH (BODY[TEXT]<40336> {0}
    20/03-09 15:18:21,445 3 Done, writing bytes to ByteArrayOutputStream. Size: 40336 bytes (..common.mail.MailUtil.dumpMessageToFile.dumpMessageToFile)
    20/03-09 15:18:21,445 3 Done, writing ByteArrayOutputStream to file. (..common.mail.MailUtil.dumpMessageToFile.dumpMessageToFile)
    A11 OK FETCH fuldført.

  • When I first attached a cable from iphone6 to hdmi on tv, I was able to read kindle on tv. After watching movies and playing Pandora from iphone to tv through the cable, I can no longer read kindle through it. What settings do I need to change?

    When I first attached a cable from iphone6 to hdmi on tv, I was able to read kindle on tv. After watching movies and playing Pandora from iphone to tv through the cable, I can no longer read kindle through it. What settings do I need to change?

    Hi,
    Already mentioned on the following post:
       http://h30434.www3.hp.com/t5/Other-Notebook-PC-Que​stions/VGA-on-laptop-HDMI-on-TV-needs-connected/m-​...
    You need a CONVERTER, not ADAPTER The setup:
    The following list may help:
         http://www.ebay.com.au/sch/sis.html?_kw=HDMI+To+VG​A+COMPONENT+Adaptor+A+V+Digital+Converter
    Laptop (VGA) ---- Converter from VGA to HDMI ------ TV
    You also need sound, you can buy a converter with sound OR connect sound directly from laptop to TV.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this

    I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this?

    iPod not recognized in 'My Computer' and in iTunes for Windows
    Call U.S. iPod and Mac technical support: 1-800-APL-CARE (1-800-275-2273) to register your iPod Nano.

  • There was an error processing a page. there was a problem reading this document (110)?

    hi
    my name is kapil and i am trying to open one (which is downloded) pdf document.which giving me an error as there was an error processing a page. there was a problem reading this document (110) for some page only. i am using acrobat reader x. is it any 3d setting or any thing else please give me an idea. i am waiting for replay as soon as possible...........
    your sincerely
    KAPIL TRIVEDI

    When I encountered an error "there was a problem reading this document 110" in Acrobat Pro 11 on 28.7 MB CS6 file, it indeed was very frustrating.
    I solved my problem, but since I don't know which step benefitted me, I've to enumerate all the steps I took:
    Read below:
    1.1. I could copy the file anywhere on the drive, but couldn't 'save as' from Acrobat Pro.
    1.2. No document security was applied of any sort on the file.
    1.3. Still in the first tab of the document properties, all details under advance section were empty. No 'PDF Version' 'location' 'file size' etc were populated. Nothing.
    1.4. I couldn't change and save anything in any of property dialogue. I could comment on the text, but as soon as I tried to save, it gave an error (some sort of 'File reading' error).
    1.5. When I tried to extract a page (I tried many), it gave 'reading error'.
    1.6. I didn't try 'splitting error'. Since I was 100% sure, it'll give me same reading error.
    1.7. I opened the file in Firefox and tried saving it as pdf from there. But no error, but no save either.
    1.8. I ran 'Remove Hidden Information' from protection panel without any errors.
    1.9. I tried 'sanitize document' from the same tab, but didn't succeed.
    1.10. Then (here I think the problem was resolved), from Document Processing panel, I did some commands. 1st, 'Export all images', successfully. Then 'Remove all links', it found 0.
    1.11. Then in 'print production' panel, I clicked/tried to open acrobat distiller. The same opened, did some processing. But I don't know if it did something in solving the problem or not.
    1.12. Although I think my problem was resolved till now, but the last step I did was 'Saved As' the file (from the file menu) as a .ps file. Though I've not yet reopened/used that ps file (to convert it into a pdf file again). But around here I wanted to close the file and it asked me whether I wanted to save the file, I said yes. And it saved the file correctly. And I checked that in properties dialogue, the missing information was populated too.
    1.13. Sorry for so lengthy instructions, but I had no choice.

  • HT4623 Hi,        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be ac

    Hi,
        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be activated because the activation server is temporarily unavailable,try connecting your iphone to itunes to activate it,or try again in a couple of minutes.i tried many times but it again shows the same message,
    after installation,when i connect my iphone to itunes it shows a message that we are unable to activate your iphone at this time please try again or contact customer care.please reply me urgently to resolve this problem.

    That is usually a symptom thet the phone was hacked or jailbroken. Was it?

Maybe you are looking for

  • How do I make file 'Open with...'?

    I have been working on graphic files. I want to open my graphic files in Photoshop Elements. It is possible to change the 'open with' option by going to Get Info... and selecting 'open with'...But, that only allows you to open a file with a particula

  • Adding mailbox's to mail accounts

    How do you add mailboxes, I want so same some emails and cannot work out how to add these. Thanks

  • Quasi Newton Optimization Algorithm in Java

    I need to implement Quasi Newton Optimization Algorithm in Java, I�ve found it in C. Can anyone help me to find this in Java?

  • Web project on iWeb08 to iWeb09, how?

    Hello! I have a web page done with iWeb08 and now i would like to go on with it hitw my new mac which has iWeb09, how can I read the project done with the 08 on the 09? thank you for any help

  • Should I update BB Desktop Software to 6.01.18

    recently updated my S2 phone software to .1015 and had nothing but problems I am now back to v5.0.0.713 Now my BB Desktop Software is asking me to update from 6.0.0.43 to 6.01.18 Should I update? Anyone have any problems? Thanks.