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

Tests uses MapLoader gives an error `thread "cached4" java.lang.NullPointerException` #7098

Closed
hasancelik opened this issue Dec 17, 2015 · 4 comments

Comments

Projects
None yet
5 participants
@hasancelik
Copy link
Contributor

commented Dec 17, 2015

I am getting this error at my local when I run test that uses MapLoader. For example:

public void testAfterLoadInvalidateNearCache() {

Exception in thread "cached4" java.lang.NullPointerException
    at com.hazelcast.spi.impl.AbstractCompletableFuture$ExecutionCallbackRunnable.run(AbstractCompletableFuture.java:342)
    at com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:212)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)
    at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)

@hasancelik hasancelik added this to the 3.6 milestone Dec 17, 2015

@mdogan

This comment has been minimized.

Copy link
Member

commented Dec 17, 2015

null logger is passed to the AbstractCompletableFuture.

private LoadFinishedFuture() {
            super((Executor) null, null);
}
@ahmetmircik

This comment has been minimized.

Copy link
Member

commented Dec 17, 2015

@mdogan PR #7092 is waiting for that. BTW, #7092 is not a fix for this (#7098) issue.

@eminn eminn closed this Dec 18, 2015

@eminn eminn reopened this Dec 18, 2015

@tombujok tombujok self-assigned this Dec 18, 2015

@tombujok

This comment has been minimized.

Copy link
Contributor

commented Dec 18, 2015

Root cause will be fixed once #7115 is merged

@ahmetmircik

This comment has been minimized.

Copy link
Member

commented Dec 21, 2015

closed via #7115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.