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: | [50cat] SIOOBE when libraries node is clicked for web (ajax+jsf) project | ||
---|---|---|---|
Product: | obsolete | Reporter: | claudio4j <claudio4j> |
Component: | blueprints | Assignee: | Yutaka Yoshida <yutayoshida> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
claudio4j
2005-11-16 20:33:52 UTC
=>web/project Sorry, IZ is not accepting attachments. *********** Exception occurred ************ at 6:28 PM on Nov 16, 2005 java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.substring(String.java:1776) at org.netbeans.modules.web.project.ui.customizer.WebClassPathUi$ClassPathListCellRenderer.getFileRefName(WebClassPathUi.java:249) at org.netbeans.modules.web.project.ui.customizer.WebClassPathUi$ClassPathListCellRenderer.getDisplayName(WebClassPathUi.java:155) at org.netbeans.modules.web.project.ui.customizer.WebClassPathUi$ClassPathListCellRenderer.access$100(WebClassPathUi.java:77) at org.netbeans.modules.web.project.ui.customizer.WebClassPathUi$ClassPathTableCellItemRenderer.getTableCellRendererComponent(WebClassPathUi.java:271) at javax.swing.JTable.prepareRenderer(JTable.java:5537) at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2043) at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1945) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1741) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143) at javax.swing.JComponent.paintComponent(JComponent.java:704) at javax.swing.JComponent.paint(JComponent.java:968) at javax.swing.JComponent.paintChildren(JComponent.java:805) at javax.swing.JComponent.paint(JComponent.java:977) at javax.swing.JViewport.paint(JViewport.java:740) at javax.swing.JComponent.paintChildren(JComponent.java:805) at javax.swing.JComponent.paint(JComponent.java:977) at javax.swing.JComponent.paintChildren(JComponent.java:805) at javax.swing.JComponent.paint(JComponent.java:977) at javax.swing.JComponent.paintChildren(JComponent.java:805) at javax.swing.JComponent.paint(JComponent.java:977) at javax.swing.JComponent.paintChildren(JComponent.java:805) at javax.swing.JComponent.paint(JComponent.java:977) at javax.swing.JComponent.paintChildren(JComponent.java:805) at javax.swing.JComponent.paint(JComponent.java:977) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5074) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:279) at javax.swing.RepaintManager.paint(RepaintManager.java:1079) at javax.swing.JComponent._paintImmediately(JComponent.java:5022) at javax.swing.JComponent.paintImmediately(JComponent.java:4840) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:688) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:644) at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:624) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) At project tab, right click under Libraries and 'Add Library' choose JSF and JSTL, then project proerties --> Libraries can be seen. => j2ee/blueprints This has essentially nothing to do with the type of server. Even with the Sun appserver (added before projectizing this sample), this problem occurs. The property of "javac.classpath=${textfield.jar}" in project.properties causes this problem. It refers to the jar file created only by the build. So netbeans throws this exception when the user does "properties->libraries" but there's no such library jar yet. I'm going to put a workaround for this, but I believe this should be resolved in "properties->libraries" window. fixed in: v1.2 of j2ee/external/blueprints-solutions-catalog.zip ==== fix: 68848 modified file in textfield-jsf.zip: build.xml and project.properties - remove javac.classpath and define it in build.xml ==== v. |