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 #708

Closed
ShaunTheCode opened this issue Mar 30, 2024 · 7 comments
Closed

NullPointerException #708

ShaunTheCode opened this issue Mar 30, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@ShaunTheCode
Copy link

ShaunTheCode commented Mar 30, 2024

java.lang.NullPointerException: Cannot invoke "java.net.PasswordAuthentication.getUserName()" because "authentication" is null
at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils$MyExecutorHttp.lambda$getProxyAuthenticator$0(HttpRequestUtils.java:203)
at okhttp3.internal.connection.RealConnection.createTunnelRequest(RealConnection.kt:519)
at okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.kt:258)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:201)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
at com.shuzijun.lc.http.DefaultExecutoHttp.lambda$executePost$2(DefaultExecutoHttp.java:115)
at com.shuzijun.lc.http.InterceptorChain.proceed(InterceptorChain.java:36)
at com.shuzijun.lc.http.DefaultExecutoHttp.executePost(DefaultExecutoHttp.java:124)
at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils.lambda$executePost$2(HttpRequestUtils.java:98)
at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils$CacheProcessor.processor(HttpRequestUtils.java:160)
at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils.executePost(HttpRequestUtils.java:90)
at com.shuzijun.leetcode.plugin.model.HttpRequest$HttpRequestBuilder.request(HttpRequest.java:165)
at com.shuzijun.leetcode.plugin.model.Graphql$GraphqlBuilder.request(Graphql.java:136)
at com.shuzijun.leetcode.plugin.manager.QuestionManager.getUser(QuestionManager.java:299)
at com.shuzijun.leetcode.plugin.window.NavigatorTabsPanel.getUser(NavigatorTabsPanel.java:176)
at com.shuzijun.leetcode.plugin.manager.QuestionManager.getQuestionAllService(QuestionManager.java:66)
at com.shuzijun.leetcode.plugin.manager.CodeTopManager.loadServiceData(CodeTopManager.java:24)
at com.shuzijun.leetcode.plugin.manager.CodeTopManager.loadServiceData(CodeTopManager.java:20)
at com.shuzijun.leetcode.plugin.window.navigator.TopNavigatorPanel$3.findClear(TopNavigatorPanel.java:117)
at com.shuzijun.leetcode.plugin.actions.toolbar.RefreshAction.actionPerformed(RefreshAction.java:20)
at com.shuzijun.leetcode.plugin.actions.AbstractAction$1.run(AbstractAction.java:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:434)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:132)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$5(CoreProgressManager.java:484)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:248)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:73)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:192)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:685)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:641)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:609)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:179)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:73)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:248)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:498)
at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:81)
at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:81)
at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:86)
at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:81)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:464)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:840)

Software versions

  • Product: IntelliJ IDEA 2023.3.6 (Ultimate Edition)
  • Runtime version: 17.0.10+1-b1087.23 amd64
  • VM:OpenJDK 64-Bit Server VM by JetBrains s.r.o
  • OS:Windows 10
@zhatlas
Copy link

zhatlas commented Apr 11, 2024

Having the same problem

@shuzijun
Copy link
Owner

image

"Proxy authentication" was selected but the authentication information was not filled in?

@zhatlas
Copy link

zhatlas commented Apr 11, 2024

I'm sure I've checked Proxy authentication and entered my username and password and tested google access using Check connection and it's accessible!

@shuzijun shuzijun added the bug Something isn't working label Apr 12, 2024
@Qiliqing
Copy link

Having the same problem

@rcj60560
Copy link

rcj60560 commented May 6, 2024

@shuzijun
我也是这个问题。。。

@hejianzhong
Copy link

我也是这个问题呀 QAQ @shuzijun

@sjjok00
Copy link

sjjok00 commented May 15, 2024

Try uncheck "Proxy authentication"

image "Proxy authentication" was selected but the authentication information was not filled in?

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

7 participants