When I use jEdit on an Windows account with limited rights I get following errors
when I open file via shell context menu:
java.lang.NullPointerException: Null Pointer in Method Invocation
at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:841)
at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.BSHVariableDeclarator.eval(BSHVariableDeclarator.java:86)
at org.gjt.sp.jedit.bsh.BSHTypedVariableDeclaration.eval(BSHTypedVariableDeclaration.java:84)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:149)
at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:114)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:389)
at org.gjt.sp.jedit.EditServer$1.run(EditServer.java:343)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Activity log entries:
13:30:57 [debug] WorkThread: Running in work thread: [id=485,run=sidekick.SideKick$ParseRequest@1dd8a94]
13:30:57 [notice] SideKick #1: getParserErrors, there are 0 errors
13:30:57 [debug] EditBus: ViewUpdate[what=VIEW_ACTIVATED,source=org.gjt.sp.jedit.View[active]]
13:30:57 [debug] JEditTextArea: InputMethodSupport is activated
13:30:57 [debug] SideKick$ParseAWTRequest: ParseAWTRequest
13:30:57 [debug] SideKickParsedData: Setting parsed data of org.gjt.sp.jedit.View[active]
to sidekick.html.HtmlSideKickParsedData@400a86
13:30:57 [debug] EditBus: SideKickUpdate[source=null]
13:30:57 [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
13:31:11 [debug] MiscUtilities: Saving backup of file "C:\Users\user\.jedit\perspective.xml"
to "C:\Users\user\.jedit\settings-backup\perspective.xml~1~"
13:31:13 [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
13:31:24 [error] KeyEventTranslator: Invalid key stroke: C+e C+`
13:31:24 [debug] EditBus: DockableWindowUpdate[what=ACTIVATED,dockable=log-viewer,source=org.gjt.sp.jedit.gui.DockableWindowManager[,0,0,1440x809,layout=org.gjt.sp.jedit.gui.DockableLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]]
13:34:30 [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
13:34:32 [error] KeyEventTranslator: Invalid key stroke: C+e C+`
13:34:32 [error] KeyEventTranslator: Invalid key stroke: C+e C+`
13:34:32 [debug] WorkThread: Running in work thread: [id=487,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,vfs=org.gjt.sp.jedit.io.FileVFS@ce41cc,path1=C:\Users\user\Desktop\,path2=null]]
13:34:34 [debug] EditBus: VFSPathSelected[source=org.gjt.sp.jedit.View[active]]
13:34:34 [debug] EditBus: VFSPathSelected[source=org.gjt.sp.jedit.View[active]]
13:34:34 [debug] EditBus: BufferUpdate[what=LOAD_STARTED,view=org.gjt.sp.jedit.View[active],source=playlist.html
(C:\Users\user\Desktop\)]
13:34:34 [debug] EditBus: BufferUpdate[what=CREATED,view=org.gjt.sp.jedit.View[active],source=playlist.html
(C:\Users\user\Desktop\)]
13:34:34 [debug] WorkThread: Running in work thread: [id=490,run=org.gjt.sp.jedit.bufferio.BufferLoadRequest[playlist.html
(C:\Users\user\Desktop\)]]
13:34:34 [debug] EditBus: BufferChanging[what=BUFFER_CHANGING,source=org.gjt.sp.jedit.EditPane[active]]
13:34:34 [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
13:34:34 [debug] EditBus: EditPaneUpdate[what=BUFFER_CHANGED,source=org.gjt.sp.jedit.EditPane[active]]
13:34:34 [debug] EditBus: BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=playlist.html
(C:\Users\user\Desktop\)]
13:34:34 [debug] EditBus: BufferUpdate[what=LOADED,view=org.gjt.sp.jedit.View[active],source=playlist.html
(C:\Users\user\Desktop\)]
13:34:34 [debug] SideKickParsedData: Setting parsed data of org.gjt.sp.jedit.View[active]
to sidekick.SideKickParsedData@2d8a2f
13:34:34 [debug] EditBus: SideKickUpdate[source=null]
13:34:34 [debug] WorkThread: Running in work thread: [id=493,run=sidekick.SideKick$ParseRequest@1cb514c]
13:34:34 [debug] EditBus: DynamicMenuChanged[menu=recent-files,source=null]
13:34:34 [notice] SideKick #1: getParserErrors, there are 0 errors
13:34:34 [debug] SideKick$ParseAWTRequest: ParseAWTRequest
13:34:34 [debug] SideKickParsedData: Setting parsed data of org.gjt.sp.jedit.View[active]
to sidekick.html.HtmlSideKickParsedData@165d3ae
13:34:34 [debug] EditBus: SideKickUpdate[source=null]
13:34:41 [debug] MiscUtilities: Saving backup of file "C:\Users\user\.jedit\perspective.xml"
to "C:\Users\user\.jedit\settings-backup\perspective.xml~1~"
I use jEdit Launcher and jEdit is running in server mode.
Submitted | admirau - 2008-07-08 - 11:37:43z | Assigned | nobody |
---|---|---|---|
Priority | 5 | Category | Windows Specific |
Status | Open | Group | None |
Resolution | None | Visibility | No |
2008-10-31 - 12:32:35z admirau |
I have found how to reproduce this bug. Install jEdit on Windows using administrative account. Then switch to limited user account and run jEdit server using options: "C:\Program Files\Jedit\bin\jedit.exe" -background -nogui Then run jEdit on limited user account. You will get: A BeanShell error occured: java.lang.NullPointerException: Null Pointer in Method Invocation at org.gjt.sp.jedit.bsh.Name.invokeMethod(Name.java:841) at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at org.gjt.sp.jedit.bsh.BSHVariableDeclarator.eval(BSHVariableDeclarator.java:86) at org.gjt.sp.jedit.bsh.BSHTypedVariableDeclaration.eval(BSHTypedVariableDeclaration.java:84) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738) at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727) at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148) at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:387) at org.gjt.sp.jedit.EditServer$1.run(EditServer.java:343) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) |
---|