Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328431 - Could not open the editor: Argument not valid
Summary: Could not open the editor: Argument not valid
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 03:18 EDT by B V Raghav CLA
Modified: 2020-05-14 11:39 EDT (History)
2 users (show)

See Also:


Attachments
the error log (4.90 KB, text/plain)
2010-10-22 03:20 EDT, B V Raghav CLA
no flags Details
eclipse configuration (423.51 KB, text/plain)
2010-10-22 03:22 EDT, B V Raghav CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description B V Raghav CLA 2010-10-22 03:18:07 EDT
Build Identifier: 20100917-0705

History:
----------------------
After installing the Mylyn plugin, I got this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=323099

As suggested, I updated the pdt. and got a problem similar to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=282218

Actual Problem
------------------------------
A php file with html tags, too many, <?php ?> seems to have this problem
Specifically, if I have 
<style><!-- <?php require ($styles_filename); ?> --></style>

The editor crashes!! The syntax highlighting goes off and the code assist, highlighting etc and other features of the editor start going on and off without any noticable pattern.

The moment I remove the <?php ?> tags from within the "style" markup, the error vanishes! and closing and reopening the file gets the editor back to normal.


Reproducible: Always

Steps to Reproduce:
1.update the PDT to the release as on date
2.use <?php ?> within the style markup and start coding within
3.remove the <?php ?> along with the coding within, save, close and reopen the file
Comment 1 B V Raghav CLA 2010-10-22 03:20:30 EDT
Created attachment 181468 [details]
the error log
Comment 2 B V Raghav CLA 2010-10-22 03:22:25 EDT
Created attachment 181469 [details]
eclipse configuration

The Eclipse PDT Configuration, where I identified the bug
Comment 3 Roy Ganor CLA 2010-10-24 04:14:47 EDT
(In reply to comment #2)
> Created an attachment (id=181469) [details]
> eclipse configuration
> 
> The Eclipse PDT Configuration, where I identified the bug

Hi, although I tried several times to reproduce this I can't.
Can you provide (structured) steps to reproduce it? I followed the steps and everything went ok so it may be fixed already...
Comment 4 B V Raghav CLA 2010-10-24 22:57:55 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=181469) [details] [details]
> > eclipse configuration
> > 
> > The Eclipse PDT Configuration, where I identified the bug
> 
> Hi, although I tried several times to reproduce this I can't.
> Can you provide (structured) steps to reproduce it? I followed the steps and
> everything went ok so it may be fixed already...

Hi...

I reinstalled the eclipse php and resetup my environment... And luckily (or unluckily) for the time being I am not able to reproduce the behaviour either.

Will report again with details if the behaviour persists.

Thanks. resolved for now.
r
Comment 5 Roy Ganor CLA 2010-10-25 02:53:36 EDT
seems like an issue that has been already fixed in latest releases
Comment 6 Kalin CLA 2011-07-27 03:31:52 EDT
Verified.
No longer reproducible.