PHPParser 1.2.0 glitch (interfaces?)
Got the following. I think the first section of [error] reportage may be irrelevant, but the second section reflects a glitch that hit as I was creating an interface.
I had
interface Name {
}
and was filling in function signatures when it hit. Aout the tenth or eleventh function, it highlighted "public" as wrong and reported an internal error when I hovered the mouse to read what was wrong.
Activity log entries that might be useful in a bug report:
Log file created on Fri Oct 14 05:46:41 EDT 2005
IMPORTANT:
Because updating this file after every log message would kill
performance, it will be *incomplete* unless you invoke the
Utilities->Troubleshooting->Update Activity Log on Disk command!
[message] Log: When reporting bugs, please include the following information:
[message] Log: java.version=1.5.0_02
[message] Log: java.vm.version=1.5.0_02-b09
[message] Log: java.runtime.version=1.5.0_02-b09
[notice] jEdit: jEdit version 4.2final
[message] jEdit: Settings directory is C:\Documents and Settings\Austin Hastings\.jedit
[message] jEdit: jEdit home directory is C:\Program Files\jEdit
[notice] jEdit: Loading plugins from C:\Program Files\jEdit\jars
[notice] jEdit: Loading plugins from C:\Documents and Settings\Austin Hastings\.jedit\jars
[message] jEdit: Loading mode catalog file C:\Program Files\jEdit\modes\catalog
[message] jEdit: Loading mode catalog file C:\Documents and Settings\Austin Hastings\.jedit\modes\catalog
[message] jEdit: Startup complete
[error] WorkThread: Exception in work thread:
[error] WorkThread: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
[error] WorkThread: at org.gjt.sp.jedit.Buffer.getLineStartOffset(Buffer.java:907)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildNode(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildChildNodes(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildNode(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildChildNodes(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.parse(Unknown Source)
[error] WorkThread: at sidekick.SideKick$ParseRequest.run(SideKick.java:406)
[error] WorkThread: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] WorkThread: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] WorkThread: at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)
[debug] WorkThread: Running in work thread: [id=811,run=sidekick.SideKick$ParseRequest@1f97846]
[error] PHPSideKickParser: gatchan.phpparser.parser.ParseException: Encountered "}" at line 58, column 1.
[error] PHPSideKickParser: Was expecting:
[error] PHPSideKickParser: "function" ...
[error] PHPSideKickParser:
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.generateParseException(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.jj_consume_token(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.interfaceMethodDeclaration(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.interfaceDeclaration(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.BlockStatement(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.Php(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.PhpBlock(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.phpFile(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.sidekick.PHPSideKickParser.parse(Unknown Source)
[error] PHPSideKickParser: at sidekick.SideKick$ParseRequest.run(SideKick.java:406)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)
[debug] SideKick$ParseAWTRequest: ParseAWTRequest
[debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_REMOVED,errorSource=errorlist.DefaultErrorSource[SideKick],error=null]
[debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_ADDED,errorSource=errorlist.DefaultErrorSource[SideKick],error=null]
[debug] SideKickParsedData: Setting parsed data of org.gjt.sp.jedit.View[active] to null
[debug] EditBus: SideKickUpdate[source=null]
[debug] WorkThread: Running in work thread: [id=813,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=AUTOSAVE,buffer=IRecordHierarchy.php (C:\www\localhost\php_trees\)]]
Can't open Internet Explorer
Submitted by Anonymous on Wednesday, 27 April, 2005 - 19:19
When I install jEdit, thereafter I cannot open Internet Explorer. Whenever I open Internet Explorer it instead opens up in jEdit as a bunch of illegible text. In the title bar it shows a file name of icwconn1.ex_. If I uninstall jEdit then Internet Explorer works fine again. If I then reinstall jEdit Internet Explorer quits working again. {LOOP}
I don't know why this is happening; jEdit works fine on all my other workstations in conjunction with Internet Explorer.
And no this isn't a "feature". I know Internet Explorer sucks; I'm posting to this forum through FireFox right now, but I am a web developer and I have to test in Internet Explorer for all of the sheep.
I'm running Windows 2000 Professional on the box where the error is occuring.
Thanks!
Can't open Internet Explorer
Submitted by Anonymous on Wednesday, 27 April, 2005 - 19:13
When I install jEdit, thereafter I cannot open Internet Explorer. Whenever I open Internet Explorer it instead opens up in jEdit as a bunch of illegible text. In the title bar it shows a file name of icwconn1.ex_. If I uninstall jEdit then Internet Explorer works fine again. If I then reinstall jEdit Internet Explorer quits working again. {LOOP}
I don't know why this is happening; jEdit works fine on all my other workstations in conjunction with Internet Explorer.
And no this isn't a "feature". I know Internet Explorer sucks; I'm posting to this forum through FireFox right now, but I am a web developer and I have to test in Internet Explorer for all of the sheep.
I'm running Windows 2000 Professional on the box where the error is occuring.
Thanks!
FTP-0.7.3 connection pool problem
Submitted by Anonymous on Tuesday, 19 April, 2005 - 16:59
I've noticed strange behaviour of FTP plugin in version 0.7.3 (as opposed to 0.7.2 which works OK).
When I try to open a large ammount of files (let's say 25) at the same time, jedit opens 25 connections to ftp server (or at least tries to). As I have a connecion limit on my FTP server set to 10 (windows 2000 pro with built-in ftp service), jedit gives me a nice ftp error.
Did anybody experienced similar problems?
--
Demboos
demboos (at) wp pl
Dual displays drive jEdit nuts
Submitted by Anonymous on Thursday, 7 April, 2005 - 06:45
This bug is in Windows XP. I'm using v4.2final and the latest java from Sun, but the problem is also in the newest v4.3.
When I use jEdit on a dual-display system and the secondary monitor has a higher resolution than the primary monitor, jEdit goes nuts. The problem occurs every time when I connect an external monitor (1280x1024) to my laptop (1024x768), extend my desktop onto the second monitor, and put a jEdit window on the monitor. jEdit has problems displaying the screen, and often lines don't get updated unless the window is scrolled.
The problem can be fixed by setting the external monitor as the primary display, and then extending the desktop onto the laptop screen...
REGISTRATION PROBLEM!!
Submitted by Anonymous on Thursday, 31 March, 2005 - 06:45
Hi,
I'm probably going piss people off by doing this again, but I CAN'T GET A PASSWORD!!
I have no idea who to speak to, so I guess I can either suffer in silence (and never
participate in any of the jedit discussions), or I can keep posting annoying messages
like this in the vain hope that someone (anyone?) will help me out.
David Kromek.
FORUM REGISTRATION PROBLEM!!
Submitted by Anonymous on Tuesday, 29 March, 2005 - 10:36
Hi,
This probably NOT the right place to mention this, but I can't seem to register with
any of the jEdit forums! I've provided a valid username and my e-mail address, but
no password has been mailed to me. Would someone PLEASE send a message to whoever is
responsible for this area, that I CAN'T GET A PASSWORD! I've looked all over the jEdit
site and there doesn't seem to be ANY links to a webmaster or anyone who manages this site! Please send any replies to the following e-mail address: djkone@esc.net.au
(Please note: I have even tried registering with another Drupal affiliated site, but I
still can't log on to any jEdit forums!)
Thanks,
David Kromek.
gnome clipboard daemon
Submitted by Anonymous on Wednesday, 16 March, 2005 - 19:08
I run Jedit on Ubuntu Warty, Kernel 2.6.8, Gnome 2.8, and if I use the "gnome clipboard daemon", copy and past don't work in Jedit...
I have tryed Jedit 4.2 and 4.3pre2 and the probleme is the same.
jEdit and blanks
Submitted by Anonymous on Friday, 11 March, 2005 - 19:56
I really like the functions of jEdit, and so I decided to make Windows open all *.php files with jEdit. So I made my operating system Windows XP to open all *.php files with this address:
C:\Programme\Java\j2re1.4.0_01\bin\javaw.exe -jar "G:\Programme\jEdit\jedit.jar"
Now I can open my *.php files directly, without starting jEdit and then opening it. Nisi the path of the *.php file contains blanks, then it doesn't work. And that's what I think is a bug. If it isn't, I would be very pleased if you would say me what I made wrong.
Bugs?
Submitted by Anonymous on Thursday, 24 February, 2005 - 07:46
1. jEdit has problem in HTML mode. When the end of HTML comment is //--> in script tag jEdit does not see that end.
2. In parametrized abbrev. there is a problem if parameter has '\n' sign.
Is wrong email address ont the Icon submission page?
Submitted by Anonymous on Friday, 18 February, 2005 - 10:30
Hi!
I have no idea where I send this problem report...
I have made a few small icons for jedit. I wanted posting it to email adress I found on http://www.jedit.org/index.php?page=images page.
The answer is:
The original message was received at Fri, 18 Feb 2005 11:22:25 +0100
from mail [192.168.69.23]
----- The following addresses had permanent fatal errors -----
(reason: 554 mail server permanently rejected message (#5.3.0))
----- Transcript of session follows -----
... while talking to mx.acps.org.au.:
>>> DATA
<<< 554 mail server permanently rejected message (#5.3.0)
554 5.0.0 Service unavailable
Whitc address can I send the images?
THX!
Denes Szabo at internode.hu
tasklist and text mode
Submitted by Anonymous on Tuesday, 15 February, 2005 - 10:32
Hi,
The TaskList plugin (0.4.4) does not work with text mode
(on jEdit 4.2). When renaming the file for example to *.py
to enforce Python mode everything is OK.
Any suggestions?
All Buffer Replace broken
Submitted by Anonymous on Wednesday, 9 February, 2005 - 18:28
4.2final. Search and replace -- replace all when "all buffers" is checked is broken. Says it found 0 occurances, even though there are many, including in the current buffer.
Ctrl + Shift + O doesn't work for changing paragraph direction
Submitted by Anonymous on Monday, 31 January, 2005 - 14:47
In normal Java applications one is supposed to be able to change paragraph direction (from LTR to RTL) with Ctrl + Shift + O, but this combination does nothing in jEdit.
Cannot install plugins.
Submitted by Anonymous on Thursday, 27 January, 2005 - 04:47
Hi there,
I tried to install JEdit 4.2pre.15 on a Win2k box.
This is the Java version that I run :
C:\Documents and Settings\Administrator>java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
And this is the error message that I have when I try to get plugins:
Could not download the plugin list.
(java.net.UnknownHostException: plugins.jedit.org)
I have obviously access to the net, because I can send you a message
And I have no proxy..
I also tried with a 4.2 and I get the same error message..
PHPParser 1.1.0 Breaks HTML tag completion in PHP files
Submitted by Anonymous on Monday, 24 January, 2005 - 22:37
After updating to PHPParser 1.1.0, jEdit 4.2final will not do HTML tag completion in PHP mode. I manually downgraded ErrorList to 1.3.1, SideKick to 0.3.1, and PHPParser to 1.0.2. Everything began working again as expected.
So I decided to manually update the plugins one at a time to see which of the recent plugin updates broke this (much desired) functionality. So I upgraded them in the following order:
ErrorList to 1.3.2 => OK
SideKick to 0.3.2 => OK
PHPParser to 1.1.0 => BROKEN
Perhaps it's the combination of the 2 or 3 of them together. But ErrorList 1.3.2, SideKick 0.3.2, and PHPParser 1.0.2 all play together nicely.
Hebrew vowel signs
Submitted by Anonymous on Thursday, 20 January, 2005 - 17:39
When Hebrew vowel signs are typed, extra spaces are inserted unnecessarily.
Wrong glyphs for some unicode characters in Java
Submitted by Anonymous on Wednesday, 5 January, 2005 - 22:55
In Linux I use a customized keyboard mapping which gives me access to unicode characters I often need to type. But some of them, strangely, are wrongly displayed in jEdit. For example,
\u012b is displayed as \u03ef
\u016b as \u03fe
\u014d as \u03f2
\u0101 as \u03e0
\u0111 as \u01f0
\u0113 as \u03ba
etc
So for each of these cases I need a work-around by redefining the key that generates the wrong glyph with a shortcut to a macro which writes the correct character. For instance the shortcut Alt-a activates a bsh macro containing the line
textArea.setSelectedText("\u0101")
which prints "Ä?" (a macron) instead of \u3e0 which is Greek sampi!
I checked with other Java GUI apps having Unicode support (such as JabRef): the very same bug occurs again! So this must be a general Java bug (some mess in the Unicode tables?) Yet might it be possible to fix this in a future version of jEdit by somehow circumventing this mess through an appropriate patch? Sorry if I can't help much myself, as I am not a Java programmer.
Any idea?
Thanks,
François
PS: I run J2RE 1.5.0_01-b08 on Linux. The problem also occurs with J2RE 1.4.2_06-b03.
Column mode bug?
Submitted by
pdfneuro on
Thursday, 9 December, 2004 - 09:57
Hi,
When I am in column mode, I can insert any character which are printed on each row of my column.. excpet tab. Hitting tab in colum mode add a tab on each row of the column, but then directly quit column mode.. why?
Is it a bug?
Bye
Focus problem with 4.2final ?
Submitted by
ylikone on
Thursday, 25 November, 2004 - 16:15
I am a long time jEdit user and I recently upgraded to Sun Java JDK1.5 and jEdit 4.2final and find jEdit to be unusable now because it keeps switching window focus to the previous applications window. It does this whenever I open a new file, finish a search or click OK on any jEdit popup window. So, say I open a new file, then once it loads, it automatically flips to Firefox, which I have running in the background. I should also mention I am running this on Linux.
Am I doing something wrong or is this a bug I should submit?