Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328431

Summary: Could not open the editor: Argument not valid
Product: z_Archived Reporter: B V Raghav <bvraghav>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED WORKSFORME QA Contact: Ilina Stefanova <ilina.s>
Severity: major    
Priority: P3 CC: ganoro, kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
the error log
none
eclipse configuration none

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.