Forums: Troubleshooting and Problems
Hi Michael,
This exception is coincidentally caused by logging code that's supposed to provide additional technical details in the event that your SAS transport file is badly formed. When the logging is disabled (as it is by default), the program generates this error in these cases. This bug has been fixed for the next release, sorry about the inconvenience.
Regards,
Tim
Hi Tim,
I know this topic is most likely closed as it is now more than a year old. We've seen the same error message in our implementation and I'd like to know which version you are referring to in which the bug has been fixed.
Thanks and regards,
Jan
Hi all,
I installed OpenCDISC and ran a validation on a SAS Transport file (XPT) to test the application. Unfortunately the following error occurred:
java.lang.NullPointerException
at org.opencdisc.validator.data.SasTransportDataSource.bufferStartsWith(SasTransportDataSource.java:832)
at org.opencdisc.validator.data.SasTransportDataSource.test(SasTransportDataSource.java:626)
at org.opencdisc.validator.data.SourceProvider.addSource(SourceProvider.java:96)
at org.opencdisc.validator.DefaultValidator.createProvider(DefaultValidator.java:399)
at org.opencdisc.validator.DefaultValidator.validate(DefaultValidator.java:217)
at org.opencdisc.validator.gui.ValidatorClient$ProcessMonitor.run(ValidatorClient.java:1634)
I later found out that this error message was due to a badly created SAS transport file. The one created causing the error message has been using the cport function. With the correct function the above mentioned error does not occur.
Kind regards,
Michael