0
Исправлен

NullPointerException in PyCharm

Cody Harrington 10 лет назад обновлен Paul Sinclair 10 лет назад 5
Hi, I didn't know where else to submit this. I got a NPE for the Codeivate plugin in PyCharm. Here's a stacktrace:

null
java.lang.NullPointerException
at com.codeivate.plugin.logic.CodeivateGame.authenticate(CodeivateGame.java:139)
at com.codeivate.plugin.CodeivateApplicationPlugin$1.run(CodeivateApplicationPlugin.java:98)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:347)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

It happened as I was opening PyCharm, but I didn't have working internet at the time.
EDIT: Ok, so, I had a working internet connection, but I hadn't authenticated through our firewall, so traffic was being dropped or redirected.

Some details:
PyCharm 3.0.1 Build #PY-131.339
Running Fedora 20
Linux 3.13.8-200.fc20.x86_64
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Let me know if you need anything else

Oh, got another one! I've pasted a part of PyCharm's log this time.

2014-04-14 13:47:26,238 [ 907372] ERROR - gin.CodeivateApplicationPlugin - null
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:92)
at com.codeivate.plugin.logic.CodeivateBusiness.run(CodeivateBusiness.java:58)
2014-04-14 13:47:26,240 [ 907374] ERROR - gin.CodeivateApplicationPlugin - PyCharm 3.0.1 Build #PY-131.339
2014-04-14 13:47:26,240 [ 907374] ERROR - gin.CodeivateApplicationPlugin - JDK: 1.7.0_45
2014-04-14 13:47:26,240 [ 907374] ERROR - gin.CodeivateApplicationPlugin - VM: Java HotSpot(TM) 64-Bit Server VM
2014-04-14 13:47:26,240 [ 907374] ERROR - gin.CodeivateApplicationPlugin - Vendor: Oracle Corporation
2014-04-14 13:47:26,240 [ 907374] ERROR - gin.CodeivateApplicationPlugin - OS: Linux
2014-04-14 13:47:26,240 [ 907374] ERROR - gin.CodeivateApplicationPlugin - Last Action: DatabaseView.SynchronizeAction

I've no idea how this happened, but I had just clicked "synchronize" on my MySQL data source in the database tab.

Not sure if this is at all related, but at about this time, my internet switched over from wireless to an ethernet connection plugged into the firewall mentioned in the previous post. Before that it was running on a standard internet connection with Codeivate running fine. Just mentioning it in case this could be doing something weird.
На рассмотрении
Thanks, I will investigate.
This exception is fine to ignore, I will remove it in the next release.
Исправлен
Should be fixed in 0.2.1

Сервис поддержки клиентов работает на платформе UserEcho