[JBoss JIRA] (JBIDE-21058) JSF tests fail
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21058?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich updated JBIDE-21058:
------------------------------------------
Description:
Multiple failures are caused by
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jsf.ui.JsfUiPlugin$PluginHolder
because of class cast exception at
(JsfUiPlugin)Platform.getPlugin(PLUGIN_ID)
since platform returned DefaultPlugin instead of JsfUiPlugin.
Method Platform.getPlugin(String) is deprecated and probably works in the latest Eclipse not as before. Multiple failures (80 and more) started with build #52 on October 25, 2015. Build #51had only few failed tests.
Pattern of initializing JsfUiPlugin is very uncommon and we should change it to the regular pattern in which static plugin instance is set in the constructor.
was:
Multiple failures are caused by
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jsf.ui.JsfUiPlugin$PluginHolder
because of class cast exception at
(JsfUiPlugin)Platform.getPlugin(PLUGIN_ID)
since platform returned DefaultPlugin instead of JsfUiPlugin.
Pattern of initializing JsfUiPlugin is very uncommon and we should change it to the regular pattern in which static plugin instance is set in the constructor.
> JSF tests fail
> --------------
>
> Key: JBIDE-21058
> URL: https://issues.jboss.org/browse/JBIDE-21058
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsf
> Affects Versions: 4.4.0.Alpha1
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Fix For: 4.4.0.Alpha1
>
>
> Multiple failures are caused by
> java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jsf.ui.JsfUiPlugin$PluginHolder
> because of class cast exception at
> (JsfUiPlugin)Platform.getPlugin(PLUGIN_ID)
> since platform returned DefaultPlugin instead of JsfUiPlugin.
> Method Platform.getPlugin(String) is deprecated and probably works in the latest Eclipse not as before. Multiple failures (80 and more) started with build #52 on October 25, 2015. Build #51had only few failed tests.
> Pattern of initializing JsfUiPlugin is very uncommon and we should change it to the regular pattern in which static plugin instance is set in the constructor.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBIDE-21058) JSF tests fail
by Viacheslav Kabanovich (JIRA)
Viacheslav Kabanovich created JBIDE-21058:
---------------------------------------------
Summary: JSF tests fail
Key: JBIDE-21058
URL: https://issues.jboss.org/browse/JBIDE-21058
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsf
Affects Versions: 4.4.0.Alpha1
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.4.0.Alpha1
Multiple failures are caused by
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.tools.jsf.ui.JsfUiPlugin$PluginHolder
because of class cast exception at
(JsfUiPlugin)Platform.getPlugin(PLUGIN_ID)
since platform returned DefaultPlugin instead of JsfUiPlugin.
Pattern of initializing JsfUiPlugin is very uncommon and we should change it to the regular pattern in which static plugin instance is set in the constructor.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBIDE-21057) Web Services Tester locks up when editing
by Brian Fitzpatrick (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21057?page=com.atlassian.jira.plugi... ]
Brian Fitzpatrick commented on JBIDE-21057:
-------------------------------------------
Apparently the simpler case seems to work on Jane's Mac. [~apodhrad] Can you try the full reproduction steps in the attachment? Wondering what's going on here...
> Web Services Tester locks up when editing
> ------------------------------------------
>
> Key: JBIDE-21057
> URL: https://issues.jboss.org/browse/JBIDE-21057
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.3.Final
> Environment: Mac setup:
> • OS X 10.9.4
> • JBDS 8.1.0.GA-v20150327-1349-B467
> • Fuse Tooling 7.2.3.v20151008-1250-H108-CR2
> • Switchyard 2.0.1v20150923-1505-H19-CR1
> • JRE 1.7.0_25-b15
> Reporter: Jane Murphey
> Assignee: Brian Fitzpatrick
> Priority: Critical
> Attachments: OSX_WebServicTesterHang.rtf
>
>
> When using the tree view in the Web Service Tester to edit request message values, the entire workbench freezes. Nothing appears in the error log and I have been unable to reproduce in a Windows environment.
> Will get a simpler reproducible case, but am posting what [~jmurphey] has documented so far.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBIDE-21036) Infinite cycle in ParametedType.isAssignableTo()
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21036?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich updated JBIDE-21036:
------------------------------------------
Description:
java.lang.StackOverflowError is reported in
http://stackoverflow.com/questions/33301776/an-internal-error-occurred-du...
Infinitely cycling calls are
org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:398) at org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:402) at org.jboss.tools.common.java.ParametedType.areTypeParametersAssignableTo(ParametedType.java:430)
Sample that reproduces the stack trace:
{code}
public class B {
static class A1<V extends A1<V>> {
}
static class A2<T extends A2<T>> extends A1<A2<T>> {
}
static class A3 extends A2<A3> {
}
@Inject
A1<A2<A3>> q;
}
{code}
One more infinite cycle in ParametedType.equals():
at org.jboss.tools.common.java.ParametedType.equals(ParametedType.java:171)
can be reproduced with sample:
{code}
public class A<V extends A.B<V>> {
static class B<V1 extends A.B<V1>> {
}
@Inject
A.B<V> s2;
}
{code}
was:
java.lang.StackOverflowError is reported in
http://stackoverflow.com/questions/33301776/an-internal-error-occurred-du...
Infinitely cycling calls are
org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:398) at org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:402) at org.jboss.tools.common.java.ParametedType.areTypeParametersAssignableTo(ParametedType.java:430)
Sample that reproduces the stack trace:
{code}
public class B {
static class A1<V extends A1<V>> {
}
static class A2<T extends A2<T>> extends A1<A2<T>> {
}
static class A3 extends A2<A3> {
}
@Inject
A1<A2<A3>> q;
}
{code}
> Infinite cycle in ParametedType.isAssignableTo()
> ------------------------------------------------
>
> Key: JBIDE-21036
> URL: https://issues.jboss.org/browse/JBIDE-21036
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi
> Affects Versions: 4.3.0.Final
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.1.Beta1, 4.4.0.Alpha1
>
>
> java.lang.StackOverflowError is reported in
> http://stackoverflow.com/questions/33301776/an-internal-error-occurred-du...
> Infinitely cycling calls are
> org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:398) at org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:402) at org.jboss.tools.common.java.ParametedType.areTypeParametersAssignableTo(ParametedType.java:430)
> Sample that reproduces the stack trace:
> {code}
> public class B {
>
> static class A1<V extends A1<V>> {
> }
> static class A2<T extends A2<T>> extends A1<A2<T>> {
> }
>
> static class A3 extends A2<A3> {
> }
> @Inject
> A1<A2<A3>> q;
> }
> {code}
> One more infinite cycle in ParametedType.equals():
> at org.jboss.tools.common.java.ParametedType.equals(ParametedType.java:171)
> can be reproduced with sample:
> {code}
> public class A<V extends A.B<V>> {
> static class B<V1 extends A.B<V1>> {
> }
> @Inject
> A.B<V> s2;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBTIS-531) Bouncy Castle causes Fuse Tooling full source TP build failure.
by Paul Leacu (JIRA)
[ https://issues.jboss.org/browse/JBTIS-531?page=com.atlassian.jira.plugin.... ]
Paul Leacu commented on JBTIS-531:
----------------------------------
Thanks [~mickael_istria] - the reason we couldn't leave the stub plugin in Teiid Designer is because the JBTIS TP can't be built as a fully-resolved (-Dmirror-target-to-repo.includeSources=true) target platform (currently done by Fuse Tooling). So we need https://github.com/jbosstools/jbosstools-locus/pull/50 pushed and a new JBoss Locus published to Nexus (which I'll pick up with a new JBTIS TP). Is this you or [~nickboldt]?
Thkx again!
[~ganandan-Redhat]
> Bouncy Castle causes Fuse Tooling full source TP build failure.
> ---------------------------------------------------------------
>
> Key: JBTIS-531
> URL: https://issues.jboss.org/browse/JBTIS-531
> Project: JBoss Tools Integration Stack
> Issue Type: Bug
> Components: target-platform
> Affects Versions: 9.0.0.Alpha2, 8.0.4.CR2
> Reporter: Paul Leacu
> Assignee: Paul Richardson
> Priority: Blocker
>
> Here is the issue. The JBTIS TP has a reliance on bouncycastle that was introduced as an indirect dependency by Teiid Designer because they needed the Apache directory features including the org.apache.directory.studio.connection.ui feature. The bcprov feature was removed from the JBTIS TP and Teiid Designer added a dummy feature to satisfy maven. This was built and everything in the IS builds and installs fine - no one directly needed bouncycastle.
> Fuse Tooling builds a local development-only full source target platform based on the JBTIS TP. This causes all dependencies to be fully resolved which causes them to fail their target platform development-only build:
> {code}
> mvn -Pmultiple2repo -U -Dmirror-target-to-repo.includeSources=true clean install
> ...
> [ERROR] Software being installed: org.apache.directory.studio.connection.ui 2.0.0.v20150618
> [ERROR] Missing requirement: org.apache.directory.studio.connection.ui 2.0.0.v20150618 requires 'package org.bouncycastle.x509.extension 0.0.0' but it could not be found
> {code}
> you may also see this error:
> {code}
> [ERROR] Software being installed: org.apache.directory.studio.connection.ui 2.0.0.v20150618
> [ERROR] Missing requirement: org.apache.directory.studio.connection.ui 2.0.0.v20150618 requires 'package org.bouncycastle.asn1 0.0.0' but it could not be found
> {code}
> Both of these plugins can be found (in stub form) here:
> http://download.jboss.org/jbosstools/updates/stable/luna/integration-stac...
> How should this be fixed? Both Teiid Designer and Fuse Tooling use the JBTIS TP. Fuse needs this development TP to debug Fuse and SAP issues. They shouldn't have to incur a dependency that has nothing to do with them. If we pull the entire Apache directory dependency block out of the IS TP then Teiid Des will have to go back to creating their own merged TP.
> WDYT?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBIDE-21036) Infinite cycle in ParametedType.isAssignableTo()
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21036?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich updated JBIDE-21036:
------------------------------------------
Description:
java.lang.StackOverflowError is reported in
http://stackoverflow.com/questions/33301776/an-internal-error-occurred-du...
Infinitely cycling calls are
org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:398) at org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:402) at org.jboss.tools.common.java.ParametedType.areTypeParametersAssignableTo(ParametedType.java:430)
Sample that reproduces the stack trace:
{code}
public class B {
static class A1<V extends A1<V>> {
}
static class A2<T extends A2<T>> extends A1<A2<T>> {
}
static class A3 extends A2<A3> {
}
@Inject
A1<A2<A3>> q;
}
{code}
was:
java.lang.StackOverflowError is reported in
http://stackoverflow.com/questions/33301776/an-internal-error-occurred-du...
Infinitely cycling calls are
org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:398) at org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:402) at org.jboss.tools.common.java.ParametedType.areTypeParametersAssignableTo(ParametedType.java:430)
> Infinite cycle in ParametedType.isAssignableTo()
> ------------------------------------------------
>
> Key: JBIDE-21036
> URL: https://issues.jboss.org/browse/JBIDE-21036
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi
> Affects Versions: 4.3.0.Final
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.1.Beta1, 4.4.0.Alpha1
>
>
> java.lang.StackOverflowError is reported in
> http://stackoverflow.com/questions/33301776/an-internal-error-occurred-du...
> Infinitely cycling calls are
> org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:398) at org.jboss.tools.common.java.ParametedType.isAssignableTo(ParametedType.java:402) at org.jboss.tools.common.java.ParametedType.areTypeParametersAssignableTo(ParametedType.java:430)
> Sample that reproduces the stack trace:
> {code}
> public class B {
>
> static class A1<V extends A1<V>> {
> }
> static class A2<T extends A2<T>> extends A1<A2<T>> {
> }
>
> static class A3 extends A2<A3> {
> }
> @Inject
> A1<A2<A3>> q;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBIDE-21057) Web Services Tester locks up when editing
by Brian Fitzpatrick (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21057?page=com.atlassian.jira.plugi... ]
Brian Fitzpatrick commented on JBIDE-21057:
-------------------------------------------
[~apodhrad] If you get a chance, can you try and reproduce the above steps on a Mac box? I can't reproduce here at all.
> Web Services Tester locks up when editing
> ------------------------------------------
>
> Key: JBIDE-21057
> URL: https://issues.jboss.org/browse/JBIDE-21057
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.3.Final
> Environment: Mac setup:
> • OS X 10.9.4
> • JBDS 8.1.0.GA-v20150327-1349-B467
> • Fuse Tooling 7.2.3.v20151008-1250-H108-CR2
> • Switchyard 2.0.1v20150923-1505-H19-CR1
> • JRE 1.7.0_25-b15
> Reporter: Jane Murphey
> Assignee: Brian Fitzpatrick
> Priority: Critical
> Attachments: OSX_WebServicTesterHang.rtf
>
>
> When using the tree view in the Web Service Tester to edit request message values, the entire workbench freezes. Nothing appears in the error log and I have been unable to reproduce in a Windows environment.
> Will get a simpler reproducible case, but am posting what [~jmurphey] has documented so far.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBIDE-21057) Web Services Tester locks up when editing
by Brian Fitzpatrick (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21057?page=com.atlassian.jira.plugi... ]
Brian Fitzpatrick commented on JBIDE-21057:
-------------------------------------------
I have asked Jane to try and reproduce with this simpler scenario:
Create a new JBDS environment without any Fuse or anything else installed - just plain JBDS on Luna. And instead of our web service I want you to use http://www.webservicex.net/globalweather.asmx?WSDL
# In JBDS, click Window>Show View/Other>JBoss Tools Web Services>Web Service Tester to open it.
# In the Tester wizard, click the drop-down menu showing GET, and select JAX WS.
# Click the Get From WSDL icon to open the Select WSDL page, and paste the copied url into WSDL URI. The remaining fields are autofilled with the info from the WSDL. Select "GetCitiesByCountry" as the operation.
# Click OK.
# In the Tester wizard, the Request Body pane displays and example request message in XML format.
# Click the Tree icon to switch Request Body pane display to tree format, which you can edit.
# Click on "CountryName" and type "United States" and hit enter.
# Then click the green arrow button in the toolbar. You should see the request message populate with a bunch of text.
Let me know if THAT causes the same issue. I'm hoping it does.
> Web Services Tester locks up when editing
> ------------------------------------------
>
> Key: JBIDE-21057
> URL: https://issues.jboss.org/browse/JBIDE-21057
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.3.Final
> Environment: Mac setup:
> • OS X 10.9.4
> • JBDS 8.1.0.GA-v20150327-1349-B467
> • Fuse Tooling 7.2.3.v20151008-1250-H108-CR2
> • Switchyard 2.0.1v20150923-1505-H19-CR1
> • JRE 1.7.0_25-b15
> Reporter: Jane Murphey
> Assignee: Brian Fitzpatrick
> Priority: Critical
> Attachments: OSX_WebServicTesterHang.rtf
>
>
> When using the tree view in the Web Service Tester to edit request message values, the entire workbench freezes. Nothing appears in the error log and I have been unable to reproduce in a Windows environment.
> Will get a simpler reproducible case, but am posting what [~jmurphey] has documented so far.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months
[JBoss JIRA] (JBIDE-21057) Web Services Tester locks up when editing
by Brian Fitzpatrick (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21057?page=com.atlassian.jira.plugi... ]
Brian Fitzpatrick updated JBIDE-21057:
--------------------------------------
Reporter: Jane Murphey (was: Brian Fitzpatrick)
> Web Services Tester locks up when editing
> ------------------------------------------
>
> Key: JBIDE-21057
> URL: https://issues.jboss.org/browse/JBIDE-21057
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.3.Final
> Environment: Mac setup:
> • OS X 10.9.4
> • JBDS 8.1.0.GA-v20150327-1349-B467
> • Fuse Tooling 7.2.3.v20151008-1250-H108-CR2
> • Switchyard 2.0.1v20150923-1505-H19-CR1
> • JRE 1.7.0_25-b15
> Reporter: Jane Murphey
> Assignee: Brian Fitzpatrick
> Priority: Critical
> Attachments: OSX_WebServicTesterHang.rtf
>
>
> When using the tree view in the Web Service Tester to edit request message values, the entire workbench freezes. Nothing appears in the error log and I have been unable to reproduce in a Windows environment.
> Will get a simpler reproducible case, but am posting what [~jmurphey] has documented so far.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 5 months