Facing null pointer exceptions while importing from a file.

The job was a user import job with the employeeID column containing non-null values.

10:33:24,246 ERROR [QuartzJob] Error in job execution: Import-Users-1 com.securonix.application.exception.matcher.MatcherReaderException: ERROR IMPORTING USERS INTO THE SYSTEM at com.securonix.application.matcher.reader.file.UserFileReader.executeImport(UserFileReader.java:94) at com.securonix.application.matcher.reader.HRDataReader.processImportData(HRDataReader.java:68) at com.securonix.application.scheduler.quartz.userimport.UserImportJob.setup(UserImportJob.java:36) at com.securonix.application.scheduler.quartz.framework.QuartzJob.execute(QuartzJob.java:93) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: java.lang.NullPointerException

asked 29 Oct '14, 14:05

Aditya's gravatar image

accept rate: 6%

This error is because of the following reason. The file is present in the source folder, but there is no content in it. Since it is mentioned that the file has non-null employeeID values, the error is because the file permissions prevent the application from reading the file. Set the permissions necessary for the application to read the file and the error would be resolved.

The same error can also be seen with access/activity import if the destination file is empty or the file permissions are not set correctly.


answered 29 Oct '14, 14:08

Aditya's gravatar image

accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 29 Oct '14, 14:05

Seen: 846 times

Last updated: 29 Oct '14, 14:08