Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in file opening #4

Open
chekanov opened this issue Feb 24, 2019 · 1 comment
Open

error in file opening #4

chekanov opened this issue Feb 24, 2019 · 1 comment

Comments

@chekanov
Copy link

Hello,

This is very interesting project. I was trying to compile and run, but unfortunately I could not open a root file with histograms with RootFileReader.java. Does it support histograms? Here are the errors:

 [java] Exception in thread "main" java.lang.NullPointerException
 [java] 	at java.util.Properties$LineReader.readLine(Properties.java:434)
 [java] 	at java.util.Properties.load0(Properties.java:353)
 [java] 	at java.util.Properties.load(Properties.java:341)
 [java] 	at org.dianahep.root4j.core.DefaultClassFactory.<init>(DefaultClassFactory.java:39)
 [java] 	at org.dianahep.root4j.RootFileReader.init(RootFileReader.java:217)
 [java] 	at org.dianahep.root4j.RootFileReader.<init>(RootFileReader.java:183)
@vkhristenko
Copy link
Collaborator

Hi Sergei

Thanks for reporting. The project itself aimed at using TTrees mainly and this fork did not treat histograms at all, although that can be done.

i updated the readme to reflect that the primary use of this project was to use together with spark-root and Apache Spark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants