a Alex
on

 

Hi,

I am using OpenCDISC for the first time on a small PK dataset.  I have succesfully downloaded the applicatoin and am able to open the GUI.  The problem arises in actually running the validation.  I receive the following error message.  Any explanation or tips?

 

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.opencdisc.validator.report.ReporterFactory.newReporter(ReporterFactory.java:81)
    at org.opencdisc.validator.DefaultValidator.validate(DefaultValidator.java:226)
    at org.opencdisc.validator.gui.ValidatorClient$ProcessMonitor.run(ValidatorClient.java:1634)
Caused by: java.io.FileNotFoundException: C:\Program Files\opencdisc-validator\reports\opencdisc-report-2011-02-23T10-21-39.xls (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.opencdisc.validator.report.ExcelReporter.<init>(ExcelReporter.java:172)
    ... 7 more

Forums: Troubleshooting and Problems

t Tim
on June 9, 2011

Hi Alex,

I believe that we resolved this through email a while back, but for the sake of other people who might stumble across this, the problem was that the directory that the Validator was attempting to write the report to was restricted, and the program was prevented from being able to create the report file there.

Moving the program to a location where the user has permissions to create files without having to elevate to administrator status resolves this problem. We'll also be improving the tool to look for this condition and provide a more user-friendly expanation, hopefully for the next release.

Regards,
Tim

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.