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 208966 - org.openide.text.DataEditorSupport$Env$ME: The file CinxiWebServiceStub.java seems to be too large (1 Mb) to safely open. Opening the file could cause OutOfMemoryError, which would make the IDE unusa
Summary: org.openide.text.DataEditorSupport$Env$ME: The file CinxiWebServiceStub.java ...
Status: RESOLVED DUPLICATE of bug 206876
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 18:47 UTC by twolf2919
Modified: 2012-03-01 17:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146949


Attachments
stacktrace (3.73 KB, text/plain)
2012-02-28 18:47 UTC, twolf2919
Details

Note You need to log in before you can comment on or make changes to this bug.
Description twolf2919 2012-02-28 18:47:18 UTC
Build: NetBeans IDE Dev (Build 201202240400)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02-402, Java(TM) SE Runtime Environment, 1.6.0_29-b11-402-11D50
OS: Mac OS X

User Comments:
GUEST: IDE reports it is "Refreshing indices"

kolen: Opened Tools->Options

GUEST: Starting NetBeans for the first time; importing settings from 6.5.

GUEST: Initial project scanning after opening IDE (large project)

GUEST: Just opened project.... Indexing on the project path was running.

twolf2919: I was doing a Find Usages and got this exception (again - it seems like Netbeans still can't handle large generated java files.  I have an 8GB system with over 4GB free and available to NB - so why can't it handle this file.




Stacktrace: 
org.openide.text.DataEditorSupport$Env$ME: The file CinxiWebServiceStub.java seems to be too large (1 Mb) to safely open. 
Opening the file could cause OutOfMemoryError, which would make the IDE unusable. Do you really want to open it?
   at org.openide.text.DataEditorSupport$Env.inputStream(DataEditorSupport.java:881)
   at org.openide.text.CloneableEditorSupport.loadDocument(CloneableEditorSupport.java:2117)
   at org.openide.text.CloneableEditorSupport.access$2800(CloneableEditorSupport.java:129)
   at org.openide.text.CloneableEditorSupport$Listener.run(CloneableEditorSupport.java:2920)
   at org.openide.text.CloneableEditorSupport$3.doRun(CloneableEditorSupport.java:722)
   at org.openide.text.CloneableEditorSupport$3.run(CloneableEditorSupport.java:689)
Comment 1 twolf2919 2012-02-28 18:47:20 UTC
Created attachment 116190 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-03-01 17:38:30 UTC
Coming from:

gianlucacosta86.easypmd2.ide.editor.GuardedSectionsAnalyzer.(GuardedSectionsAnalyzer.java:0)
gianlucacosta86.easypmd2.ide.IdeScanner.scan(IdeScanner.java:0)

same cause as bug 206876.

*** This bug has been marked as a duplicate of bug 206876 ***