From: SourceForge.net <no...@so...> - 2012-06-04 14:50:50
|
Plugin Bugs item #2916073, was opened at 2009-12-16 22:22 Message generated for change (Comment added) made by ezust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=565475&aid=2916073&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: Nicolas Carranza (nicarran) Assigned to: Nobody/Anonymous (nobody) Summary: JCompiler: errors don't show automatically in ErrorList 1.8 Initial Comment: ErrorList 1.8 (Console 4.4.1) does not show JCompiler errors automatically. "Automatically display on error" is selected and the the ErrorList button states for "show warnings" and "show errors" are both pressed in. ErrorList 1.7 (Console 4.4.1) shows the JCompiler errors automatically as expected. Related: Related: http://sourceforge.net/tracker/index.php?func=detail&aid=2863592&group_id=588&atid=565475 . [Hello Alan, I opened this new bug because the old one is no longer editable by me.] ---------------------------------------------------------------------- >Comment By: Alan Ezust (ezust) Date: 2012-06-04 07:50 Message: oops. ignore previous comment. It seems to be fixed. ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2012-06-03 10:53 Message: don't mark it fixed if it's not fixed. ---------------------------------------------------------------------- Comment By: Jarek Czekalski (jarekczek) Date: 2012-06-03 10:37 Message: This plugin is no longer supported. The bug may be taken by a volunteer willing to resurrect it. ---------------------------------------------------------------------- Comment By: Nicolas Carranza (nicarran) Date: 2009-12-31 09:16 Message: Using the trunk version of ErrorList no exception is thrown and JCompiler errors are shown as expected. I guess this bug can now be closed. Thanks! ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2009-12-30 23:44 Message: The bug that causes the exception shown in the stack trace below has been fixed in the trunk version of ErrorList (not yet released). Can you try with this version? ---------------------------------------------------------------------- Comment By: Nicolas Carranza (nicarran) Date: 2009-12-30 21:21 Message: I think this stack trace shown by the Activity Log is related: ------- 12:20:39 AM [AWT-EventQueue-0] [debug] EditBus: DockableWindowUpdate[what=ACTIVATED,dockable=console,source=org.gjt.sp.jedit.gui.DockableWindowManagerImpl[,0,27,1400x922,invalid,layout=org.gjt.sp.jedit.gui.DockableLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.synth.SynthBorder@1ab2b55,flags=9,maximumSize=,minimumSize=,preferredSize=]] 12:20:39 AM [AWT-EventQueue-0] [debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_REMOVED,errorSource=errorlist.DefaultErrorSource[error parsing],error=null] 12:20:40 AM [OutputThread for external compiler error output] [debug] JCompilerTask: #outputText: /home/nicarran/Test.java:3: not a statement 12:20:40 AM [OutputThread for external compiler error output] [debug] JCompilerTask: #outputText: loco; 12:20:40 AM [OutputThread for external compiler error output] [debug] JCompilerTask: #outputText: ^ 12:20:40 AM [OutputThread for external compiler error output] [debug] JCompilerTask$PendingError: PendingError[type=0,filename=/home/nicarran/Test.java,lineno=2,startpos=2,endpos=7,errorText= not a statement,line=/home/nicarran/Test.java:3: not a statement,extras=null] 12:20:40 AM [OutputThread for external compiler error output] [debug] JCompilerTask: #outputText: 1 error 12:20:40 AM [OutputThread for external compiler output] [debug] JCompiler: Thread[OutputThread for external compiler output,6,main] ends. 12:20:40 AM [OutputThread for external compiler error output] [debug] JCompiler: Thread[OutputThread for external compiler error output,6,main] ends. 12:20:40 AM [JCompilerTask] [debug] JCompilerTask: Thread[JCompilerTask,6,main] ends. 12:20:40 AM [AWT-EventQueue-0] [debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_ADDED,errorSource=errorlist.DefaultErrorSource[error parsing],error=null] 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: Exception while sending message on EditBus: 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: java.lang.NullPointerException 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at errorlist.ErrorListPlugin.doErrorsExist(ErrorListPlugin.java:400) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at errorlist.ErrorListPlugin.handleErrorSourceMessage(ErrorListPlugin.java:320) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at errorlist.ErrorListPlugin.handleMessage(ErrorListPlugin.java:87) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus.dispatch(EditBus.java:212) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus.sendImpl(EditBus.java:247) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at org.gjt.sp.jedit.EditBus.send(EditBus.java:188) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at errorlist.ErrorSource.registerErrorSource(ErrorSource.java:58) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at console.Console$ShellState$3.run(Console.java:977) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) 12:20:40 AM [AWT-EventQueue-0] [error] EditBus: at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) 12:20:41 AM [AWT-EventQueue-0] [debug] EditBus: DockableWindowUpdate[what=ACTIVATED,dockable=error-list,source=org.gjt.sp.jedit.gui.DockableWindowManagerImpl[,0,27,1400x922,invalid,layout=org.gjt.sp.jedit.gui.DockableLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.synth.SynthBorder@1ab2b55,flags=9,maximumSize=,minimumSize=,preferredSize=]] ------- ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2009-12-24 08:14 Message: This might not be a new bug, actually. There is bug # 665309 that is related. Personally, I have never used JCompiler so I haven't seen it in the correct working state. My guess is that the Shell's use of the ErrorSource and other errorlist APIs is what needs to be fixed though. ---------------------------------------------------------------------- Comment By: Gerard (gerardsmyth) Date: 2009-12-24 01:41 Message: I will try and get some time over Christmas to have a look at this, and get my previous changes released as well. Are there any details indicating the changes that need to be made, or am I better off just looking through the changes made for the System shell? ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2009-12-23 21:58 Message: Gerard, I see you made some changes to JCompiler already, to update it to use the recent JavaCore. Can you complete your work and release it, after fixing this bug? ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2009-12-18 15:58 Message: Both AntFarm and JCompiler each use a different Console "shell" for interactions, and they each probably create their own errorsources independently of System, so whatever fixes Shlomy made to the System Shell probably did not make it into JCompiler or AntFarm shells. ---------------------------------------------------------------------- Comment By: michael michaud (michaudm) Date: 2009-12-18 15:37 Message: Hi, I'm not sure it is related, but after I have updated ErrorList to 1.8 I couldn't see compiler error mark in the right margin any more (I use antfarm to compile, jConsole still shows 4.4, and jEdit version is 4.3pre18). After one or two check/uncheck options clicked in the ErrorList plugin options, errors were shown again in the right margin. Sorry not to be able to be more precise. Michaël ---------------------------------------------------------------------- Comment By: Nicolas Carranza (nicarran) Date: 2009-12-17 07:37 Message: yes, the errors are shown in it. It is only that the ErrorList dockable does not show itself automatically when using the JCompiler "Compile File" command. The bug seems to be JCompiler specific because the ErrorList shows itself automatically when I use console commands or the console system shell. ---------------------------------------------------------------------- Comment By: Shlomy Reinstein (shlomy) Date: 2009-12-17 00:34 Message: When you open the ErrorList dockable, are the errors shown in it? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=565475&aid=2916073&group_id=588 |