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 132009 - JSP editor is slow
Summary: JSP editor is slow
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: CSS (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 06:23 UTC by skalluraya
Modified: 2008-05-19 10:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
My message.log file. there is always an exception when i Press enter key and the succeeding text is not indented and if my sources files are bigger than it is very slow. (101.14 KB, text/plain)
2008-04-07 09:08 UTC, skalluraya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skalluraya 2008-04-04 06:23:14 UTC
Hi there my jsp editor is very slow i am having 1 gbram, Mac PPC G5. Initally i had 512MB Ram then in Netbeans site it was given that recommended is 1 gb so 
upgraded it to 1gb ram. But still the editor is slow. Most of the times i am getting Unexpected exception or memory out of bound exception.  can u please 
check with it.
Comment 1 novakm 2008-04-07 08:46:33 UTC
Please attach your messages.log with mentioned exceptions and describe what you did before these exceptions occured.
Comment 2 skalluraya 2008-04-07 09:08:53 UTC
Created attachment 59755 [details]
My message.log file. there is always an exception when i Press enter key and the succeeding text is not indented and if my sources files are bigger than it is very slow.
Comment 3 skalluraya 2008-04-07 09:45:09 UTC
This happens mainly when my jsp file is large. Another point is. if in an expression tag integer is given then the editor gives. Actually In a JSP Page we can 
print integer in JSP expression. May be because of this its taking more time. It shows Unnecessary error message in pages where the is an integer to be 
printed in Expression.  Sometimes it hangs. 

 The Exception which i have attached comes when i press enter key( for large Jsp Page (say more than 1000 lines).
Comment 4 skalluraya 2008-04-10 07:35:47 UTC
I Found another problem in my IDE. 
If some of the autosuggest is used for object function then IDE Hangs This happens only for some functions. For example i imported a jar file to print a data 
in excel sheet (poi-2.5.1-final-20040804.jar).It has HSSFWorkbook Class. When i create an object of this class and press '.' it gives a auto suggest of 
properties and function of that object. when i choose write() function from that it hangs. Please see to it.
Comment 5 Peter Pis 2008-05-05 10:30:44 UTC
Reassigning to "editor" for evaluation.
Comment 6 Vitezslav Stejskal 2008-05-05 11:07:29 UTC
The exceptions is most likely caused by CSS formatter. As for the frozen code completion could you please generate full
thread dump (http://wiki.netbeans.org/GenerateThreadDump) to see if there was a deadlock or what the IDE was doing. Thanks
Comment 7 skalluraya 2008-05-19 10:57:52 UTC
464 /bin/bash /Applications/NetBeans/NetBeans 6.0.1.app/Contents/MacOS/../Res
COMMAND
/bin/bash /Applications/NetBeans/NetBeans 6.0.1.app/Contents/MacOS/../Resources/NetBeans/bin/../platform7/lib/nbexec --userdir 
/Users/admin/.netbeans/6.0 --jdkhome /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home -J-
Dcom.apple.mrj.application.apple.menu.about.name=NetBeans -J-Xdock:name=NetBeans -J-Xdock:icon=/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/MacOS/../Resources/NetBeans/bin/../nb6.0/netbeans.icns --branding nb --clusters /Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/nb6.0:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/ide8:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/java1:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/xml1:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/apisupport1:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/enterprise4:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/profiler2:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/ruby1:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/visualweb1:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/soa1:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/identity1:/Applications/NetBeans/NetBeans 
6.0.1.app/Contents/Resources/NetBeans/harness:/Applications/NetBeans/NetBeans 6.0.1.app/Contents/Resources/NetBeans/cnd1: -J-
Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -J-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -J-Xmx164m -J-
Dcom.sun.aas.installRoot=/Applications/NetBeans/glassfish-v2ur1 -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-
Xverify:none -J-Dapple.laf.useScreenMenuBar=true -psn_0_2359297



org.adaptj.aN: Cannot find a jvm library
	at org.adaptj.at.a(Unknown Source)
	at org.adaptj.bz.a(Unknown Source)
	at org.adaptj.M.a(Unknown Source)
	at org.adaptj.e.a(Unknown Source)
	at org.adaptj.n.a(Unknown Source)
	at org.adaptj.aK.a(Unknown Source)
	at org.adaptj.l.a_(Unknown Source)
	at org.adaptj.bi.a(Unknown Source)
	at org.adaptj.gui.aV.a(Unknown Source)
	at org.adaptj.gui.aV.run(Unknown Source)