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 9008 - Help / Contents / Find -- infinite loop of exceptions
Summary: Help / Contents / Find -- infinite loop of exceptions
Status: CLOSED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P4 normal (vote)
Assignee: issues@usersguide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-03 16:17 UTC by Mike Hanafey
Modified: 2003-07-01 15:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hanafey 2001-01-03 16:17:42 UTC
Open Help / Contents. Did a Find on "fonts". Left clicked on found items
in the left pane. After going down the list 3 or 4 times, clicked on the
"Legal Notices" item (the last one), I get an infinite loop of exceptions like:

% java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at javax.swing.text.BoxView.updateLayoutArray(BoxView.java:147)
        at javax.swing.text.BoxView.replace(BoxView.java:125)
        at javax.swing.text.View.append(View.java:398)
        at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:419)
        at javax.swing.text.FlowView.layout(FlowView.java:182)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.text.BoxView.layout(BoxView.java:600)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.text.BoxView.layout(BoxView.java:600)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at
javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1450)
        at javax.swing.plaf.basic.BasicTextUI.damageRange(BasicTextUI.java:951)
        at javax.swing.plaf.basic.BasicTextUI.damageRange(BasicTextUI.java:932)
        at
javax.swing.text.DefaultHighlighter.addHighlight(DefaultHighlighter.java:110)
        at
javax.help.plaf.basic.BasicContentViewerUI.highlightsChanged(BasicContentViewerUI.java:450)
        at
javax.help.plaf.basic.BasicContentViewerUI.propertyChange(BasicContentViewerUI.java:286)
        at
javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:153)
        at javax.swing.JComponent.firePropertyChange(JComponent.java:3721)
        at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:488)


Here is the top of system/log.ide:

-------------------------------------------------------------------------------
>Log Session: Wednesday, January 3, 2001 9:44:48 AM EST
>System Info:
  Product Version          = Forte(tm) for Java(tm), release 2.0, Internet Editi
on (Build 1160)
  IDE Versioning           = IDE/1 spec=1.1.0.1 impl=Build 1160
  Operating System         = SunOS Version 5.7 Running on sparc
  Java Version             = 1.3.0_01
  Java VM Version          = Java HotSpot(TM) Client VM 1.3.0_01
  Java Vendor              = Sun Microsystems Inc.
  Java Vendor URL          = http://java.sun.com/
  Java Home                = /apps/java1.3/jre
  Java Class Version       = 47.0
  System Locale            = en
  JIT                      = unknown or not used
  Home Dir                 = /home/mkh
  Current Directory        = /home/mkh
  Forte for Java Home      = /apps/forte4jie
  Forte for Java User Home = /home/mkh/forte4j_user
  System Directory         = /home/mkh/forte4j_user/system
  CLASSPATH                = /home/mkh/forte4j_user/lib:/apps/forte4jie/lib/patc
hes/openide-compat.jar:/apps/forte4jie/lib/ext/AbsoluteLayout.jar:/apps/forte4ji
e/lib/ext/bsh-1_0-fj.jar:/apps/forte4jie/lib/ext/cmd.jar:/apps/forte4jie/lib/ext
/corbaext.jar:/apps/forte4jie/lib/ext/cosnaming.jar:/apps/forte4jie/lib/ext/ddl.
jar:/apps/forte4jie/lib/ext/fjscript.jar:/apps/forte4jie/lib/ext/flute.jar:/apps
/forte4jie/lib/ext/fscontext.jar:/apps/forte4jie/lib/ext/icebrowserlitebean.jar:
/apps/forte4jie/lib/ext/idlcompilers.jar:/apps/forte4jie/lib/ext/jaas.jar:/apps/
forte4jie/lib/ext/javac.jar:/apps/forte4jie/lib/ext/jaxp.jar:/apps/forte4jie/lib
/ext/jh.jar:/apps/forte4jie/lib/ext/jndi.jar:/apps/forte4jie/lib/ext/ldap.jar:/a
pps/forte4jie/lib/ext/ldapbp.jar:/apps/forte4jie/lib/ext/logger.jar:/apps/forte4
jie/lib/ext/nis.jar:/apps/forte4jie/lib/ext/parser.jar:/apps/forte4jie/lib/ext/p
bembeddedeval.jar:/apps/forte4jie/lib/ext/providerutil.jar:/apps/forte4jie/lib/e
xt/regexp.jar:/apps/forte4jie/lib/ext/rmiregistry.jar:/apps/forte4jie/lib/ext/sa
c.jar:/apps/forte4jie/lib/ext/servlet.jar:/apps/forte4jie/lib/ext/jdbc20x.zip:/a
pps/forte4jie/lib:/apps/forte4jie/lib/developer.jar:/apps/forte4jie/lib/openide.
jar:/apps/forte4jie/lib/updater.jar:/apps/java1.3/lib/dt.jar:/apps/java1.3/lib/t
ools.jar
-------------------------------------------------------------------------------
[INFO] Newly installed modules: com.sun.forte4j.modules.pointbase/1 (1.0.1/1160)
; org.netbeans.modules.clazz/1 (1.2.1/1160); org.netbeans.modules.db/1 (1.2.1/11
60); com.sun.forte4j.modules.dbmodel.jdbcimpl/1 (1.0.0/1160); org.netbeans.modul
es.filecopy/1 (1.2.1/1160); org.netbeans.modules.html/1 (1.2.1/1160); org.netbea
ns.modules.httpserver/1 (1.2.1/1160); org.netbeans.modules.icebrowser/1 (1.2.1/1
160); org.netbeans.modules.image/1 (1.2.1/1160); org.netbeans.modules.jndi/1 (1.
2.1/1160); org.netbeans.modules.properties/1 (1.2.1/1160); org.netbeans.modules.
text/1 (1.2.1/1160); org.netbeans.modules.usersguide/1 (1.2.1/1160); org.netbean
s.modules.xml/1 (1.3.1/1160); org.openidex.util/1 (1.2.1/1160); org.netbeans.mod
ules.autoupdate/1 (1.3.1/1160); org.netbeans.modules.debugger.core/1 (1.2.5/1160
); org.netbeans.modules.applet/1 (1.2.1/1160); org.netbeans.modules.debugger.deb
ug/1 (1.4.1/1160); org.netbeans.modules.debugger.jpda/1 (1.4.1/1160); org.netbea
ns.modules.editor/1 (1.4.1/1160); org.netbeans.modules.jarpackager/1 (1.2.1/1160
); org.netbeans.modules.java/1 (1.2.1/1160); com.sun.forte4j.persistence.interna
l.ui/1 (1.0/1160); org.netbeans.modules.beans/1 (1.2.1/1160); org.netbeans.modul
es.corba/1 (1.2.1/1160); org.netbeans.modules.form/1 (1.2.1/1160); org.netbeans.
modules.i18n/1 (1.2.1/1160); org.netbeans.modules.javadoc/1 (1.2.1/1160); org.ne
tbeans.modules.jdbc/1 (1.0.10/1160); org.netbeans.modules.objectbrowser/1 (1.2.1
/1160); org.netbeans.modules.projects/1 (1.2.1/1160); org.netbeans.modules.utili
ties/1 (1.2.1/1160); org.netbeans.modules.rmi/1 (1.2.1/1160); org.netbeans.modul
es.vcs.cmdline/1 (1.3.1/1160); com.sun.teamware.module/1 (7.0/7.0); org.netbeans
.modules.vcs.advanced/1 (1.3.1/1160); org.netbeans.modules.web.core/1 (1.1.3/116
0); org.netbeans.modules.web.ie/1 (1.2.1/1160)
[WARNING] cannot load bean org.netbeans.examples.lib.timerbean.Timer
java.lang.reflect.InvocationTargetException: java.awt.IllegalComponentStateExcep
tion: This component must have a parent in order to determine its locale
        at java.awt.Component.getLocale(Component.java:1142)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.netbeans.modules.form.RADComponent.getPropertyValue(RADComponent.
java:647)
        at org.netbeans.modules.form.RADComponent$RADPropertyImpl.getValue(RADCo
mponent.java:830)
        at org.netbeans.modules.form.RADComponent.setInstance(RADComponent.java:
152)
        at org.netbeans.modules.form.RADComponent$RADPropertyImpl.getValue(RADCo
mponent.java:830)
        at org.netbeans.modules.form.RADComponent.setInstance(RADComponent.java:
152)
        at org.netbeans.modules.form.RADVisualContainer.setInstance(RADVisualCon
tainer.java:49)
        at org.netbeans.modules.form.RADComponentNode$InstancePaste.paste(RADCom
ponentNode.java:715)
        at org.openide.actions.PasteAction.performAction(PasteAction.java:109)
        at org.openide.actions.PasteAction$ActSubMenuModel.performActionAt(Paste
Action.java:195)
        at org.openide.awt.Actions$SubMenuBridge$ISubActionListener.actionPerfor
med(Actions.java:503)
        at org.openide.awt.Actions$SubMenu.doClick(Actions.java:773)
        at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
d(BasicMenuItemUI.java:886)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1165)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1214)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452
)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2217)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
        at java.awt.Container.dispatchEventImpl(Container.java:1201)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
3)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
path="" :jsp: init
java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at javax.swing.text.BoxView.updateLayoutArray(BoxView.java:146)
        at javax.swing.text.BoxView.replace(BoxView.java:125)
        at javax.swing.text.View.append(View.java:398)
        at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:419)
        at javax.swing.text.FlowView.layout(FlowView.java:182)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.text.BoxView.layout(BoxView.java:600)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.text.BoxView.layout(BoxView.java:600)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:
1450)
        at javax.swing.plaf.basic.BasicTextUI.damageRange(BasicTextUI.java:951)
        at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:
1450)
        at javax.swing.plaf.basic.BasicTextUI.damageRange(BasicTextUI.java:951)
        at javax.swing.plaf.basic.BasicTextUI.damageRange(BasicTextUI.java:932)
        at javax.swing.text.DefaultHighlighter.addHighlight(DefaultHighlighter.j
ava:110)
        at javax.help.plaf.basic.BasicContentViewerUI.highlightsChanged(BasicCon
tentViewerUI.java:450)
        at javax.help.plaf.basic.BasicContentViewerUI.propertyChange(BasicConten
tViewerUI.java:286)
        at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(Swing
PropertyChangeSupport.java:153)
        at javax.swing.JComponent.firePropertyChange(JComponent.java:3721)
        at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:488)
*********** Exception occurred ************
Wed Jan 03 10:32:20 EST 2001java.lang.ArrayIndexOutOfBoundsException: null
java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at javax.swing.text.BoxView.updateLayoutArray(BoxView.java:147)
        at javax.swing.text.BoxView.replace(BoxView.java:125)
        at javax.swing.text.View.append(View.java:398)
        at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:419)
        at javax.swing.text.FlowView.layout(FlowView.java:182)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.text.BoxView.layout(BoxView.java:600)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.text.BoxView.layout(BoxView.java:600)
        at javax.swing.text.BoxView.setSize(BoxView.java:265)
        at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:11
69)
        at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:523)
        at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:657)
        at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:636)
        at javax.swing.JComponent.paintComponent(JComponent.java:398)
        at javax.swing.JComponent.paint(JComponent.java:739)
        at javax.swing.JComponent.paintChildren(JComponent.java:523)
        at javax.swing.JComponent.paint(JComponent.java:748)
        at javax.swing.JViewport.paintViaBackingStore(JViewport.java:567)
        at javax.swing.JViewport.paint(JViewport.java:703)
        at javax.swing.JComponent.paintChildren(JComponent.java:523)
        at javax.swing.JComponent.paint(JComponent.java:748)
        at javax.swing.JComponent.paintWithBuffer(JComponent.java:4393)
        at javax.swing.JComponent._paintImmediately(JComponent.java:4336)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4187)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
        at org.netbeans.core.windows.PinRepaintRM.paintDirtyRegions(PinRepaintRM
.java:75)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:205)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
Comment 1 Jesse Glick 2001-01-04 14:42:59 UTC
Looks like a Java platform (Swing text) bug to me, potentially triggered by some
malformed HTML or something...

(BTW next time please include log files as a Bugzilla attachment so the
description doesn't get so long--thanks)
Comment 2 Patrick Keegan 2001-01-09 17:18:59 UTC
I'm running on Windows NT and do not have this problem.

Also, this is not a problem for CE, because no Legal Notices are captured by
the search.

In any event, Legal Notices (credits.html) probably should not be captured by
search databases, and it looks like they were for a few of the IE modules. In
future releases, the build script will explicitly omit files names credits.html
from inclusion in the search databases.
Comment 3 Patrick Keegan 2001-04-24 15:08:06 UTC
credits.html files now omitted from searches in builds scripts
Comment 4 Quality Engineering 2003-07-01 15:20:50 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 15:24:52 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.