updates to the plugin don't seem to be showing..


i have the bugzilla plugin i'm trying to fix, thing is, if i try to use via the interlij debug enviorment (meaning launching inetlij from run configuraiotn in the plugin project) it seems to be working correctly, however when i try to update it in my "real" interlij configuration, it doesnt' work. (by work i mean Ctrl+Space displays  a list of bugs in bugzilla)
what i do get is an error in the log : @NotNull method org/bugzilla/tasks/BugzillaTask.getId must not return null: @NotNull method org/bugzilla/tasks/BugzillaTask.getId must not return null

Comment actions Permalink

So why don't you look at the source code of BugzillaTask.getId() and see under what conditions it may return null?

Comment actions Permalink

you mean debug it? but it this doesn't happen on debug enviorment.all i can say that in stack trace it happens here:

java.lang.IllegalStateException: @NotNull method org/bugzilla/tasks/BugzillaTask.getId must not return null
at org.bugzilla.tasks.BugzillaTask.getId(BugzillaTask.java:43)
at com.intellij.tasks.impl.TaskManagerImpl.doUpdate(TaskManagerImpl.java:706)
at com.intellij.tasks.impl.TaskManagerImpl.access$900(TaskManagerImpl.java:61)
at com.intellij.tasks.impl.TaskManagerImpl$11.run(TaskManagerImpl.java:693)
at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:434)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:145)

it also happens when i start interlij.

Comment actions Permalink

I mean look at the code of the method in the plugin you're developing. That's your plugin, not part of the IntelliJ IDEA codebase.

Comment actions Permalink

true, but as you can see it's only one line and that line simply has a getter with a variable, but anyway i think i've managed to track it down to wrong url.


Please sign in to leave a comment.