[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-devel
Subject:    [ jEdit-devel ] [ jedit-Plugin Bugs-3051672 ] Markerset:
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2010-08-24 11:30:14
Message-ID: E1Onrhm-0000Qz-0s () sfs-web-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Plugin Bugs item #3051672, was opened at 2010-08-23 20:04
Message generated for change (Comment added) made by shlomy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=3051672&group_id=588

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
> Status: Closed
> Resolution: Fixed
Priority: 5
Private: No
Submitted By: Alan Ezust (ezust)
Assigned to: Shlomy Reinstein (shlomy)
Summary: Markerset: NPE/Crash/Busy lockup on startup

Initial Comment:
It seems to be related to having markers in a file in a directory tree that was \
totally removed.

Run jEdit. see below exception. 
I have 2 (out of 4) CPUs at 100% now, and jEdit is hung.

Then I removed MarkerSets and tried to start up again. It hung again, only this time \
with a "Plugin Error" dialog. Then I removed Lucene, started it again, was able to \
run it.  Built MarkerSets and Lucene from trunk, tried again. Still got the same \
exception on startup, but it did not hang this time, and I was able to remove the \
invalid markers from markersets. Then I was able to start up jEdit without any \
errors.




[ezust@cerberus] /home/ezust> 9:57:34 AM [main] [error] main: Cannot find \
CatalogManager.properties 9:57:36 AM [AWT-EventQueue-0] [error] EditBus: Exception \
while sending message on EditBus: 9:57:36 AM [AWT-EventQueue-0] [error] EditBus: \
java.lang.reflect.InvocationTargetException 9:57:36 AM [AWT-EventQueue-0] [error] \
EditBus:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 9:57:36 \
AM [AWT-EventQueue-0] [error] EditBus:  at \
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
java.lang.reflect.Method.invoke(Method.java:597) 9:57:36 AM [AWT-EventQueue-0] \
[error] EditBus:  at org.gjt.sp.jedit.EditBus.dispatch(EditBus.java:251) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.EditBus.sendImpl(EditBus.java:290) 9:57:36 AM [AWT-EventQueue-0] \
[error] EditBus:  at org.gjt.sp.jedit.EditBus.access$200(EditBus.java:84) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.EditBus$SendMessage.run(EditBus.java:464) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.EditBus.send(EditBus.java:199) 9:57:36 AM [AWT-EventQueue-0] [error] \
EditBus:  at org.gjt.sp.jedit.jEdit._closeBuffer(jEdit.java:1905) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bufferset.BufferSetManager._removeBuffer(BufferSetManager.java:324) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bufferset.BufferSetManager.removeBuffer(BufferSetManager.java:273) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bufferset.BufferSet.addBufferAt(BufferSet.java:141) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bufferset.BufferSet.addBuffer(BufferSet.java:75) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bufferset.BufferSetManager.addBuffer(BufferSetManager.java:199) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1566) 9:57:36 AM [AWT-EventQueue-0] \
[error] EditBus:  at org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1488) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.jEdit.openFile(jEdit.java:1445) 9:57:36 AM [AWT-EventQueue-0] \
[error] EditBus:  at projectviewer.vpt.VPTFile.open(VPTFile.java:308) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
projectviewer.ProjectViewer.openProject(ProjectViewer.java:541) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
projectviewer.ProjectViewer.setRootNode(ProjectViewer.java:765) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
projectviewer.ProjectViewer.<init>(ProjectViewer.java:434) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
java.lang.reflect.Constructor.newInstance(Constructor.java:513) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123)
 9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)
 9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) 9:57:36 \
AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) 9:57:36 \
AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369) 9:57:36 AM [AWT-EventQueue-0] \
[error] EditBus:  at \
org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:467)
 9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:349)
 9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.gui.DockableWindowManagerImpl.setDockingLayout(DockableWindowManagerImpl.java:211)
 9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
org.gjt.sp.jedit.jEdit$DockingLayoutSetter.run(jEdit.java:4350) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
java.awt.EventQueue.dispatchEvent(EventQueue.java:597) 9:57:36 AM [AWT-EventQueue-0] \
[error] EditBus:  at \
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) \
9:57:36 AM [AWT-EventQueue-0] [error] EditBus:  at \
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  at \
java.awt.EventDispatchThread.run(EventDispatchThread.java:122) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus: Caused by: java.lang.NullPointerException 9:57:36 \
AM [AWT-EventQueue-0] [error] EditBus:  at \
marker.FileMarker.removePosition(FileMarker.java:138) 9:57:36 AM [AWT-EventQueue-0] \
[error] EditBus:  at marker.MarkerSet.handleBufferUpdate(MarkerSet.java:107) 9:57:36 \
AM [AWT-EventQueue-0] [error] EditBus:  at \
marker.MarkerSetsPlugin.handleBufferUpdate(MarkerSetsPlugin.java:212) 9:57:36 AM \
[AWT-EventQueue-0] [error] EditBus:  ... 50 more



----------------------------------------------------------------------

> Comment By: Shlomy Reinstein (shlomy)
Date: 2010-08-24 14:30

Message:
Fixed in SVN rev #18406.

----------------------------------------------------------------------

Comment By: Shlomy Reinstein (shlomy)
Date: 2010-08-24 01:02

Message:
This exception only happens when a non-dirty untitled buffer with a marker
is closed. I'll fix that soon, In this case it was closed because PV wanted
to open a buffer, so jEdit tries to replace any non-dirty untitled buffer
with it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=3051672&group_id=588

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-- 
-----------------------------------------------
jEdit Developers' List
jEdit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic