Workbook(inputstream) not working in Aspose 7.1.0

Last post 03-13-2012, 9:35 AM by aspose.notifier. 40 replies.
Page 1 of 3 (41 items)   1 2 3 Next >
Sort Posts: Previous Next
  •  02-09-2012, 2:14 AM 360290

    Workbook(inputstream) not working in Aspose 7.1.0 Java

    Attachment: Present (inaccessible)

    Hi,

    In order to migrate from xls to xlsx we have updated the xls aspose version from 1.9.4.9 to 7.1.0.While exporting the contents to xlsx file in the appalication,an Null pointer exception is thrown in the following Line

    Workbook template;

    template = new Workbook("/com/tms/rmd/qpareport/QpaReportTemplate.xlsx");

    I have attached error thrown on the console on generating the report.Kindly ,provide us the solution for this.

    Note: Same error occurs when workbook.open() method is used.

    Thanks and Regards,

    Geetha

     
  •  02-09-2012, 2:56 AM 360302 in reply to 360290

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    Thanks for your posting and using Aspose.Cells for Java.

    Please download and try the latest version: Aspose.Cells for Java v7.1.0.4

    You need to replace your old aspose jar with this one and update your class paths.

    If the problem persists, then please provide us your source xls/xlsx file throwing exception, we will look into it and update you asap.

    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  02-09-2012, 3:47 AM 360330 in reply to 360302

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    This issue persist even after trying with latest aspose version u have sent.

    Tha actual code we have used is:

    template = new Workbook(this.getClass().getResourceAsStream("/com/xxx/rmd/qpareport/QpaReportTemplate.xlsx"));

    Kindly let us know is there  any other work around.

    Thanks & Regards,

    Geetha

     
  •  02-09-2012, 3:55 AM 360335 in reply to 360330

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    It appears to be a bug then.

    Please provide us QpaReportTemplate.xlsx to look into this issue.
    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  02-09-2012, 4:02 AM 360339 in reply to 360335

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Attachment: Present (inaccessible)

    Hi ,

     

    Please find the xlsx file attached.Kindly let us know ASAP.

     

    Regards,

    geetha

     
  •  02-09-2012, 5:13 AM 360361 in reply to 360339

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    I can find the NullPointerException while reading/opening your file by Aspose.Cells for Java.

    I have logged a ticket with an id: CELLSJAVA-40131. We will look into it soon.

    Thank you.

    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  02-10-2012, 10:28 AM 360789 in reply to 360339

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    It is to inform you that this issue has been fixed. We will provide you a fix soon.

    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  02-13-2012, 12:45 AM 360930 in reply to 360789

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    Could you plz say, in which version is the above fix available?

    Thanks & regards,

    Geetha

     
  •  02-13-2012, 12:51 AM 360932 in reply to 360930

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    We have not released the version yet, once we will release it, we will let you know.


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
  •  02-13-2012, 2:00 AM 360949 in reply to 360932

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    Hopefully the new version (v7.1.1) will be published in 1-2 days.

    Thank you.

    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  02-14-2012, 1:57 AM 361334 in reply to 360290

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    The issues you have found earlier (filed as CELLSJAVA-40131) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
  •  02-15-2012, 1:01 AM 361707 in reply to 361334

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    Even in the new version(7.1.1),we are getting Null pointer exception.Kindly ensure will the fix work on passing input stream as parameter.i.e

    Workbook wb=new workbook(input stream);

    Following is the code we use:

    template = new Workbook(this.getClass().getResourceAsStream("/com/tms/rmd/qpareport/QpaReportTemplate.xlsx"));

     
  •  02-15-2012, 1:40 AM 361718 in reply to 361707

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Attachment: Present (inaccessible)
    Hi,

    Yes, sure we already tested, it works fine, here is the sample program (OS Win7, JDK1.5 Aspose.Cells for Java v7.1.1):

    Sample code:

    import java.io.*;
    import com.aspose.cells.*;
    import java.util.*;

    public class Test {

        public static void main(String[] args) throws IOException, Exception {

      
    //This also works fine
    //com.aspose.cells.Workbook template = new com.aspose.cells.Workbook ("QpaReportTemplate.xlsx");

    com.aspose.cells.Workbook template = new Workbook(Test.class.getResourceAsStream("QpaReportTemplate.xlsx"));

    template.save("outQpaReportTemplate.xlsx");

        }

    }

    I have also attached the output file here.

    Thank you.





    Amjad Sahi
    Support Developer,
    Aspose Sialkot Team
    Contact Us
     
  •  02-15-2012, 2:57 AM 361739 in reply to 361718

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Hi,

    We are using JDK 1.4 ,will this fix work for JDk 1.4

    Thanks & Regards,

    Geetha

     

     
  •  02-15-2012, 3:03 AM 361743 in reply to 361718

    Re: Workbook(inputstream) not working in Aspose 7.1.0

    Attachment: Present (inaccessible)

    Hi,

    I have attached Exception thrown while generating report .Kindly provide us with the solution as it is very critical for us.

     

    Thanks & Regards,

    Geetha

     
Page 1 of 3 (41 items)   1 2 3 Next >
View as RSS news feed in XML