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 46600 - Can't create new project with the corresponding menu
Summary: Can't create new project with the corresponding menu
Status: CLOSED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: RANDOM
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-07-27 09:56 UTC by ehsavoie
Modified: 2006-03-24 10:04 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 ehsavoie 2004-07-27 09:56:47 UTC
I get an exception when I try to create a new
project. This is an extract from my log file.

-------------------------------------------------------------------------------
>Log Session: Tuesday, July 27, 2004 10:11:14 AM CEST
>System Info: 
  Product Version       = NetBeans IDE Dev (Build
200407220815)
  Operating System      = Windows XP version 5.1
running on x86
  Java; VM; Vendor      = 1.5.0-beta3; Java
HotSpot(TM) Client VM 1.5.0-beta3-b58; Sun
Microsystems Inc.
  Java Home             = C:\jdk1.5.0\jre
  System Locale; Encod. = fr_FR (nb); Cp1252
  Home Dir; Current Dir = C:\Documents and
Settings\ehugonnet; C:\netbeans-4.0
  IDE Install; User Dir =
C:\netbeans-4.0\platform4; C:\Documents and
Settings\ehugonnet\.netbeans\dev
  CLASSPATH             =
C:\netbeans-4.0\platform4\lib\boot.jar;C:\jdk1.5.0\lib\dt.jar;C:\jdk1.5.0\lib\tools.jar
  Boot & ext classpath  =
C:\jdk1.5.0\jre\lib\rt.jar;C:\jdk1.5.0\jre\lib\i18n.jar;C:\jdk1.5.0\jre\lib\sunrsasign.jar;C:\jdk1.5.0\jre\lib\jsse.jar;C:\jdk1.5.0\jre\lib\jce.jar;C:\jdk1.5.0\jre\lib\charsets.jar;C:\jdk1.5.0\jre\classes;C:\jdk1.5.0\jre\lib\ext\dnsns.jar;C:\jdk1.5.0\jre\lib\ext\localedata.jar;C:\jdk1.5.0\jre\lib\ext\sunjce_provider.jar;C:\jdk1.5.0\jre\lib\ext\sunpkcs11.jar
  Dynamic classpath     =
C:\netbeans-4.0\platform4\core\core.jar;C:\netbeans-4.0\platform4\core\openide-loaders.jar;C:\netbeans-4.0\platform4\core\openide.jar;C:\netbeans-4.0\platform4\core\org-netbeans-swing-plaf.jar;C:\netbeans-4.0\platform4\core\updater.jar;C:\netbeans-4.0\nb4.0\core\org-netbeans-upgrade.jar;C:\netbeans-4.0\nb4.0\core\locale\core_nb.jar;C:\netbeans-4.0\ide4\core\org-netbeans-modules-utilities-cli.jar
-------------------------------------------------------------------------------
Turning on modules:
	org.openide/1 [4.41 200407220815]
	org.netbeans.api.debugger/1 [1.0 200407220815]
	org.netbeans.modules.properties/1 [1.12 200407220815]
	org.openide.loaders [4.16 200407220815]
	org.netbeans.modules.settings/1 [1.5 200407220815]
	org.netbeans.swing.plaf [1.0 200407220815]
	org.netbeans.core/1 [1.24 200407220815]
	org.netbeans.modules.javahelp/1 [2.3 200407220815]
	org.openide.io [1.2 200407220815]
	org.openide.execution [1.3 200407220815]
	org.netbeans.api.java/1 [1.5 200407220815]
	org.openide.src [1.2 200407220815]
	javax.jmi.reflect/1 [1.1 200407220815]
	javax.jmi.model/1 [1.1 200407220815]
	org.netbeans.api.mdr/1 [0.986 200407220815]
	org.netbeans.jmi.javamodel/1 [0.1 200407220815]
	org.netbeans.modules.jmiutils/1 [0.83 1.0.0]
	org.netbeans.modules.mdr/1 [0.92 1.0.0]
	org.netbeans.modules.classfile/1 [1.12 200407220815]
	org.netbeans.modules.javacore/1 [1.2 200407220815]
	org.netbeans.modules.queries/0 [1.0 200407220815]
	org.netbeans.modules.java/1 [1.17 1.0.0]
	org.netbeans.tasklistapi/1 [1.11.5 5 200407220815]
	org.netbeans.modules.tasklist.core/2 [1.23.58 8
200407220815]
	org.netbeans.modules.suggestions_framework/2
[1.3.585 5 200407220815]
	org.netbeans.swing.tabcontrol [1.0 200407220815]
	org.netbeans.core.windows/2 [2.1 200407220815]
	org.netbeans.core.ui/1 [1.4 200407220815]
	org.netbeans.modules.servletapi/1 [1.4 200407220815]
	org.netbeans.modules.httpserver/1 [1.14 200407220815]
	org.netbeans.modules.schema2beans/1 [1.9
200407220815]
	org.netbeans.modules.web.monitor/1 [1.10
200407220815]
	org.netbeans.modules.editor.util/1 [1.0 200407220815]
	org.netbeans.modules.editor.fold/1 [1.0 200407220815]
	org.netbeans.modules.editor.lib/1 [1.0 200407220815]
	org.netbeans.modules.editor/2 [1.15 200407220815]
	org.netbeans.modules.properties.syntax/1 [1.11
200407220815]
	org.netbeans.api.xml/1 [1.4.3.6.0 3.6.0 200407220815]
	org.netbeans.core.output2/1 [1.0 200407220815]
	org.netbeans.modules.xml.core/2 [1.2.3.6.0 3.6.0
200407220815]
	org.netbeans.modules.xml.catalog/2 [1.2.3.6.0
3.6.0 200407220815]
	org.netbeans.core.execution/1 [1.4 200407220815]
	org.apache.tools.ant.module/3 [3.13 200407220815]
	org.netbeans.modules.j2eeapis/1 [1.1 200407220815]
	org.netbeans.modules.projectapi/0 [1.0 200407220815]
	org.netbeans.libs.j2eeeditor/1 [1.2 200407220815]
	org.netbeans.modules.j2eeserver/3 [1.2
@BUILD_NUMBER_SUBST@]
	org.netbeans.modules.j2ee.ant [1.1 200407220815]
	org.netbeans.modules.java.platform/0 [1.0
200407220815]
	org.netbeans.modules.project.ant/0 [1.0 200407220815]
	org.netbeans.modules.projectuiapi/0 [1.0 4.0.0
200407220815]
	org.openidex.util/3 [3.2 200407220815]
	org.netbeans.modules.project.libraries/0 [1.7
200407220815]
	org.netbeans.modules.java.project/0 [1.0 0.1.1]
	org.netbeans.api.web.webmodule [1.0 200407220815]
	org.netbeans.modules.ant.freeform [1.0 200407220815]
	org.netbeans.modules.extbrowser/1 [1.4 200407220815]
	org.netbeans.modules.diff/1 [1.8 promotionD
200407220815]
	org.netbeans.modules.masterfs/1 [1.2 200407220815]
	org.netbeans.modules.vcscore/1 [1.10 promotionD
200407220815]
	org.netbeans.modules.vcs.advanced/1 [1.10
200407220815]
	org.netbeans.modules.vcs.profiles.vss/1 [1.4
200407220815]
	org.netbeans.modules.tasklist.docscan/2
[1.14.5853 3 200407220815]
	org.netbeans.spi.viewmodel/1 [1.0 200407220815]
	org.netbeans.api.debugger.jpda/1 [1.0 200407220815]
	org.netbeans.modules.debugger.jpdaimpl/2 [1.11
200407220815]
	org.netbeans.spi.debugger.ui/1 [2.3 200407220815]
	org.netbeans.modules.debugger.jpda.ui/1 [1.0
200407220815]
	org.netbeans.modules.autoupdate/1 [2.10 200407220815]
	org.netbeans.modules.updatecenters/1 [1.1
200407220815]
	org.netbeans.libs.xerces/1 [1.4 2.6.0]
	org.netbeans.api.web.dd/1 [1.2 1.0]
	org.netbeans.modules.junit/2 [2.12 200407220815]
	org.netbeans.modules.ant.grammar/1 [1.6.3.6.0
200407220815]
	org.netbeans.modules.tomcat5/1 [1.1 200407220815]
	org.netbeans.modules.tomcat5.bundled/1 [1.1
200407220815]
	org.netbeans.modules.beans/1 [1.12 200407220815]
	org.netbeans.modules.html/1 [1.13 200407220815]
	org.netbeans.modules.image/1 [1.12 200407220815]
	org.netbeans.modules.xml.schema/1 [1.2.3.6.0
3.6.0 200407220815]
	org.netbeans.modules.xml.tax/2 [1.2.3.6.0 3.6.0
200407220815]
	org.netbeans.modules.xml.tools/2 [1.2.3.6.0 3.6.0
200407220815]
	org.netbeans.lib.cvsclient/1 [1.9 200407220815]
	org.netbeans.modules.vcs.profiles.cvsprofiles/1
[1.4 200407220815]
	org.netbeans.modules.usersguide/1 [1.14 200407220815]
	org.netbeans.modules.utilities/1 [1.16 200407220815]
	org.netbeans.modules.debugger.jpda.ant [1.2
200407220815]
	org.netbeans.modules.servletapi24/1 [2.0 2.0
200407220815]
	org.netbeans.modules.favorites/1 [1.6 200407220815]
	org.netbeans.modules.projectui [1.0.4.0.0
200407220815]
	org.netbeans.modules.db/1 [1.9 200407220815]
	org.netbeans.modules.utilities.project/1 [1.0
200407220815]
	org.netbeans.core.multiview/1 [1.1.4.0.0
200407220815]
	org.netbeans.modules.form/2 [1.14 200407220815]
	org.netbeans.modules.i18n/1 [1.15 200407220815]
	org.netbeans.modules.i18n.form/2 [1.13 200407220815]
	org.netbeans.modules.apisupport.ant [2.22
200407220815]
	org.netbeans.modules.refactoring/1 [0.1 200407220815]
	org.netbeans.modules.web.jspparser/2 [2.0
200407220815]
	org.netbeans.modules.xml.text/2 [1.2.3.6.0 3.6.0
200407220815]
	org.netbeans.modules.web.core.syntax/1 [1.14
200407220815]
	org.netbeans.modules.web.core/1 [1.18 200407220815]
	org.netbeans.modules.web.debug/1 [2.2 200407220815]
	org.netbeans.modules.java.j2seplatform/1 [1.0
200407220815]
	org.netbeans.modules.ant.browsetask [1.6
200407220815]
	org.netbeans.modules.servletapi23/1 [1.5
200407220815]
	org.netbeans.modules.web.project [1.1 200407220815]
	org.netbeans.modules.web.jstl11/1 [2.0 2.0
200407220815]
	org.netbeans.modules.clazz/1 [1.14 200407220815]
	org.netbeans.modules.java.j2seproject [1.0
200407220815]
	org.netbeans.modules.vcs.profiles.pvcs/1 [1.4
200407220815]
	org.netbeans.modules.welcome/1 [1.5 200407220815]
	org.netbeans.modules.xsl/1 [1.2.3.6.0 3.6.0
200407220815]
	org.netbeans.core.ide/1 [1.4 200407220815]
	org.netbeans.modules.web.examples/1 [1.0
200407220815]
	org.netbeans.modules.apisupport.project [1.0
200407220815]
	org.netbeans.upgrader [4.0 200407220815]
	org.netbeans.modules.css/2 [1.2.3.6.0 3.6.0
200407220815]
	org.netbeans.modules.applemenu/1 [1.1 200407220815]
	org.netbeans.modules.javadoc/1 [1.12 200407220815]
java.lang.SecurityException
	at
org.netbeans.TopSecurityManager.checkSystemClipboardAccess(TopSecurityManager.java:420)
	at
sun.awt.windows.WToolkit.getSystemClipboard(WToolkit.java:611)
	at
javax.swing.TransferHandler$TransferAction.getClipboard(TransferHandler.java:856)
	at
javax.swing.TransferHandler$TransferAction.actionPerformed(TransferHandler.java:822)
	at
org.netbeans.TopSecurityManager.makeSwingUseSpecialClipboard(TopSecurityManager.java:434)
	at org.netbeans.core.NonGui.run(NonGui.java:433)
	at org.netbeans.core.Main.run(Main.java:168)
	at
org.netbeans.core.NbTopManager.getNbTopManager(NbTopManager.java:232)
	at
org.netbeans.core.NbTopManager.get(NbTopManager.java:187)
	at org.netbeans.core.Main.start(Main.java:310)
	at
org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90)
	at java.lang.Thread.run(Thread.java:595)
Workplace fill is java.awt.Color[r=226,g=223,b=214]
*********** Exception occurred ************ at
10:13 AM on Jul 27, 2004
java.lang.ClassCastException:
javax.swing.text.html.HTMLDocument
	at
org.netbeans.editor.DrawEngineLineView.modelToView(DrawEngineLineView.java:294)
	at
org.netbeans.editor.DrawEngineLineView.getPreferredSpan(DrawEngineLineView.java:253)
	at
javax.swing.text.View.getMinimumSpan(View.java:264)
	at
javax.swing.plaf.basic.BasicTextUI$RootView.getMinimumSpan(BasicTextUI.java:1286)
	at
javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:858)
	at
javax.swing.JEditorPane.getScrollableTracksViewportWidth(JEditorPane.java:1356)
	at
javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1230)
	at
javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
	at java.awt.Container.layout(Container.java:1401)
	at java.awt.Container.doLayout(Container.java:1390)
	at
java.awt.Container.validateTree(Container.java:1473)
	at java.awt.Container.validate(Container.java:1448)
	at
javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
	at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
	at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
	at java.awt.Dialog$1.run(Dialog.java:515)
	at java.awt.Dialog.show(Dialog.java:536)
	at
org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:721)
	at
org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:764)
	at
org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:752)
	at
org.openide.util.Mutex.doEventAccess(Mutex.java:923)
	at org.openide.util.Mutex.readAccess(Mutex.java:158)
	at
org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:737)
	at
org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:448)
	at
org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:351)
	at
org.netbeans.modules.project.ui.actions.NewProject.actionPerformed(NewProject.java:59)
	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at
javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at
java.awt.Component.processMouseEvent(Component.java:5488)
	at
javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
	at
java.awt.Component.processEvent(Component.java:5253)
	at
java.awt.Container.processEvent(Container.java:1966)
	at
java.awt.Component.dispatchEventImpl(Component.java:3955)
	at
java.awt.Container.dispatchEventImpl(Container.java:2024)
	at
java.awt.Component.dispatchEvent(Component.java:3803)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at
java.awt.Container.dispatchEventImpl(Container.java:2010)
	at
java.awt.Window.dispatchEventImpl(Window.java:1766)
	at
java.awt.Component.dispatchEvent(Component.java:3803)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Petr Hrebejk 2004-07-27 10:49:20 UTC
This really looks like a Swing bug.
Comment 2 Petr Hrebejk 2004-07-27 10:57:39 UTC
x
Comment 3 Jesse Glick 2004-07-27 16:28:46 UTC
If it is a Swing bug, must be filed.
Comment 4 Jesse Glick 2004-07-27 16:29:22 UTC
Not known to happen to anyone else.
Comment 5 Petr Hrebejk 2004-08-17 12:33:31 UTC
Does not seem to happen to anybody else.
Comment 6 Marian Mirilovic 2005-07-12 10:12:45 UTC
closed