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

InvocationTargetException when using static Inliner in soot with apache lucene jar? #1028

Open
achabdo opened this issue Sep 24, 2018 · 1 comment

Comments

@achabdo
Copy link

achabdo commented Sep 24, 2018

I got this error when executing my java program after using the static inliner with CHA for Call Graph construction .

DaCapo unknown luindex starting =====.
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at java.lang.ReflectiveOperationException.(ReflectiveOperationException.java)
at java.lang.reflect.InvocationTargetException.(InvocationTargetException.java)
at java.lang.reflect.Method.internalInvoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java)
at org.dacapo.harness.Luindex.iterate(Luindex.java)
at org.dacapo.harness.Benchmark.run(Benchmark.java)
at org.dacapo.harness.TestHarness.main(TestHarness.java)
at java.lang.reflect.Method.internalInvoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java)
at Harness.main(Unknown Source)
Caused by: java.lang.NullPointerException
at org.apache.lucene.store.FSDirectory.getLockID(FSDirectory.java)
at org.apache.lucene.store.Directory.setLockFactory(Directory.java)
at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java)
at org.dacapo.luindex.Index.main(Index.java)
... 8 more

@pavanupb
Copy link
Collaborator

pavanupb commented Jun 3, 2019

Could you please provide your java program

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