s5bug / discord-intellij

A plugin for interaction between JetBrains IDEs and Discord RPC
http://plugins.jetbrains.com/plugin/10217-intellij-discord-integration
24 stars 4 forks source link

Plugins received an unexpected RPC error #19

Closed Dwood15 closed 6 years ago

Dwood15 commented 6 years ago

The plugin has received an unexpected RPC error. Code: 4000 / child "activity" fails because [child "assets" fails because [child "large_text" fails because ["large_text" length must be at least 2 characters long]]]

This looks like it was a one-time error, so I'm starting the issue closed, but just in case someone else encounters the same thing, this can be here.

s5bug commented 6 years ago

This happens when your filename is one character.

EDIT: no, there should be no reason that this happens. Huh.

Dwood15 commented 6 years ago

Ruh-Roh, happened again today at startup of CLion

5:56 PM Plugins received an unexpected RPC error The plugin has received an unexpected RPC error. Code: 4000 / child "activity" fails because [child "assets" fails because [child "large_text" fails because ["large_text" length must be at least 2 characters long]]]

More details:

OS: x64 Windows 7. CPU: intel core i5-4690, 32 GB ram clion_latest

Dwood15 commented 6 years ago

Restarting CLion and the error does not reoccur.

Edit: For now, the inconvenience is so minor I really don't care that much, but if I find out the source of the issue, will let you know.

s5bug commented 6 years ago

I don't see why this could be, unless...

The startup might open to a C file, which has an ID of 1 character. Can you confirm that this happens when you switch to C files?

Dason Woodhouse notifications@github.com schrieb am Di., 27. März 2018, 18:32:

Restarting CLion and the error does not reoccur.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/TsundereBug/discord-intellij/issues/19#issuecomment-376730028, or mute the thread https://github.com/notifications/unsubscribe-auth/AHZGgJAOX9_e9FVAxEGo5ewgZxm3W4Kzks5tiugVgaJpZM4S8Gmk .

Dwood15 commented 6 years ago

I've enabled debug mode, so if it occurs again I'll post up the details. I often use *.h files, but I don't have a single 1-character filename in my actual project, unless some get generated by cmake?

Testing now, will edit//post back with details.

Dwood15 commented 6 years ago

Here's an exception log.

CL-2018-03-30_21-22-58.zip

It happens in other projects as well...

s5bug commented 6 years ago

Your errors don't come from my plugin. If you'd like to use mine, follow these instructions:

Dwood15 commented 6 years ago

Ah, my apologies.