[JBoss JIRA] (JBIDE-17822) Launch shortcut enablement expression caused exception
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17822?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-17822:
----------------------------------
Fix Version/s: 4.3.0.CR1
(was: 4.3.0.Beta1)
> Launch shortcut enablement expression caused exception
> ------------------------------------------------------
>
> Key: JBIDE-17822
> URL: https://issues.jboss.org/browse/JBIDE-17822
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.0.CR1
>
> Attachments: error1, error2, error3, error4, error5
>
>
> Sometimes when expanding JAX-RS Explorer, a bunch of errors appears in Error Log.
> There are 5 similar errors:
> {code}
> Launch shortcut 'org.testng.eclipse.shortcut' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesPattern to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.testng.eclipse.shortcut.testngSuite' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesPattern to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.jboss.tools.maven.actions.LifeCycleCleanVerify' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.jboss.tools.maven.ui.isCleanVerifyMenuEnabled to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.eclipse.ant.ui.antShortcutWithDialog' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesContentType to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
> {code}
> Launch shortcut 'org.eclipse.ant.ui.antShortcut' enablement expression caused exception. Shortcut was removed.
> org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.debug.ui.matchesContentType to type class org.jboss.tools.ws.jaxrs.ui.cnf.UriPathTemplateElement
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-18516) JAX-RS Validator should report problem when @DefaultValue is used alone
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18516?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-18516:
----------------------------------
Fix Version/s: 4.3.0.Beta2
(was: 4.3.0.Beta1)
> JAX-RS Validator should report problem when @DefaultValue is used alone
> -----------------------------------------------------------------------
>
> Key: JBIDE-18516
> URL: https://issues.jboss.org/browse/JBIDE-18516
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.2.0.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: 4.3.0.Beta2
>
>
> If a method parameter is annotated with {{@DefaultValue}} but has _no_ {{@QueryParam}} (or similar) annotation, then the application will most certainly fail with an error message such as:
> {code}
> failed to execute: javax.ws.rs.NotSupportedException: Could not find message body reader for type: int of content type: */*
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-19734) JAX-RS Validator NPEs with wildcard type arguments
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19734?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-19734:
----------------------------------
Fix Version/s: 4.3.0.Beta2
(was: 4.3.0.Beta1)
> JAX-RS Validator NPEs with wildcard type arguments
> --------------------------------------------------
>
> Key: JBIDE-19734
> URL: https://issues.jboss.org/browse/JBIDE-19734
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Environment: Eclipse Mars, JDK 1.7 32-bit
> Reporter: Kory Markevich
> Assignee: Xavier Coulon
> Fix For: 4.3.0.Beta2
>
>
> JBoss JAX-RS Tools feature version: 1.8.0.Beta1-v20150417-0152-B698
> The JAX-RS validator throws an NPE when using generic types with wildcards. Specifically, the call to typeArgumentBinding.getJavaElement() in SourceType.from(VariableDeclaration) can return null, which the SourceType constructor then tries to use, resulting in the following stack trace. Depending on the code, the validator could trigger this exception as frequently as every pause in typing, resulting in a modal error box popping up constantly. The sample code provided only triggers it on save though.
> java.lang.NullPointerException
> at org.jboss.tools.ws.jaxrs.core.jdt.SourceType.<init>(SourceType.java:157)
> at org.jboss.tools.ws.jaxrs.core.jdt.SourceType.from(SourceType.java:49)
> at org.jboss.tools.ws.jaxrs.core.jdt.JdtUtils.resolveMethodSignature(JdtUtils.java:1109)
> at org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain.JaxrsResource$Builder.build(JaxrsResource.java:169)
> at org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain.JaxrsResource.update(JaxrsResource.java:273)
> at org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain.JaxrsMetamodel.processJavaElement(JaxrsMetamodel.java:647)
> at org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain.JaxrsMetamodel.processResourceChange(JaxrsMetamodel.java:608)
> at org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain.JaxrsMetamodel.processAffectedResources(JaxrsMetamodel.java:574)
> at org.jboss.tools.ws.jaxrs.core.internal.metamodel.builder.ResourceChangedBuildJob.run(ResourceChangedBuildJob.java:77)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months
[JBoss JIRA] (JBIDE-19496) docker run wizard
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19496?page=com.atlassian.jira.plugi... ]
Xavier Coulon resolved JBIDE-19496.
-----------------------------------
Resolution: Done
Fixed upstream in https://bugs.eclipse.org/bugs/show_bug.cgi?id=468607
> docker run wizard
> -----------------
>
> Key: JBIDE-19496
> URL: https://issues.jboss.org/browse/JBIDE-19496
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: docker
> Affects Versions: 4.3.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Xavier Coulon
> Fix For: 4.3.0.Beta1
>
> Attachments: initial_idea_for_docker_run.bmml, initial_idea_for_docker_run.png
>
>
> should have a docker wizard to easily run images.
> The wizard should try and capture the most common things in smallest step necessary but still be flexible enough to be used for more advanced usecases.
> For example, docker run --help returns ~50 options. We do not want to expose *All* as full ui elements but should try find a way to keep it simple.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 10 months