This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255167 - Unable to open file
Summary: Unable to open file
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P1 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 10:26 UTC by czjvic
Modified: 2015-09-11 08:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (122.18 KB, text/plain)
2015-09-10 10:26 UTC, czjvic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description czjvic 2015-09-10 10:26:08 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Linux version 3.13.0-63-generic running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

I am unable to open Phone.php file from projects window (double click/right click + open)... Everytime Email.php is opened instead... This files are both in same folder. Both files has no changes. Same problem has more developers.
Comment 1 czjvic 2015-09-10 10:26:13 UTC
Created attachment 156045 [details]
IDE log
Comment 2 Jiri Kovalsky 2015-09-10 11:53:44 UTC
Can you reliably reproduce it Josefe? Is this C/C++ project type? Would it be possible to share the project privately with us? Or at least create a sample project exhibiting this behaviour? A screenshot/screencast could give us some hints too. Does it happen with 8.1 Beta or 8.1 development builds? Thanks for your report and cooperation!
Comment 3 Antonin Nebuzelsky 2015-09-10 13:20:06 UTC
(In reply to czjvic from comment #0)
> I am unable to open Phone.php file from projects window (double click/right
> click + open)... Everytime Email.php is opened instead

Only happening with these PHP files in your project?

Can you reproduce with PHP files of any other (sample) project? Or with any other file types (e.g. java)?

Is there anything special about your project setup? Any symlinks?
Comment 4 Tomas Mysik 2015-09-11 05:44:27 UTC
In the attached log, I can see [1] - this is from some 3rd party plugin. If you disable it, will it help? Anyway, without a sample project or reliable steps to reproduce, we cannot do much I am afraid (see comment #2 and comment #3 for more questions/hints).

One more hint: if you try a clean userdir and cachedir [2], will it help?

Marking as INCOMPLETE, please reopen this issue and provide feedback.
Thanks.
[1]
SEVERE [global]
java.lang.NullPointerException
	at org.czjvic.runmyscript.Utils.getCurrentFile(Utils.java:80)
	at org.czjvic.runmyscript.Utils.getCommand(Utils.java:89)
	at org.czjvic.runmyscript.RunMyScriptAction.actionPerformed(RunMyScriptAction.java:28)
	at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:199)
[2] http://wiki.netbeans.org/FaqAlternateUserdir
Comment 5 czjvic 2015-09-11 06:57:09 UTC
Hi,
It's larger PHP project.
I am unable to share it with you. The strange think is, that I am unable to reproduce... It seems to be randomly once a week, but only in my work (at home in different PHP projects it works good).
Plugin is not the reason... It's new plugin I am using 1 month, but this problem stays at least half of the year.

In the moment of this problem, I can open other files, but "Phone.php" no.
Comment 6 Tomas Mysik 2015-09-11 08:14:43 UTC
@czjvic: Could you please try hints from comment #2, comment #3 and comment #4? As I wrote, otherwise we cannot help you.

Thanks for your cooperation.