[JBoss JIRA] Created: (JBIDE-6793) [tester] SOAPExceptionImpl thrown when user types in invalid SOAP message
by Lukas Jungmann (JIRA)
[tester] SOAPExceptionImpl thrown when user types in invalid SOAP message
-------------------------------------------------------------------------
Key: JBIDE-6793
URL: https://jira.jboss.org/browse/JBIDE-6793
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.M2
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
-load some WSDL in the tester, ie http://footballpool.dataaccess.eu/data/info.wso?WSDL
-change generated sample request to contain some error, ie add 'x:xmlns="http://a.b.c/"' attribute to some element
-invoke the service
=> exception dialog with following stacktrace appears:
java.lang.Exception: javax.xml.ws.WebServiceException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at org.jboss.tools.ws.ui.utils.JAXWSTester2.doTest(JAXWSTester2.java:145)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.handleWSTest(JAXRSWSTestView2.java:1242)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2.access$25(JAXRSWSTestView2.java:1228)
at org.jboss.tools.ws.ui.views.JAXRSWSTestView2$17.run(JAXRSWSTestView2.java:1172)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: javax.xml.ws.WebServiceException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.sun.xml.internal.ws.message.saaj.SAAJMessage.access(SAAJMessage.java:154)
at com.sun.xml.internal.ws.message.saaj.SAAJMessage.getPayloadNamespaceURI(SAAJMessage.java:194)
at com.sun.xml.internal.ws.api.message.Message.getOperation(Message.java:264)
...
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:114)
at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:70)
at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:122)
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1253)
at com.sun.xml.internal.ws.message.saaj.SAAJMessage.access(SAAJMessage.java:139)
... 13 more
Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The prefix "x" for attribute "x:xmlns" associated with an element type "soap:Envelope" is not bound.
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:719)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
at com.sun.xml.internal.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:393)
at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:102)
... 17 more
Caused by: org.xml.sax.SAXParseException: The prefix "x" for attribute "x:xmlns" associated with an element type "soap:Envelope" is not bound.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:636)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:707)
... 20 more
and response body text contains: "java.lang.Exception: javax.xml.ws.WebServiceException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:"
We should handle this error more gracefully, ie by showing some error dialog or inline error message instead
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Created: (JBIDE-6813) Code completion in Java editor: CoreException is thrown.
by Alexey Kazakov (JIRA)
Code completion in Java editor: CoreException is thrown.
--------------------------------------------------------
Key: JBIDE-6813
URL: https://jira.jboss.org/browse/JBIDE-6813
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common
Affects Versions: 3.2.0.M2
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Priority: Critical
Fix For: 3.2.0.M2
1. Create Seam Web Project (I can reproduce it in any Java project).
2. Open any *.java
3. Ctrl+Space
4. CoreException is thrown (only once right after Eclipse start):
org.eclipse.core.runtime.CoreException: Plug-in org.jboss.tools.seam.ui was unable to load class org.jboss.tools.seam.ui.text.java.SeamELProposalComputer.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:178)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.createComputer(CompletionProposalComputerDescriptor.java:291)
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.getComputer(CompletionProposalComputerDescriptor.java:258)
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.sessionStarted(CompletionProposalComputerDescriptor.java:401)
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.sessionStarted(CompletionProposalCategory.java:313)
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor$CompletionListener.assistSessionStarted(ContentAssistProcessor.java:113)
at org.eclipse.jface.text.contentassist.ContentAssistant.fireSessionBeginEvent(ContentAssistant.java:2216)
at org.eclipse.jface.text.contentassist.ContentAssistant.prepareToShowCompletions(ContentAssistant.java:1691)
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1656)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:182)
at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1525)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1257)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1294)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:730)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2839)
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:734)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1743)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4794)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4372)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8163)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1239)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2224)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3169)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: java.lang.NoClassDefFoundError: org/jboss/tools/common/el/ui/ca/JavaELProposalComputer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
... 66 more
Caused by: java.lang.ClassNotFoundException: org.jboss.tools.common.el.ui.ca.JavaELProposalComputer
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 86 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Created: (JBIDE-6430) Eclipse has a problem to reference org.jboss.tools.common.model.ui 3.1.1
by Jiri Peterka (JIRA)
Eclipse has a problem to reference org.jboss.tools.common.model.ui 3.1.1
------------------------------------------------------------------------
Key: JBIDE-6430
URL: https://jira.jboss.org/browse/JBIDE-6430
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 3.1.1
Environment: JBT 3.1.1.GA, JBDS 3.0.1GA
Reporter: Jiri Peterka
Assignee: Nick Boldt
Fix For: 3.2.0.M1
Steps:
1. Have JBT 3.1.1 GA or JBDS 3.0.1 GA
2. Create new plug-in project:
3. Add plug-in dependency org.jboss.tools.common.model.ui
4. Create class and create instance ObjectMultipageEditor from package in org.jboss.tools.common.editor
ASSERT: It should be possible to instance ObjectMultipageEditor and org.jboss.tools.common.model.ui should be present in Plug-in Dependencies
WORKAROUND: Include plugin folder as classpath folder directly
NOTE: This works for org.jboss.tools.common.model.ui_3.1.0 (JBT 3.2.x), problem occurs for org.jboss.tools.common.model.ui_3.1.1 (JBT 3.1.1)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Created: (JBDS-1294) Add RSE requirement to the uberbuilder to build as tools
by Denis Golovin (JIRA)
Add RSE requirement to the uberbuilder to build as tools
--------------------------------------------------------
Key: JBDS-1294
URL: https://jira.jboss.org/browse/JBDS-1294
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Task
Components: Build
Affects Versions: 4.0.0.M2
Reporter: Denis Golovin
Assignee: Denis Golovin
Fix For: 4.0.0.M2
RSE is required to build as tools
[java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[java] [eclipse.buildScript] Bundle org.jboss.ide.eclipse.as.rse.core:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.core_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.subsystems.files.core_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services.files.ftp_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services.local_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services.ssh_0.0.0.
[java] [eclipse.buildScript] Bundle org.jboss.ide.eclipse.as.rse.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.core_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.subsystems.files.core_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services.files.ftp_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services.local_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.services.ssh_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.jboss.ide.eclipse.as.rse.core_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.files.ui_0.0.0.
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.rse.ui_0.0.0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Created: (JBIDE-6855) Content Assist for Managed Bean properties and message from Properties file doesn't work
by Vlado Pakan (JIRA)
Content Assist for Managed Bean properties and message from Properties file doesn't work
----------------------------------------------------------------------------------------
Key: JBIDE-6855
URL: https://jira.jboss.org/browse/JBIDE-6855
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.2.0.M2
Environment: Linux 32bit Java Sun JDK 1.6 JBT 3.2.0.v20100811-1926-H220-M2
Reporter: Vlado Pakan
Assignee: Maxim Areshkau
Steps to reproduce:
1. Create new JSF Kick Start project
2. Open <jsf project>/WebContent/pages/inputUserName.jsp page
3. Set cursor position after 'Message.' within tag <h:outputText value="#{Message.prompt_message}"/>. Call Content Assist. It's not offering any choice but it should offer all keys from Messages.properties file i.e. header, promt_message and hello_message.
4. Set cursor position before 'Message.prompt_message' and call Content Assist. There is again no choice to choose but there should be possible to select Message or User.
5. Set cursor position after 'user.' within tag <h:inputText value="#{user.name}" required="true"> and call Content Assist. There is again no choice to choose but there should be possible to choose name property of User Managed Bean and getter/setter for this property.
6. Set cursor position before 'user.name' and call Content Assist. There is again no choice to choose but there should be possible to select Message or User.
This is working in JBDS 4.0.0.M1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months