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 254817 - bash shell file could not be opened in editor from files tab
Summary: bash shell file could not be opened in editor from files tab
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 14:05 UTC by wshackleAtGmail
Modified: 2015-09-04 15:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (271.12 KB, text/x-log)
2015-08-28 14:05 UTC, wshackleAtGmail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wshackleAtGmail 2015-08-28 14:05:30 UTC
Created attachment 155722 [details]
messages.log

Double clicking a file in the files tab named "build_crclj.sh" seemed to have no effect.

This occurred when running dev build 201508280002 on Ubuntu 14.04.

After a few minutes I tried again and it worked as expected. So I suspect it will be difficult to reproduce but perhaps the log will offer some clues.



The IDE Log had the following:


WARNING [org.openide.loaders.FolderChildren..home.shackle.java4cpp.src.test.resources]: Attempt to obtain DataObject for /home/shackle/java4cpp/src/test/resources/build_crclj.sh@485bfc32:5882fdb5 from EDT
INFO [org.openide.loaders.FolderChildren..home.shackle.java4cpp.src.test.resources]: Ineffective since #199391 was implemented
java.lang.Exception: Find for /home/shackle/java4cpp/src/test/resources/build_crclj.sh@485bfc32:5882fdb5
	at org.openide.loaders.FolderChildren$DelayedLkp.convert(FolderChildren.java:607)

...

See attachment for full log.
Comment 1 Jiri Kovalsky 2015-08-28 14:43:04 UTC
Reassigning for further evaluation.
Comment 2 Jaroslav Havlin 2015-09-04 15:58:08 UTC
I could not reproduce this bug. When I opened .sh file with deactivated C/C++ plugin, the plugin was activated and the file shown (with syntax highlighting for shell scripts).
After completely removing the C/C++ plugin, the file was opened as well, just without the highlighting. 

> So I suspect it will be difficult to reproduce
You are right :-) 

> but perhaps the log will offer some clues.
Unfortunately, I have no idea what could be wrong.
(The warning from IDE Log should not prevent the file from being opened.)

Thank you for reporting.