[
http://jira.jboss.com/jira/browse/JBIDE-1978?page=comments#action_12406152 ]
Snjezana Peco commented on JBIDE-1978:
--------------------------------------
This is a general problem when adding resources to a jar file. Resources have to be loaded
using a classloader in that case.
Eclipse's way is to add resources to the plugin's build properties and load them
using Eclipse bundle engine (like it was done in the VpeTemplateFileList.getFilePath
method).
Adding resources to the build.properties of the org.jboss.tools.vpe plugin will fix this
issue, but resources will be in two places: in the jar file and in the root of the
plugin.
We probably need to choose one of these methods to access resources.
VPE doesn't work at all in the latest build.
--------------------------------------------
Key: JBIDE-1978
URL:
http://jira.jboss.com/jira/browse/JBIDE-1978
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1
Environment: Build 200803312120-nightly
WinXP
Reporter: Anton Klimkovich
Assigned To: Maxim Areshkau
Priority: Critical
Fix For: 2.1.0.beta1
Attachments: exception.txt, exception1.txt, exception2.txt, exception3.txt,
VPEisBroken.PNG, VPEisBroken2.PNG
EXECUTE: Create JSFKickStart project or JSFwithFaceletsKickStart project or Seam project
EXECUTE: Open inputUserName.jsp or any othe page (jsp, xhtml)
ASSERT: JBoss Editor is opened on Visual/Source tab without any exceptions
FAILURE: java.lang.IllegalArgumentException: Message parameter cannot be null
Full log attached.
java.lang.NullPointerException
EXECUTE: Set cursor to Source part
FAILURE: java.lang.NullPointerException
at
org.jboss.tools.vpe.editor.toolbar.format.FormatControllerManager.getFormatTemplateForTag(FormatControllerManager.java:227)
EXECUTE: Swith to different tabs.
FAILURE: Also a lot of different exceptions fall.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira