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 78189 - "Run Project" throws exception
Summary: "Run Project" throws exception
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 20:03 UTC by geng
Modified: 2006-06-17 02:32 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 geng 2006-06-16 20:03:43 UTC
"New Project" -> "C/C++ Project with Existing Makefile" -> (Project Name and 
Location) Next -> (Bild Actions) Next -> (Source File Folders) add path 
to "litesql-0.3.2" sorce folder
From speed menu on created project run "Run Project" -> following exception 
throws:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:558)
	at org.netbeans.modules.cnd.api.utils.IpeUtils.isPathAbsolute
(IpeUtils.java:559)
	at org.netbeans.modules.cnd.makeproject.MakeActionProvider.addAction
(MakeActionProvider.java:264)
	at org.netbeans.modules.cnd.makeproject.MakeActionProvider.invokeAction
(MakeActionProvider.java:161)
	at 
org.netbeans.modules.project.ui.actions.ProjectAction.actionPerformed
(ProjectAction.java:90)
	at 
org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed
(LookupSensitiveAction.java:100)
	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)
[catch] 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 Thomas Preisler 2006-06-17 02:26:39 UTC
Fixed. Added a check for no output specified.
Comment 2 Thomas Preisler 2006-06-17 02:27:30 UTC
fixed
Comment 3 Thomas Preisler 2006-06-17 02:32:48 UTC
fixed