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

NullPointerException without strategy-property #43

Open
tormoseng opened this issue Sep 29, 2015 · 2 comments
Open

NullPointerException without strategy-property #43

tormoseng opened this issue Sep 29, 2015 · 2 comments

Comments

@tormoseng
Copy link

branch: without-i43-server

If testing OLB-DBO Congestion, you'll receive a NullPointerException if the "strategy" property of DBO Congestion is not set:

SEVERE: Diagnosis failed!
java.lang.NullPointerException
at org.spotter.ext.detection.dbcongestion.DBCongestionDetectionController.loadProperties(DBCongestionDetectionController.java:70)
at org.spotter.core.config.interpretation.HierarchyFactory.createPerformanceProblemHierarchy(HierarchyFactory.java:80)
at org.spotter.core.Spotter.retrieveRootPerformanceProblem(Spotter.java:184)
at org.spotter.core.Spotter.startDiagnosis(Spotter.java:133)
at org.spotter.service.SpotterServiceWrapper$1.run(SpotterServiceWrapper.java:127)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

@snowball77
Copy link

This reads "just" like a usability glitch that you do not get notified earlier and properly, right?

@tormoseng
Copy link
Author

I guess it can be solved by making the strategy property a default property.

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