[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7308) VPE Part should not show exceptions but readable explanation why it cannot be loaded
Denis Golovin (JIRA)
jira-events at lists.jboss.org
Wed Mar 16 15:14:45 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-7308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588429#comment-12588429 ]
Denis Golovin commented on JBIDE-7308:
--------------------------------------
Martin, you took right version, but with current build infrastructure changes in one component might don't get into aggregated update site. Sad to say, but hat's what happened it your case. The changes are in VPE H51 build from March 11th, but for some reason it didn't get into aggregated update site from March 15th.
> VPE Part should not show exceptions but readable explanation why it cannot be loaded
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-7308
> URL: https://issues.jboss.org/browse/JBIDE-7308
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Visual Page Editor core
> Affects Versions: 3.2.0.Final
> Environment: All other platforms except supported ones:
> macosx-carbon-x86
> macosx-cocoa-x86
> win32-win32-x86
> linux-gtk-x86
> linux-gtk-x86_64
> Reporter: Denis Golovin
> Assignee: Yahor Radtsevich
> Labels: usability
> Fix For: 3.2.1, 3.3.0.M1
>
> Attachments: JBIDE-7308-2.patch, resolved-screenshot-1.png, screenshot19.png, XL-x86_64-1.png, XL-x86_64-2.png
>
>
> Exceptions related to loading xulrunner should be handled right way. Human friendly messages would be good here for usecases we know. VPE should check for current platform and if it is not supported do not scary users with exceptions. It should try to load XL just in case path to XL injected outside through System property, but show explanation instead of just exception. Something like:
> "Current platform ${os}-${ws}-${arch} is not supported. To find list of supported platforms and possible workarounds. please read this article on JBoss Tools Community Portal". If someone is trying to inject XULRunner implementation using system property it can say, That "Visual Editor tried to load XL from provided loaction ${pathToXulrunner} but it failed with exception, please find it in Eclipse Error Log View".
> We could also have check box to remove VE related parts from editor:
> "[x] Open only source part of Visual Editor".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list