License stopped working

Last post 04-07-2012, 10:41 AM by codewarior. 2 replies.
Sort Posts: Previous Next
  •  12-08-2011, 3:32 AM 347758

    License stopped working

    Hi,

    The metafiles license stopped working suddenly after a web server restart this morning...
    The code is:

        com.aspose.metafiles.License aml = new com.aspose.metafiles.License();
        aml.setLicense(new java.io.FileInputStream(application.getRealPath("WEB-INF/lib/Aspose.Metafiles.lic.xml")));

    Note that the license file is found, the error is not "file not found", it is instead:
    java.lang.NullPointerException
    	at com.aspose.metafiles.License.if(SourceFile:369)
    	at com.aspose.metafiles.License.setLicense(SourceFile:211)
    	at org.apache.jsp.main_jsp._jspService(main_jsp.java:559)
    The web server is Tomcat, and we restarted it yesterday without this problem coming up...

    Popov
     
  •  12-11-2011, 6:42 AM 348357 in reply to 347758

    Re: License stopped working

    A couple of days later (today - 11 december), I have reactivated the code given above and it is now working again...
    Are you doing specific things regarding licenses that would explain this behaviour ?

    Popov

     
  •  04-07-2012, 10:41 AM 373931 in reply to 348357

    Re: License stopped working

    Hello Evgeni,

    Thanks for using our products and sorry for replying you late.

    I am not entirely certain what might have caused the license to stop working but in case you still face such issues or you have any further query, please feel free to contact. We are really sorry for your inconvenience.

    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML