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 79109 - selecting 168 gif files in favorites results in 2 giga logging
Summary: selecting 168 gif files in favorites results in 2 giga logging
Status: CLOSED WORKSFORME
Alias: None
Product: utilities
Classification: Unclassified
Component: Print (show other bugs)
Version: 5.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 15:45 UTC by bartvdc
Modified: 2006-08-28 10:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The naughty images (43.06 KB, application/octet-stream)
2006-06-26 15:46 UTC, bartvdc
Details
screenshot logging (39.21 KB, application/octet-stream)
2006-06-26 15:47 UTC, bartvdc
Details
The first exception (8.62 KB, application/octet-stream)
2006-06-27 09:42 UTC, bartvdc
Details
The last cause before killing NB (51.45 KB, application/octet-stream)
2006-06-27 09:43 UTC, bartvdc
Details
repetitive part of the callstack (generated by NB 5.5 Beta) (2.18 KB, text/plain)
2006-06-28 12:14 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bartvdc 2006-06-26 15:45:45 UTC
Don't know the right components where to report.
While shift-clicking to select a few gif files (168) , NB 5.5B hangs and 
apparently starts logging a lot. I can't open the logging.
Comment 1 bartvdc 2006-06-26 15:46:48 UTC
Created attachment 31384 [details]
The naughty images
Comment 2 bartvdc 2006-06-26 15:47:27 UTC
Created attachment 31385 [details]
screenshot logging
Comment 3 bartvdc 2006-06-27 09:41:28 UTC
We tried on an other machine with the same result, the log file was 179.000KB 
and could be opened . See the first exception and the last cause in 
attachment. 

Can't reproduce it with NB5.0.
Comment 4 bartvdc 2006-06-27 09:42:28 UTC
Created attachment 31407 [details]
The first exception
Comment 5 bartvdc 2006-06-27 09:43:30 UTC
Created attachment 31408 [details]
The last cause before killing NB
Comment 6 _ rkubacki 2006-06-28 10:35:27 UTC
can't reproduce with attached images and trunk build.
Comment 7 Marian Petras 2006-06-28 11:44:36 UTC
I just reproduced it with NB 5.5 Beta. It really generated a log file very
quickly. On my notebook, it generated a 250 MB log file in less than 20 seconds.
I killed NetBeans to prevent it from growing and filling my disk space.

It does not happen in the Project window but it does happen in the Favorites window.

I am going to check whether it is specific for image files. I will also try it
in the dev. build of NB 6.0.

My configuration is: Linux (Fedora Core 4), Intel Pentium M, 1 GB RAM, JDK
1.6.0-b89.
Comment 8 Marian Petras 2006-06-28 12:12:07 UTC
The same symptom can be provoked by selecting 168 files of different type - I
tried to select 168 text files (having extension .txt and containing one line of
text) and got the same result.

This does not seem to be caused by the Image module. I suspect it is caused by
the Print module as the repetitive part of callstack generated in the log file
contains line

  ...
  at org.netbeans.modules.print.impl.action.Action.enable(Action.java:86)
  ...

I will attach the repetitive part of the callstack.

The Print module is part of the Enterprise Pack - that is probably the reason
why Radim Kubacki could not reproduce this bug in the dev. build of NB 6.0.

Reassigned to module Print for further evaluation.
Comment 9 Marian Petras 2006-06-28 12:14:54 UTC
Created attachment 31455 [details]
repetitive part of the callstack (generated by NB 5.5 Beta)
Comment 10 Vladimir Yaroslavskiy 2006-06-29 11:13:18 UTC
Not reproducible, tried with NetBeans 5.5 Dev build 200606290200 and Ent Pack
build 2006.06.29. Open folder with 168 gif files (and also ~200 txt files) and
shift-click to select all of them. Ide works fine.
Comment 11 Marian Petras 2006-07-18 09:56:16 UTC
Are you sure you selected the files in the Favorites view, not in the Projects view?

It looks bizarre that you marked this P1 bug as WORKSFORME shortly after I had
confirmed the bug is reproducible.
Comment 12 Vladimir Yaroslavskiy 2006-07-18 15:01:59 UTC
I shift-selected gif files in Favorites view, in Projects view and Files view.
Everything works fine, NetBeans doesn't hang. Verified on NetBeans 5.5, build
200607180000, Ent Pack 2006.07.17 on Windows XP.