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

Includator: NullPointerException while updating index #22

Open
Bu11etmagnet opened this issue Feb 8, 2019 · 2 comments
Open

Includator: NullPointerException while updating index #22

Bu11etmagnet opened this issue Feb 8, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@Bu11etmagnet
Copy link

Expected Behavior

I expected Includator to organize includes.

Actual Behavior

NullPointerException with the follwing stack trace (seems to be different from Cevelop/Issues#22)

eclipse.buildId=unknown
java.version=10.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

This is a continuation of log file .bak_4.log
Created Time: 2019-02-08 14:25:35.567

com.cevelop.includator
Error
Fri Feb 08 15:52:39 CET 2019
Error while performing static analysis.

java.lang.NullPointerException
	at com.cevelop.includator.optimizer.findunusedincludes.FindUnusedIncludesAlgorithm.addPaths(FindUnusedIncludesAlgorithm.java:181)
	at com.cevelop.includator.optimizer.findunusedincludes.FindUnusedIncludesAlgorithm.initAllPaths(FindUnusedIncludesAlgorithm.java:174)
	at com.cevelop.includator.optimizer.findunusedincludes.FindUnusedIncludesAlgorithm.run(FindUnusedIncludesAlgorithm.java:57)
	at com.cevelop.includator.optimizer.Algorithm.start(Algorithm.java:41)
	at com.cevelop.includator.optimizer.Optimizer.run(Optimizer.java:39)
	at com.cevelop.includator.ui.OptimizationRunner.run(OptimizationRunner.java:59)
	at com.cevelop.includator.ui.actions.IncludatorAlgorithmAction.runAnalysisJob(IncludatorAlgorithmAction.java:111)
	at com.cevelop.includator.ui.actions.IncludatorAlgorithmAction$1.runWithWorkbenchWindow(IncludatorAlgorithmAction.java:60)
	at com.cevelop.includator.ui.actions.IncludatorJob.run(IncludatorJob.java:33)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)

Cevelop Version, Operating System and Compiler

Cevelop C++ IDE
Version: 1.10.1-201809130520

OS: Linux, v.4.15.0-45-generic, x86_64 / gtk 2.24.32
Java version: 10.0.2

@Darnor
Copy link

Darnor commented Aug 12, 2019

Can you provide us with a code example where this happens?

@Bu11etmagnet
Copy link
Author

Alas, I can't. It's proprietary code from work, and I don't remember which source file it was.

@fmorgner fmorgner transferred this issue from Cevelop/Issues Feb 23, 2021
@fmorgner fmorgner added the bug Something isn't working label Feb 23, 2021
@fmorgner fmorgner changed the title NullPointerException while updating index for Includator Includator: NullPointerException while updating index Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants