Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Re: Biggest Eclipse bug ever about Java?
Re: Biggest Eclipse bug ever about Java? [message #70166] Mon, 12 May 2008 14:12 Go to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Don't you think that if Eclipse had such a serious flaw that it would
not be used by thousands of developers every day?
Really, you should be asking what is possibly wrong in your environment
rather than assume there is some HUGE bug in the world's most popular
Java IDE.

Anyway, I'm forwarding this on to the PDT newsgroup because you seem to
only be using the PDT editor.

Eric


Mr. Hama wrote:
> Dear Eclipse SWT developers/users!
>
>
> Let me understand: you delete some part of file in Eclipse, press save
> - the file contents remain the same? (i.e. you close Eclipse, and then
> open it again - you see the original file)
>
> Not fully original. The point where I deleted content, see ending char +
> ?> (end of php file string) and this overwrite the next line chars.
> If the next line was "hello world!" next line will be
>
> "?>llo world"
>
> or
>
> "?>
> o world"
>
> but file size will 100% same.
>
>
> YES, or sometimes I see the ORIGINAL file and where I deleted a file I
> show ?> chars and all content same with original file BUT all times the
> file size don't changed!
>
> I think this is the biggest bug in ECLIPSE what make it useless :-(
>
>
> > My problem is:
> >
> > Any version of Eclipse (newest, old 3.2, easyeclipse, AptanaStudio,
> etc... )
> > cannot change the PHP's file size to smaller - only to bigger!
> >
> > my php file 1000 byte and I delete 500 byte and save: I see good the
> saved
> > file in eclipse... but saved file don't changed... only ?> chars at 500
> > byte... but other 500 byte unchanged and still 1000 byte the file.
> >
> > If I add new content to 1000 byte and will 1200 byte = ALL OK. But if I
> > delete content = will 1200 byte again and buggy file from this point...
> >
> > file is UTF8 but tried with ASCII file too... all same...
> >
> > Help me! I think it's java or eclipse bug but maybe about java...
> >
> > Seems like file handle cannot allowed to cut file, only to append
> content...
> > It's all about java?
> > If I edit with this file with notepad / any other editor = can cut
> the file
> > content...
> >
> > Enviroment:
> >
> > Hardware: Intel Core 2 Duo E6550, 2 GB RAM, SATA, desktop PC
> >
> > Software: Windows XP SP2 English, IE7, Firefox 2 + 3 beta
> >
> > jre-1_5_0_11-windows-i586-p
> > but tried with:
> > jre-1_5_0_14-windows-i586-p
> > jre-1_5_0_06-windows-i586-p
> > j2re-1_4_2_16-windows-i586-p
> > j2sdk-1_4_2_17-windows-i586-p
> >
> > And all same...
> >
> > Last version checked:
> >
> > pdt-all-in-one-S20080505_RC1-win32.zip
> >
> >
> > So... I can't belive it's common bug becuase no developer can use
> eclipse by
> > this big bug. What is the solution?
> >
>
>
> For example detailed description, original file:
>
> <?
> php code 1
>
> php code 2
>
> php code 3
> ?>
>
> I delete php code 2 + php code 3 line, left only 1 line, this will be:
>
> <?
> php code 1
> ?>
>
> BUT!!!!!!!!!! I show this with text editor or if reopen file:
>
> <?
> php code 1
> ?>
> p code 2
>
> php code 3
> ?>
>
> And I show CORRECTLY the file if I press "SAVE" after first modification
> (but really file size don't changed, only date updated). If I close file
> + open again I see the bugged source -OR- I see the only 1 line source
> correctly BUT the file bugged because Eclipse stop display after first ?> .
> If I use ANY OTHER non JAVA based editor = ALL WORKS FINE and no this bug.
>
> ---------
>
> BUT file size will 100% same, file date changed!
> So... Eclipse and ALL JAVA IDE don't MODIFY TO FILE SIZE SMALLER.
>
> If I add new lines = ALL OK, but if delete = this sh1t happends...
>
> I don't belive with this bug somebody can use and JAVA IDE... Eclipse
> useless with this bug...
>
>
> Thanks!
> Mr. Hama
>
Re: Biggest Eclipse bug ever about Java? [message #70186 is a reply to message #70166] Mon, 12 May 2008 14:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

No, I tried with simply Eclipse without PDT + PHP, and SAME bug. Cannot
cut the end of file...

But jEDIT works good.
Only Eclipse based programs have this bug.

Mr. H.
Re: Biggest Eclipse bug ever about Java? [message #70226 is a reply to message #70186] Mon, 12 May 2008 15:09 Go to previous messageGo to next message
Olivier Thomann is currently offline Olivier ThomannFriend
Messages: 518
Registered: July 2009
Senior Member
Mr. Hama a écrit :
> No, I tried with simply Eclipse without PDT + PHP, and SAME bug. Cannot
> cut the end of file...
>
> But jEDIT works good.
> Only Eclipse based programs have this bug.
Then could you please open a bug report against the appropriate
component with steps to reproduce?
Thanks,
--
Olivier
Re: Biggest Eclipse bug ever about Java? - STILL [message #70266 is a reply to message #70166] Mon, 12 May 2008 19:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

Hi!

1. All Eclipse version have this bug, and without PHP/PDT too!
2. jEDIT have no this bug.
3. It's only eclipse based bug.
4. Reinstalled my PC: format, install Windows XP SP3, drivers, JRE 5, and
Eclipse: SAME THIS BUG!

Mr. Hama



Eric Rizzo wrote:

> Don't you think that if Eclipse had such a serious flaw that it would
> not be used by thousands of developers every day?
> Really, you should be asking what is possibly wrong in your environment
> rather than assume there is some HUGE bug in the world's most popular
> Java IDE.

> Anyway, I'm forwarding this on to the PDT newsgroup because you seem to
> only be using the PDT editor.

> Eric
Re: Biggest Eclipse bug ever about Java? [message #70494 is a reply to message #70166] Tue, 13 May 2008 19:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

After I'm using EC 3.3.0 this bug is starting again... and still don't
change the file size to smaller.

Good all for 1-3 times AFTER don't change file size to smaller again...

So = this bug still extist after full XP SP3 install + full clean Eclipse
install + full JRE install ...

I have clean, legal, fully reinstalled Widows XP SP3 PC and still this
bug...
(With SP2 100% same)

How can use other developers Eclipse with this fatal bug?

I use Eclipse for editing PHP + eclipse-FTP-WebDAV for FTP support...
But without eclipse-FTP-WebDAV have this bug, the pure Eclipse do same bug.

I tested with test-framework and no error found.

I do:

1. format HDD
2. install Windows XP
3. install JRE what versions needed
4. download eclipse from www.eclipse.org, extract, run
5. this bug found

PC: Intel Core 2 Duo, 2 GB ram, Asus motherboard

ALL PROGRAMS WORK CORRECTLY expect ECLIPSE!
Re: Biggest Eclipse bug ever about Java? [message #70530 is a reply to message #70494] Tue, 13 May 2008 20:02 Go to previous message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Is it possible that your hard drive is cacked? Or maybe your RAM? I've
been using Eclipse for 4 years and have never seen this, either on XP or
ubuntu.

Apologies if you already spelled this out earlier in the thread, but
what are your Eclipse memory settings (commandline or via eclipse.ini)?
I run with 2G of RAM, and Eclipse set like this:

/home/nickb/eclipse/eclipse34 -showLocation -vm
/opt/sun-java2-6.0/bin/java -data /home/nickb/eclipse/workspace2 -clean
-vmargs -Xms128M -Xmx256M -XX:PermSize=128M -XX:MaxPermSize=256M

On another 2G RAM machine, I have just these two

.... -vm /opt/sun-java2-6.0/bin/java -clean

and while it's a little slower, it still works fine. I use DSDP's Target
Management - Remote System Explorer for ftp support.
(http://www.eclipse.org/dsdp/tm/)

You could try starting up with "-consolelog -clean -debug -console
-noexit" to be able to interact with the osgi console and see if that
reveals any problems.

Nick


Mr. Hama wrote:
> After I'm using EC 3.3.0 this bug is starting again... and still don't
> change the file size to smaller.
>
> Good all for 1-3 times AFTER don't change file size to smaller again...
>
> So = this bug still extist after full XP SP3 install + full clean
> Eclipse install + full JRE install ...
>
> I have clean, legal, fully reinstalled Widows XP SP3 PC and still this
> bug... (With SP2 100% same)
>
> How can use other developers Eclipse with this fatal bug?
>
> I use Eclipse for editing PHP + eclipse-FTP-WebDAV for FTP support...
> But without eclipse-FTP-WebDAV have this bug, the pure Eclipse do same bug.
>
> I tested with test-framework and no error found.
>
> I do:
>
> 1. format HDD
> 2. install Windows XP
> 3. install JRE what versions needed
> 4. download eclipse from www.eclipse.org, extract, run
> 5. this bug found
>
> PC: Intel Core 2 Duo, 2 GB ram, Asus motherboard
>
> ALL PROGRAMS WORK CORRECTLY expect ECLIPSE!
>
>
>
Previous Topic:How to use PDT
Next Topic:XDebug remote debugging problem
Goto Forum:
  


Current Time: Thu Apr 25 04:20:18 GMT 2024

Powered by FUDForum. Page generated in 0.03407 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top