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

Summary: bash shell file could not be opened in editor from files tab
Product: utilities Reporter: wshackleAtGmail
Component: Open FileAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log

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.