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.
Summary: | org.openide.text.DataEditorSupport$Env$ME: The file Morpha.java seems to be too large (3 Mb) to safely open. Opening the file could cause OutOfMemoryError, which would make the IDE unusable. Do you r | ||
---|---|---|---|
Product: | javascript | Reporter: | shunbul |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmirilovic, ppisl, rgw21 |
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 133805 |
Attachments: | stacktrace |
Description
shunbul
2011-05-26 19:36:18 UTC
Created attachment 108539 [details]
stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=133805 The exception is just regular IOException (or rather UserQuestionException). It requires special handling, presenting the dialog to user, etc. Few calls are comming from 3rd party code: gianlucacosta86.easypmd2.ide.IdeScanner.scan Some calls are from: org.openide.text.DataEditorSupport.openDocument(DataEditorSupport.java:493) org.netbeans.modules.java.hints.analyzer.Analyzer$1.run(Analyzer.java:138) Another comes from mobility org.netbeans.modules.vmd.api.model.Debug.error(Debug.java:155) Probably only the Analyzer will ever be fixed, so passing to Jan. java.hints: http://hg.netbeans.org/jet-main/rev/52061c0194fd release701: http://hg.netbeans.org/releases/rev/444929911025 Passing to mobility for the vmd support. Petr, there are also some exceptions that might be related to JavaScript support. Mobility: http://hg.netbeans.org/jet-main/rev/667309398e7d Waiting for integration to releases in order to be transplanted into 7.0.1 Passing to JavaScript support. integrated into release 701: http://hg.netbeans.org/releases/rev/5cdca780546e Integrated into 'main-golden', will be available in build *201105310954* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/52061c0194fd User: Jan Lahoda <jlahoda@netbeans.org> Log: #198930: auto-open large files. Integrated into 'main-golden', will be available in build *201106010401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/52061c0194fd User: Jan Lahoda <jlahoda@netbeans.org> Log: #198930: auto-open large files. Integrated into 'main-golden', will be available in build *201106021001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/52061c0194fd User: Jan Lahoda <jlahoda@netbeans.org> Log: #198930: auto-open large files. Needs to be fixed the JS part. Why is this considered a "Javascript" product problem? My exception happens on a very large (25k lines) previously generated Java file. I saw a comment that EasyPMD2 was in a stack trace. I, too, have EasyPMD2 installed! That plugin scans Java code for weak coding practices. I always encounter this problem the first time I open a project with a new NB version - not sure if I see it subsequently. I saw it after running 7.1 RC1 for the first time and again when I just started RC2. Raising it to P2 since it makes NB look pretty lame to have it throw up like this on an initial project scan. Petr Pisl, could you please evaluate this issue today ? Thanks in advance. From the JS side, it's ok. Fixed in parsing infrastructure in NB 7.1. There are not any reports after NB 7.1 . Closing this issue as fixed. |