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
Assignees
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Milestone

Comments

@hasancelik
Copy link
Contributor

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)
@mdogan
Copy link
Contributor

mdogan commented Dec 17, 2015

null logger is passed to the AbstractCompletableFuture.

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

@ahmetmircik
Copy link
Member

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

@eminn eminn closed this as completed Dec 18, 2015
@eminn eminn reopened this Dec 18, 2015
@tombujok tombujok self-assigned this Dec 18, 2015
@tombujok
Copy link
Contributor

Root cause will be fixed once #7115 is merged

@ahmetmircik
Copy link
Member

closed via #7115

@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Projects
None yet
Development

No branches or pull requests

6 participants