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 252084 - Net Beans crashes if I try to view either of 2 particular files
Summary: Net Beans crashes if I try to view either of 2 particular files
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0.2
Hardware: PC Windows 8 x64
: P1 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 19:38 UTC by swissmant
Modified: 2015-05-01 18:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The first file which causes a crash. (626 bytes, application/octet-stream)
2015-04-24 19:38 UTC, swissmant
Details
Second file which causes a crash (957 bytes, application/octet-stream)
2015-04-24 19:39 UTC, swissmant
Details
Log file 2 (123.52 KB, application/octet-stream)
2015-04-27 15:20 UTC, swissmant
Details
Log file 1 (125.20 KB, application/octet-stream)
2015-04-27 15:20 UTC, swissmant
Details
Log file (38.57 KB, application/octet-stream)
2015-04-27 15:20 UTC, swissmant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swissmant 2015-04-24 19:38:48 UTC
Created attachment 153380 [details]
The first file which causes a crash.

I've just installed a fresh install of Laravel 5 framework and am trying to edit a couple of configuration files (php files). Whenever I try to open up either in NetBeans, the file appears but when I try to click into the code to edit, NetBeans will not show the 'edit' i-beam and then just hangs. NetBeans will just sit there - I cannot click on any other NetBeans functions. 

It makes no difference if I have other files open or not.

Task Manager then shows a large amount of CPU processing for NetBeans and this fluctuates if I leave it sitting there (between 25%-30%). I have left it 10 minutes before using 'End task' in Task Manager to end it. Other CPU processes bring the total up to 65-70%, so it is not a memory issue. I can also open other files with no problem.

I tried copying one of the files in case it had been corrupted, but it did not make any difference. 

I ran AVG virus checker on the files, but no difference.

Net Beans does not show an exception when I start it up next so I cannot report the error through NetBeans IDE.
Comment 1 swissmant 2015-04-24 19:39:36 UTC
Created attachment 153381 [details]
Second file which causes a crash
Comment 2 Tomas Mysik 2015-04-27 05:47:44 UTC
We need your IDE log [1]. Please reopen and attach it, thanks.

[1] http://wiki.netbeans.org/FaqLogMessagesFile
Comment 3 swissmant 2015-04-27 15:20:00 UTC
Created attachment 153408 [details]
Log file 2
Comment 4 swissmant 2015-04-27 15:20:24 UTC
Created attachment 153409 [details]
Log file 1
Comment 5 swissmant 2015-04-27 15:20:38 UTC
Created attachment 153410 [details]
Log file
Comment 6 Tomas Mysik 2015-04-28 07:35:55 UTC
There is no information about any crash in the attached log files. Could you please check whether file [1] exists? If yes, please follow [2]. However, you should definitely update your JDK to the latest Oracle JDK 8. If it does not help, you can also try to use a new userdir [3].

Thanks.
[1] C:\Users\Anthony\AppData\Roaming\NetBeans\8.0.1\var\log\heapdump.hprof
[2] http://wiki.netbeans.org/FaqMemoryDump
[3] http://wiki.netbeans.org/FaqAlternateUserdir
Comment 7 swissmant 2015-05-01 17:58:44 UTC
I updated to latest version of JDK, but problem still exists. Strange that it is only those 2 files. I don't recall ever having this problem with other files.