[JBoss JIRA] (JBIDE-12861) NPE when clicking on servlet definition in web.xml
by Jaroslav Jankovič (JIRA)
Jaroslav Jankovič created JBIDE-12861:
-----------------------------------------
Summary: NPE when clicking on servlet definition in web.xml
Key: JBIDE-12861
URL: https://issues.jboss.org/browse/JBIDE-12861
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 4.0.0.Beta1
Reporter: Jaroslav Jankovič
Assignee: Xavier Coulon
Fix For: 4.0.0.Beta1, 4.0.x
I am facing very weird bug today. In web.xml application servlet is defined:
{code}
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/hello/*</url-pattern>
</servlet-mapping>
{code}
Then sometimes I am getting NPE when clicking on "<servlet-mapping>" tag:
{code}
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3529)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3182)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.NullPointerException
at org.jboss.tools.ws.jaxrs.core.jdt.JdtUtils.getElementAt(JdtUtils.java:188)
at org.jboss.tools.ws.jaxrs.core.jdt.JdtUtils.getElementAt(JdtUtils.java:213)
at org.jboss.tools.ws.jaxrs.ui.quickfix.JaxrsMarkerResolutionGenerator.getMarkerResolutions(JaxrsMarkerResolutionGenerator.java:39)
at org.jboss.tools.ws.jaxrs.ui.quickfix.JaxrsMarkerResolutionGenerator.getResolutions(JaxrsMarkerResolutionGenerator.java:19)
at org.eclipse.ui.internal.ide.registry.MarkerHelpRegistry.getResolutions(MarkerHelpRegistry.java:253)
at org.jboss.tools.common.quickfix.MarkerAnnotationInfo.getMarkerProposals(MarkerAnnotationInfo.java:62)
at org.jboss.tools.common.quickfix.MarkerAnnotationInfo.getCompletionProposals(MarkerAnnotationInfo.java:50)
at org.jboss.tools.common.text.xml.xpl.MarkerProblemAnnotationHoverProcessor$MarkerAnnotationInformationControl.createContent(MarkerProblemAnnotationHoverProcessor.java:220)
at org.jboss.tools.common.text.xml.xpl.MarkerProblemAnnotationHoverProcessor$MarkerAnnotationInformationControl.setInput(MarkerProblemAnnotationHoverProcessor.java:189)
at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(AbstractInformationControlManager.java:1181)
at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(AbstractInformationControlManager.java:1150)
at org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation(AbstractHoverInformationControlManager.java:902)
at org.eclipse.jface.text.TextViewerHoverManager.doPresentInformation(TextViewerHoverManager.java:243)
at org.eclipse.jface.text.TextViewerHoverManager$5.run(TextViewerHoverManager.java:233)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
... 24 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (JBIDE-12824) Unexpected behavior of Content Assist
by Daniel Azarov (JIRA)
Daniel Azarov created JBIDE-12824:
-------------------------------------
Summary: Unexpected behavior of Content Assist
Key: JBIDE-12824
URL: https://issues.jboss.org/browse/JBIDE-12824
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 4.0.0.Beta1
Reporter: Daniel Azarov
Assignee: Victor Rubezhny
Fix For: 4.0.0.Beta1
Test case:
EXECUTE:
1. Create JSF 1.2 Kick Start project
2. Open inputUserName.jsp page in Visual Page Editor
3. Put cursor to tag <h:form id="greetingForm"> just after "f:form" then press Ctrl+Space
FAIL:
tag changed to "<h:form></h:form> id="greetingForm">" and problem marker "Missing start tag for "h:form"" appears on second end tag "</h:form>"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (JBIDE-12589) o.j.t.jsf.ui.test.* JUnit tests fail
by Victor Rubezhny (JIRA)
Victor Rubezhny created JBIDE-12589:
---------------------------------------
Summary: o.j.t.jsf.ui.test.* JUnit tests fail
Key: JBIDE-12589
URL: https://issues.jboss.org/browse/JBIDE-12589
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, jsp/jsf/xml source editing, testing
Affects Versions: 4.0.0.Alpha2
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Fix For: 4.0.0.Alpha2
The following JUnit tests fail:
{code}
Tests run: 87, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 830.742 sec <<< FAILURE!
Results :
Failed tests: testJbide3845OnJspPage(org.jboss.tools.jsf.jsp.ca.test.JsfJBide3845Test): Proposal Message['org.jboss.tools.long.property.Name'] not found! Found proposals: ["#{Message["; ]
testJbide3845OnXhtmlPage(org.jboss.tools.jsf.jsp.ca.test.JsfJBide3845Test): Proposal Message['org.jboss.tools.long.property.Name'] not found! Found proposals: [a; abbr; acronym; address; applet; b; basefont; bdo; big; blockquote; br; button; center; cite; code; del; dfn; dir; div; dl; em; fieldset; font; form; h1; h2; h3; h4; h5; h6; hr; i; iframe; img; input; ins; isindex; kbd; label; map; menu; noframes; noscript; object; ol; p; pre; q; s; samp; script; select; small; span; strike; strong; sub; sup; table; textarea; tt; u; ul; var; Facelets ui:Composition - Composition with one definition; comment - comment; dl - definition list; img - img (map); ol - ordered list; script - script (commented); style - style (commented); table - table; ul - unordered list; ]
testdoTestCAJsfResourceBundlePropertyApplyInAttributeValue(org.jboss.tools.jsf.jsp.ca.test.CAJsfResourceBundlePropertyApplyTest): The proposal to apply not found.
testdoTestCAJsfResourceBundlePropertyApplyInTextBody(org.jboss.tools.jsf.jsp.ca.test.CAJsfResourceBundlePropertyApplyTest): The proposal to apply not found.
Tests run: 87, Failures: 4, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:49.923s
[INFO] Finished at: Tue Sep 11 20:17:17 MSD 2012
[INFO] Final Memory: 44M/612M
[INFO] ------------------------------------------------------------------------
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (JBIDE-12849) org.hibernate.eclipse.console.test: Process timeout out after 3600 seconds
by Nick Boldt (JIRA)
Nick Boldt created JBIDE-12849:
----------------------------------
Summary: org.hibernate.eclipse.console.test: Process timeout out after 3600 seconds
Key: JBIDE-12849
URL: https://issues.jboss.org/browse/JBIDE-12849
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: hibernate
Affects Versions: 4.0.0.Beta1
Reporter: Nick Boldt
Assignee: Dmitry Geraskov
In stable branch jobs, getting "org.hibernate.eclipse.console.test: Process timeout out after 3600 seconds".
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevS...
In trunk, the tests are fine:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevS...
Ran a build from trunk locally, and also got the timeout:
{code}
mvn install
...
[INFO] hibernatetools.tests .............................. SUCCESS [0.032s]
[INFO] org.hibernate.eclipse.console.test ................ FAILURE [1:00:04.223s]
[INFO] org.hibernate.eclipse.jdt.ui.test ................. SKIPPED
[INFO] org.jboss.tools.hibernate.ui.test ................. SKIPPED
[INFO] org.jboss.tools.hibernate.ui.bot.test ............. SUCCESS [2.883s]
[INFO] org.hibernate.eclipse.test.feature ................ SKIPPED
[INFO] org.jboss.tools.hibernate.jpt.core.test ........... SKIPPED
[INFO] hibernatetools.site ............................... SKIPPED
{code}
Any idea why this is happening? Would increasing the timeout help, or is the problem UI that sometimes gets stuck, sometimes does not?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] Created: (JBIDE-5809) Add clearer error message when edi mapping model schema version is not supported.
by Daniel Bevenius (JIRA)
Add clearer error message when edi mapping model schema version is not supported.
---------------------------------------------------------------------------------
Key: JBIDE-5809
URL: https://jira.jboss.org/jira/browse/JBIDE-5809
Project: Tools (JBoss Tools)
Issue Type: Task
Components: smooks
Reporter: Daniel Bevenius
Attachments: Screen shot 2010-02-08 at 1.48.16 PM.png
When using a edi mapping model that has a higher schema version number then the Smooks runtime bundled with the eclipse plugin supports, the error message is simply:
Check Input Task configuration. Error creating Input Model from Sample Input Data. Error "..." I'll attached a screenshot of the error.
I noticed this when trying the Smook plugin using the edi-to-java example in Smooks trunk. This example uses the following schema version:
http://www.milyn.org/schema/edi-message-mapping-1.3.xsd
and the version of Smooks bundled with the eclipse plugin only supports 1.2 (I think).
I asked Tom about this and he said that there already is some checking of the versions and perhaps this is only a case on making the error message a little more informative.
The version of the Smooks plugin I used is: 1.1.0.v201002050900N-H208-CR2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (JBIDE-11802) ClassNotFound: WrappedException, when opening smooks configuration with ''<esbr:routeBean/>'
by Jason Shepherd (JIRA)
Jason Shepherd created JBIDE-11802:
--------------------------------------
Summary: ClassNotFound: WrappedException, when opening smooks configuration with ''<esbr:routeBean/>'
Key: JBIDE-11802
URL: https://issues.jboss.org/browse/JBIDE-11802
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.2.2.Final
Environment: JBoss Developer Studio 4.1.2, and 4.1.1
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.jbds.product.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.jbds.product.product
Reporter: Jason Shepherd
Assignee: Brian Fitzpatrick
Priority: Minor
Smooks editor shows the following error at the top of the guided smooks editor window:
"org.eclipse.emf.common.util.WrappedException: java.lang.ClassNotFoundException"
It only happens when we include the following in the Smooks configuration:
" <esbr:routeBean beanIdRef="orderItemFragment" toServiceCategory="QS" toServiceName="Receiver" routeOnElement="order-item">
<condition idRef="routeItem" />
</esbr:routeBean>"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (JBIDE-12966) jst tests failure
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-12966:
--------------------------------------
Summary: jst tests failure
Key: JBIDE-12966
URL: https://issues.jboss.org/browse/JBIDE-12966
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.0.0.CR1
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 4.0.0.CR1
{code}
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fcda59ab5a0, pid=10407, tid=140523837720320
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.5-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libwebkitgtk-1.0.so.0+0x14245a0] void WTF::freeOwnedGPtr<_GdkEvent>(_GdkEvent*)+0x15df0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/igels/Projects/jbt-4.0/contribution/jbosstools-jst/tests/org.jboss.tools.jst.web.ui.test/hs_err_pid10407.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (JBIDE-12845) org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest failure
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-12845:
--------------------------------------
Summary: org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest failure
Key: JBIDE-12845
URL: https://issues.jboss.org/browse/JBIDE-12845
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: CDI
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 4.0.0.Beta1
{code}
(org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest) Time elapsed: 0.254 sec <<< FAILURE!
junit.framework.AssertionFailedError: Hyperlink - Show All Assignable Beans... not found next region - <Inject> 104 - 110 line - 7 position - 5
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:218)
at org.jboss.tools.cdi.text.ext.test.CDIHyperlinkTestUtil.checkTestRegion(CDIHyperlinkTestUtil.java:212)
at org.jboss.tools.cdi.text.ext.test.CDIHyperlinkTestUtil.checkRegions(CDIHyperlinkTestUtil.java:179)
at org.jboss.tools.cdi.text.ext.test.CDIHyperlinkTestUtil.checkRegions(CDIHyperlinkTestUtil.java:100)
at org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest.testInjectedPointHyperlinkDetectorWithComment(InjectedPointHyperlinkDetectorTest.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months