[JBoss JIRA] (JBIDE-17738) NPE in org.jboss.tools.common.web.WebUtil
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17738?page=com.atlassian.jira.plugi... ]
Alexey Kazakov closed JBIDE-17738.
----------------------------------
> NPE in org.jboss.tools.common.web.WebUtil
> -----------------------------------------
>
> Key: JBIDE-17738
> URL: https://issues.jboss.org/browse/JBIDE-17738
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 4.2.0.Beta3
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 4.2.0.Beta3
>
>
> {code}
> org.jboss.tools.common.validation.JBTValidationException
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:123)
> at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
> at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.common.web.WebUtils.getWebRootFolders(WebUtils.java:128)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:83)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:87)
> at org.jboss.tools.jst.web.kb.internal.validation.WebValidator.shouldFileBeValidated(WebValidator.java:70)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:273)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validate(ELValidator.java:204)
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:118)
> ... 3 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17738) NPE in org.jboss.tools.common.web.WebUtil
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17738?page=com.atlassian.jira.plugi... ]
Alexey Kazakov resolved JBIDE-17738.
------------------------------------
Resolution: Done
> NPE in org.jboss.tools.common.web.WebUtil
> -----------------------------------------
>
> Key: JBIDE-17738
> URL: https://issues.jboss.org/browse/JBIDE-17738
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 4.2.0.Beta3
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 4.2.0.Beta3
>
>
> {code}
> org.jboss.tools.common.validation.JBTValidationException
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:123)
> at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
> at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.common.web.WebUtils.getWebRootFolders(WebUtils.java:128)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:83)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:87)
> at org.jboss.tools.jst.web.kb.internal.validation.WebValidator.shouldFileBeValidated(WebValidator.java:70)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:273)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validate(ELValidator.java:204)
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:118)
> ... 3 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17738) NPE in org.jboss.tools.common.web.WebUtil
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-17738:
--------------------------------------
Summary: NPE in org.jboss.tools.common.web.WebUtil
Key: JBIDE-17738
URL: https://issues.jboss.org/browse/JBIDE-17738
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.2.0.Beta3
Reporter: Alexey Kazakov
{code}
org.jboss.tools.common.validation.JBTValidationException
at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:123)
at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NullPointerException
at org.jboss.tools.common.web.WebUtils.getWebRootFolders(WebUtils.java:128)
at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:83)
at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:87)
at org.jboss.tools.jst.web.kb.internal.validation.WebValidator.shouldFileBeValidated(WebValidator.java:70)
at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:273)
at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validate(ELValidator.java:204)
at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:118)
... 3 more
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17738) NPE in org.jboss.tools.common.web.WebUtil
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17738?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-17738:
-----------------------------------
Fix Version/s: 4.2.0.Beta3
> NPE in org.jboss.tools.common.web.WebUtil
> -----------------------------------------
>
> Key: JBIDE-17738
> URL: https://issues.jboss.org/browse/JBIDE-17738
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 4.2.0.Beta3
> Reporter: Alexey Kazakov
> Fix For: 4.2.0.Beta3
>
>
> {code}
> org.jboss.tools.common.validation.JBTValidationException
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:123)
> at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
> at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.common.web.WebUtils.getWebRootFolders(WebUtils.java:128)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:83)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:87)
> at org.jboss.tools.jst.web.kb.internal.validation.WebValidator.shouldFileBeValidated(WebValidator.java:70)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:273)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validate(ELValidator.java:204)
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:118)
> ... 3 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17738) NPE in org.jboss.tools.common.web.WebUtil
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17738?page=com.atlassian.jira.plugi... ]
Alexey Kazakov reassigned JBIDE-17738:
--------------------------------------
Assignee: Alexey Kazakov
> NPE in org.jboss.tools.common.web.WebUtil
> -----------------------------------------
>
> Key: JBIDE-17738
> URL: https://issues.jboss.org/browse/JBIDE-17738
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: common/jst/core
> Affects Versions: 4.2.0.Beta3
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Fix For: 4.2.0.Beta3
>
>
> {code}
> org.jboss.tools.common.validation.JBTValidationException
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:123)
> at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
> at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.common.web.WebUtils.getWebRootFolders(WebUtils.java:128)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:83)
> at org.jboss.tools.jst.web.WebUtils.getWebRootFolders(WebUtils.java:87)
> at org.jboss.tools.jst.web.kb.internal.validation.WebValidator.shouldFileBeValidated(WebValidator.java:70)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validateFile(ELValidator.java:273)
> at org.jboss.tools.jst.web.kb.internal.validation.ELValidator.validate(ELValidator.java:204)
> at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:118)
> ... 3 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17735) JAX-RS Application wizard: double comments in generated class
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17735?page=com.atlassian.jira.plugi... ]
Xavier Coulon reassigned JBIDE-17735:
-------------------------------------
Assignee: Xavier Coulon
> JAX-RS Application wizard: double comments in generated class
> -------------------------------------------------------------
>
> Key: JBIDE-17735
> URL: https://issues.jboss.org/browse/JBIDE-17735
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta2
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> JAX-RS Application class looks quite unusual, when is generated using JAX-RS Application wizard with option generate comments into default package.
> {code}
> @ApplicationPath("/rest")
> /**
> *
> */
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> When it is generated into user defined package, then there is just one java doc comment:
> {code}
> @ApplicationPath("/rest")
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> However, shouldn't the comment be above the annotation? It seems that it's the preferred way (e.g. see examples http://docs.oracle.com/javase/tutorial/java/annotations/predefined.html)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17721) Param validation is not changed right after all ParamConverterProviders are removed from the project
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17721?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-17721:
---------------------------------------
[~rrabara],
I could not reproduce that bug with the latest version of the JAX-RS tooling, and I think I noticed and fixed that problem while working on other issues today (JBIDE-17717, JBIDE-17712 or JBIDE-17711). Can you please verify that the problem is also solved for you ?
Thanks !
> Param validation is not changed right after all ParamConverterProviders are removed from the project
> ----------------------------------------------------------------------------------------------------
>
> Key: JBIDE-17721
> URL: https://issues.jboss.org/browse/JBIDE-17721
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Environment: JBoss WebServices Tools 1.7.0.Beta3-v20140628-0157-B555
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> Once there is at least one registered class, which implements ParamConverterProvider, in the project, the Param Validation (as implemented in JBIDE-15592) is bypassed (implemented in JBIDE-16763). However, after all ParamConverterProviders are unregistered/removed from the project, the Param Validation is still bypassed until the jax-rs validation is invoked by another action.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17717) Validation of @Path annotation with invalid argument cause error
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17717?page=com.atlassian.jira.plugi... ]
Xavier Coulon resolved JBIDE-17717.
-----------------------------------
Assignee: Xavier Coulon
Resolution: Done
Fixed for @Path annotation values on both Resource and Resource Methods
Fixed for missing '{' and '}' brackets.
> Validation of @Path annotation with invalid argument cause error
> ----------------------------------------------------------------
>
> Key: JBIDE-17717
> URL: https://issues.jboss.org/browse/JBIDE-17717
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Environment: JBoss WebServices Tools 1.7.0.Beta3-v20140628-0157-B555
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Priority: Critical
> Fix For: 4.2.0.Beta3
>
>
> An error occurs when the argument of the path annotation is invalid. It occurs not only when the file is saved but also during typing.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17721) Param validation is not changed right after all ParamConverterProviders are removed from the project
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17721?page=com.atlassian.jira.plugi... ]
Xavier Coulon reassigned JBIDE-17721:
-------------------------------------
Assignee: Xavier Coulon
> Param validation is not changed right after all ParamConverterProviders are removed from the project
> ----------------------------------------------------------------------------------------------------
>
> Key: JBIDE-17721
> URL: https://issues.jboss.org/browse/JBIDE-17721
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Environment: JBoss WebServices Tools 1.7.0.Beta3-v20140628-0157-B555
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> Once there is at least one registered class, which implements ParamConverterProvider, in the project, the Param Validation (as implemented in JBIDE-15592) is bypassed (implemented in JBIDE-16763). However, after all ParamConverterProviders are unregistered/removed from the project, the Param Validation is still bypassed until the jax-rs validation is invoked by another action.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years
[JBoss JIRA] (JBIDE-17563) Visual part of VPE is blank when JSP page opened
by Konstantin Marmalyukov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17563?page=com.atlassian.jira.plugi... ]
Konstantin Marmalyukov resolved JBIDE-17563.
--------------------------------------------
Resolution: Done
For non-html pages VPE will show error message which ask user to run with GTK2
> Visual part of VPE is blank when JSP page opened
> ------------------------------------------------
>
> Key: JBIDE-17563
> URL: https://issues.jboss.org/browse/JBIDE-17563
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: visual-page-editor-core
> Affects Versions: 4.2.0.Beta2
> Environment: JBDS Beta2-v20140608-1040-B121, Linux
> Reporter: Vlado Pakan
> Assignee: Konstantin Marmalyukov
> Priority: Critical
> Fix For: 4.2.0.Beta3
>
>
> 1. Create JSF12 Kick start project
> 2. Open inputUserName.jsp in JBoss Tools JSP Editor
> ERROR: Visual part of editor is blank
> 3. Add some text to source of page
> ERROR: Visual part of editor is blank
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years