You get a NullPointerException when you try to drag (for example from the Windows Explorer) a .jj, .jjt or .jtb file in Eclipse ; this works fine for a .java file.
It seems that getDocument() returns null so the plugin cannot parse it and get the AST so the outline update fails.