[JBoss JIRA] Created: (JBIDE-7309) Testing a direct-to-source mapping errors out
by Brian Fitzpatrick (JIRA)
Testing a direct-to-source mapping errors out
----------------------------------------------
Key: JBIDE-7309
URL: https://jira.jboss.org/browse/JBIDE-7309
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.2.0.Beta2
Reporter: Brian Fitzpatrick
Assignee: Tom Fennelly
Fix For: 3.2.0.Beta2
While playing with some ideas, I tried using the Smooks Run Configuration for testing a XML-to-XML mapping. And I don't think I've done anything too wacky, but I'm getting some interesting results when I try to test the configuration.
Any ideas? I'll attach the config, input, and output XML files...
Oct 11, 2010 12:22:58 PM freemarker.log.JDK14LoggerFactory$JDK14Logger error
SEVERE:
Error on line 4, column 15 in free-marker-template
Expecting a string, date or number here, Expression .vars["PERIODIC_TABLE"]["ATOM/NAME"] is instead a freemarker.ext.dom.NodeListModel
The problematic instruction:
----------
==> ${.vars["PERIODIC_TABLE"]["ATOM/NAME"]} [on line 4, column 13 in free-marker-template]
----------
Java backtrace for programmers:
----------
freemarker.core.NonStringException: Error on line 4, column 15 in free-marker-template
Expecting a string, date or number here, Expression .vars["PERIODIC_TABLE"]["ATOM/NAME"] is instead a freemarker.ext.dom.NodeListModel
at freemarker.core.Expression.getStringValue(Expression.java:126)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:232)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:356)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:349)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.visitAfter(FreeMarkerTemplateProcessor.java:327)
at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:389)
at org.milyn.delivery.sax.SAXHandler.endElement(SAXHandler.java:204)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:57)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:75)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:61)
at org.milyn.Smooks._filter(Smooks.java:519)
at org.milyn.Smooks.filterSource(Smooks.java:488)
at org.milyn.Smooks.filterSource(Smooks.java:462)
at org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:81)
Exception in thread "main" org.milyn.SmooksException: Failed to filter source.
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:86)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:61)
at org.milyn.Smooks._filter(Smooks.java:519)
at org.milyn.Smooks.filterSource(Smooks.java:488)
at org.milyn.Smooks.filterSource(Smooks.java:462)
at org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:81)
Caused by: org.milyn.SmooksException: Failed to apply FreeMarker template to fragment 'PERIODIC_TABLE'. Resource: Target Profile: [[org.milyn.profile.profile#default_profile]], Selector: [#document], Selector Namespace URI: [null], Resource: [<?xml version="1.0" encoding="UTF-8"?>
<html>
<section>
<h1>${.vars["PERIODIC_TABLE"]["ATOM/NAME"]}</h1>
<p>${.vars["PERIODIC_TABLE"]["ATOM/SYMBOL"]}</p>
<p>${.vars["PERIODIC_TABLE"]["ATOM/ATOMIC_NUMBER"]}</p>
<p>${.vars["PERIODIC_TABLE"]["ATOM/ATOMIC_WEIGHT"]}</p>
</section>
</html>], Num Params: [4]
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:359)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:349)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.visitAfter(FreeMarkerTemplateProcessor.java:327)
at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:389)
at org.milyn.delivery.sax.SAXHandler.endElement(SAXHandler.java:204)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:57)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:75)
... 5 more
Caused by: freemarker.core.NonStringException: Error on line 4, column 15 in free-marker-template
Expecting a string, date or number here, Expression .vars["PERIODIC_TABLE"]["ATOM/NAME"] is instead a freemarker.ext.dom.NodeListModel
at freemarker.core.Expression.getStringValue(Expression.java:126)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:232)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:356)
... 19 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
13 years, 11 months
[JBoss JIRA] Created: (JBIDE-6828) Provide actions to open AS/EAP/SOA-P specific management apps
by Lukas Jungmann (JIRA)
Provide actions to open AS/EAP/SOA-P specific management apps
-------------------------------------------------------------
Key: JBIDE-6828
URL: https://jira.jboss.org/browse/JBIDE-6828
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JBossAS
Reporter: Lukas Jungmann
Assignee: Rob Stryker
It would be nice if a user would be able to open ie JBoss jmx console within embedded browser in the IDE through some specific action on the server node in the server view.
List of apps worth to have some specific action:
-jmx console
-administration console
-jbossws app
there might be others I'm not aware of but first two from the list are IMO the most important ones
See attached screenshot for how this looks like in Glassfish plugin
--
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
13 years, 11 months
[JBoss JIRA] Created: (JBIDE-4346) -Djava.library.path always overwritten with some default
by arne anka (JIRA)
-Djava.library.path always overwritten with some default
--------------------------------------------------------
Key: JBIDE-4346
URL: https://jira.jboss.org/jira/browse/JBIDE-4346
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.1.GA
Environment: jboss 4.2.2.GA
eclipse:
Version: 3.4.2
Build id: M20090211-1700
Reporter: arne anka
in the launch configuration for my configured jboss server i need to add another directory to the parameter -Djava.library.path.
after editing it looks like
-Djava.library.path="/home/arne/jboss-4.2.2.GA/bin/native:/foo/bar/"
saving and reopening shows instead
-Djava.library.path="/home/arne/jboss-4.2.2.GA/bin/native"
adding another parameter instead
-Djava.library.path="/foo/bar"
resulting in
-Djava.library.path="/home/arne/jboss-4.2.2.GA/bin/native"
-Djava.library.path="/foo/bar"
ends up with
-Djava.library.path="/home/arne/jboss-4.2.2.GA/bin/native"
-Djava.library.path="/home/arne/jboss-4.2.2.GA/bin/native"
after saving
obviously some simple logic checks for the existence of the -Djava.library.path parameter and overwrites it with a default instead of at least appending its default.
i don't really see what's the meaning behind that, and therefore am convinced it has to be a bug.
additionally, it stops me from running at least one webapp, that requires the parameter to be set correctly.
--
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
14 years
[JBoss JIRA] Created: (JBIDE-7279) Provide support for JAX-WS 2.2 APIs
by Lukas Jungmann (JIRA)
Provide support for JAX-WS 2.2 APIs
-----------------------------------
Key: JBIDE-7279
URL: https://jira.jboss.org/browse/JBIDE-7279
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Affects Versions: 3.2.0.Beta1
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
[this is to be checked against JBossAS 6.0M5 or newer]
for a project which has target runtime set to JBossAS6/uses JBossWS 3.3.x
-user should be allowed to set JAX-WS spec version in a top-down web service and web service client wizards to 2.2
-editor should not show errors for following generated type of constructor:
public Info(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
(in the other words editor/ide has to know about APIs from $JBOSS_HOME/lib/endorsed)
--
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
14 years