[jbosstools-issues] [JBoss JIRA] (JBIDE-11165) BrowserSIm: StringIndexOutOfBoundsException on Linux when emty URL is entered
Vlado Pakan (JIRA)
jira-events at lists.jboss.org
Mon Apr 16 12:43:18 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlado Pakan closed JBIDE-11165.
-------------------------------
Verified with JBT 3.3.0.v20120416-0912-H4623-Beta3.
> BrowserSIm: StringIndexOutOfBoundsException on Linux when emty URL is entered
> -----------------------------------------------------------------------------
>
> Key: JBIDE-11165
> URL: https://issues.jboss.org/browse/JBIDE-11165
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Visual Page Editor core
> Affects Versions: 3.3.0.Beta1
> Reporter: Yahor Radtsevich
> Assignee: Yahor Radtsevich
> Fix For: 3.3.0.Beta3
>
>
> *Steps to reproduce:*
> # Run BrowserSim on Linux
> # Remove all characters from the address bar and press Enter
> *Actual result:*
> BrowserSim closes, and the following exception is printed to the console:
> {code}
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at java.lang.String.charAt(String.java:694)
> at org.eclipse.swt.browser.WebKit.setUrl(WebKit.java:1300)
> at org.eclipse.swt.browser.Browser.setUrl(Browser.java:1061)
> at org.jboss.tools.vpe.browsersim.browser.AbstractWebKitBrowser.setUrl(AbstractWebKitBrowser.java:30)
> at org.eclipse.swt.browser.Browser.setUrl(Browser.java:1029)
> at org.jboss.tools.vpe.browsersim.ui.BrowserSim$ControlHandlerImpl.goToAddress(BrowserSim.java:540)
> at org.jboss.tools.vpe.browsersim.ui.skin.NativeSkin$1.handleEvent(NativeSkin.java:128)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
> at org.jboss.tools.vpe.browsersim.ui.BrowserSim.main(BrowserSim.java:98)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list