Error in CBS:Unsupported character: 3f
hi all,
We've got a serious problem:when I activate an active(create a model,and add some model data types),an error is shown,the whole error is like this,basically it talks about"Unsupported character: 3f" in xlf file.
LoadException: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 3f(file:F:/usr/sap/EPL/JC00/j2ee/cluster/server0/temp/CBS/35/.B/132/DCs/com.htso/dev/somain/_comp/src/packages/com/htso/model/types/Gedatum.dtsimpletype.xlf, row:22, col:119)
[System.err] at com.sap.ide.metamodel.core.i18n.S2XLanguageUnmarshaller.unmarshal(S2XLanguageUnmarshaller.java:74)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.loadLanguageState(TextPoolProxy.java:693)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.prepareLanguageForRead(TextPoolProxy.java:636)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.isEmpty(TextPoolProxy.java:217)
[System.err] at com.sap.dictionary.designtime.DtHelper.check(DtHelper.java:244)
[System.err] at com.sap.dictionary.designtime.DtSimpleTypeExpanded.localCheck(DtSimpleTypeExpanded.java:381)
[System.err] at com.sap.dictionary.designtime.DtSimpleTypeExpanded.add(DtSimpleTypeExpanded.java:599)
[System.err] at com.sap.dictionary.designtime.DtSimpleTypeExpanded.add(DtSimpleTypeExpanded.java:591)
[System.err] at com.sap.dictionary.designtime.DtSimpleTypeExpanded.expand(DtSimpleTypeExpanded.java:153)
[System.err] at com.sap.dictionary.designtime.DtSimpleTypeExpanded.<init>(DtSimpleTypeExpanded.java:101)
[System.err] at com.sap.dictionary.tools.generation.Generation.generatePersistentSimpleType(Generation.java:398)
[System.err] at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:148)
[System.err] at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:47)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:324)
[System.err] at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:219)
[System.err] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[System.err] at org.apache.tools.ant.Task.perform(Task.java:364)
[System.err] at org.apache.tools.ant.Target.execute(Target.java:341)
[System.err] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[System.err] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[System.err] at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:111)
[System.err] at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:62)
[System.err] at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:222)
[System.err] at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:199)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:324)
[System.err] at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:112)
[System.err] at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:44)
[System.err] at com.sap.tc.buildtool.PluginHandler1.handlePluginCommunication(PluginHandler1.java:111)
[System.err] at com.sap.tc.buildtool.PluginHandler1.execute(PluginHandler1.java:56)
[System.err] at com.sap.tc.buildtool.PluginHandler1.build(PluginHandler1.java:50)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:111)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
[System.err] at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:168)
[System.err] Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 3f(file:F:/usr/sap/EPL/JC00/j2ee/cluster/server0/temp/CBS/35/.B/132/DCs/com.htso/dev/somain/_comp/src/packages/com/htso/model/types/Gedatum.dtsimpletype.xlf, row:22, col:119)(file:F:/usr/sap/EPL/JC00/j2ee/cluster/server0/temp/CBS/35/.B/132/DCs/com.htso/dev/somain/_comp/src/packages/com/htso/model/types/Gedatum.dtsimpletype.xlf, row=22, col=119) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 3f(file:F:/usr/sap/EPL/JC00/j2ee/cluster/server0/temp/CBS/35/.B/132/DCs/com.htso/dev/somain/_comp/src/packages/com/htso/model/types/Gedatum.dtsimpletype.xlf, row:22, col:119)
[System.err] at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:145)
[System.err] at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
[System.err] at com.sap.s2x.S2XDocument.loadRSX(S2XDocument.java:4213)
[System.err] at com.sap.s2x.S2XDocument.loadRSX(S2XDocument.java:4094)
[System.err] at com.sap.s2x.S2XDocument.<init>(S2XDocument.java:256)
[System.err] at com.sap.ide.metamodel.core.i18n.S2XLanguageUnmarshaller.unmarshal(S2XLanguageUnmarshaller.java:42)
[System.err] ... 47 more
[System.err] Caused by: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 3f(file:F:/usr/sap/EPL/JC00/j2ee/cluster/server0/temp/CBS/35/.B/132/DCs/com.htso/dev/somain/_comp/src/packages/com/htso/model/types/Gedatum.dtsimpletype.xlf, row:22, col:119)
[System.err] at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:207)
[System.err] at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:205)
[System.err] at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:205)
[System.err] at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:143)
[System.err] at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.loadLastChar(AdvancedXMLStreamReader.java:108)
[System.err] at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.scanByte(AdvancedXMLStreamReader.java:162)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1801)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)
[System.err] at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:204)
[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
[System.err] at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
[System.err] at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:339)
[System.err] at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
[System.err] ... 52 more
I don't know how it happens,and how to solve this.
Can somebody help me? points will be rewarded.Thank you~!
Our portal and NWDI is sp11.
(but component com.sap.portal.connectors.ws is only 7.0010,does this matter?)
Best Regards,
delma
Edited by: delma ma on Jun 16, 2008 1:50 PM
Edited by: delma ma on Jun 16, 2008 1:52 PM
Hi,
Thank you for your reply.
Firstly,The all three scas are imported into the track(or the errors are much more....)
our NWDS is SP12.
And yesterday i removed the model and recreate one.And i found the NWDI is abnormal.(it shows error that all java files and xlf filrs are readonly.),and some automatically created files show compile error.
I do think NWDI is abnormal.but i cannot find where is.
Best regards,
delma
Similar Messages
-
SOAP Adapter - Error because of special character (u00FC - Umlaut) in payload
Hello,
We have a SOAP sync scenario.
SAP -> PI 7.0 -> 3rd Party system
We have a special character (ü - Umlaut) as part of the payload.
When the message enters message pipeline in PI, I can see the payload XML till message branching step.
From Message mapping step, i get the message - "The XML page cannot be displayed. An invalid character was found in text content" in SXMB_MONI.
In communication channel monitoring, I see the following error:
SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)(:main:, row=2, col=2106) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2106)
But, when I pass the same message(with special character) to the 3rd party system using SOAP UI, i get a valid response back.
So, what is going wrong in PI?
Thanks,
ChandraHi Gouri,
you are right. My message is successful in SXMB_MONI, and the error is coming from comm channel monitoring with deliverin to target.
My sender is a proxy, and we can not specify any encoding in proxy sender.
I did not specify any encoding in SOAP Receiver aswell.
This is the sequence in comm channel monitoring:
Success: Delivering to channel: CI_SOAP_Receiver_Sync
Success: MP: Entering module processor
Success: MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
Success: SOAP: request message entering the adapter with user J2EE_GUEST
Error: SOAP: call failed: java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
Error SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046): java.io.IOException: Parsing Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)(:main:, row=2, col=2046) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 72(:main:, row:2, col:2046)
So, what can i do to fix this?
Thanks,
Chandra
Edited by: Chandra Sekhar H on Mar 3, 2011 12:25 PM -
ORA-01482: unsupported character set
Hello,
does anybody have an experience with error message "ORA-01482: unsupported character set" which is displayed instead of the content of page region, which is of type select SQL.
The strange thing with this is that e.g. LOVs are rendered/displayed without such error message and they are also of the same type SQL select - no mater how complex.
- APEX version 3.0.1 in Database version 9.2.0.7.
Thank you for helpful info.
PetrWhat version of Oracle XE did you install?
-Oracle Database 10g Express Edition (Western European) Single-byte LATIN1 database for Western European language storage.
-Oracle Database 10g Express Edition (Universal) Multi-byte Unicode database for all language deployment.
Give us an example of a query that goes wrong.
Regards, Marc -
Hi Guru!
I have a big problem whit a XI graphic-mapping in scenario File -> XI -> IDOC.
Sometimes in my files-data are present specials character, example °.
In these case the mapping don't work and in trace I find error:
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: b0(:main:, row:209, col:37) at ....
Someone have a suggestion?
Thanks
AlexHi Alessandro
You will have to use the ascii representation for special characters. In your case it will be,
°
So your input file should use the above value instead of °
cheers
Sameer -
Character conversion error: Unconvertible UTF-8 character beginning..
Hello,
I'm using TrAX for XSLT transformations, and having a following
problem
Character conversion error: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be too low).
org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be too low).
at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
at org.apache.crimson.parser.Parser2.maybeTextDecl(Parser2.java:2795)
at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2880)
at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at mlts.converter.XMLImport.outputESGML(XMLImport.java:311)
at mlts.converter.Converter.processFile(Converter.java:312)
at mlts.converter.Converter.Convert(Converter.java:229)
at test.main(test.java:7)Following the source code, I've found that the exception is thrown
when it reads DTD. I tried to read DTD using InputSource
in ascii, in latin-1 and my program reads it without any problem.
I really appreciate any help,
Thankshttp://forum.java.sun.com/thread.jsp?forum=34&thread=254927
-
Character conversion error: "Unconvertible UTF-8 character beginning with 0
Hi All,
I developed an Adapter Module and added to Adapter Framework.
package sample;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.ejb.CreateException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import com.sap.aii.af.mp.module.Module;
import com.sap.aii.af.mp.module.ModuleContext;
import com.sap.aii.af.mp.module.ModuleData;
import com.sap.aii.af.mp.module.ModuleException;
import com.sap.aii.af.ra.ms.api.Message;
import com.sap.aii.af.ra.ms.api.XMLPayload;
@ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
@ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
@ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
@ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
@stateless
public class SetAttachmentName implements SessionBean, Module {
private SessionContext myContext;
private String mailFileName = "UStN";
public void ejbRemove() {
public void ejbActivate() {
public void ejbPassivate() {
public void setSessionContext(SessionContext context) {
myContext = context;
public void ejbCreate() throws CreateException {
public ModuleData process(
ModuleContext moduleContext,
ModuleData inputModuleData)
throws ModuleException {
// create a second attachment for the receiver mail adapter
try {
// get the XI message from the environment
Message msg = (Message) inputModuleData.getPrincipalData();
// creating parsable XML document
InputStream XIStreamData = null;
XMLPayload xmlpayload = msg.getDocument();
XIStreamData = xmlpayload.getInputStream();
DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(XIStreamData);
// finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
String absenderIDTag = null;
absenderIDTag = moduleContext.getContextData("<RCVPRN>");
// finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
Element element = doc.getDocumentElement();
NodeList list = doc.getElementsByTagName(absenderIDTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
String anIDTag = null;
anIDTag = moduleContext.getContextData("<CREDAT>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(anIDTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
Date date = new Date(System.currentTimeMillis());
// Add date to the Message
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
mailFileName += "_" + dateFormat.format(date);
String belegNummerTag = null;
belegNummerTag = moduleContext.getContextData("<BULK_REF>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(belegNummerTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
// creating the attachment
byte by[] = xmlpayload.getText().getBytes();
XMLPayload attachmentPDF = msg.createXMLPayload();
attachmentPDF.setName(mailFileName);
attachmentPDF.setContentType("application/pdf");
attachmentPDF.setContent(by);
//adding the message to the attachment
msg.addAttachment(attachmentPDF);
// provide the XI message for returning
inputModuleData.setPrincipalData(msg);
} catch (Exception e) {
// raise exception, when an error occurred
ModuleException me = new ModuleException(e);
throw me;
// return XI message
return inputModuleData;
I get the following error
Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
Any tips, pointers ?
Thanks in Advance
MukhtarHi Henrique,
I am using .getNodeValue()
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.ejb.CreateException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import com.sap.aii.af.mp.module.*;
import com.sap.aii.af.ra.ms.api.*;
@ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
@ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
@ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
@ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
@stateless
public class UStNAttachmentName3 implements SessionBean, Module {
private SessionContext myContext;
private String mailFileName = "UStN";
public void ejbRemove() {
public void ejbActivate() {
public void ejbPassivate() {
public void setSessionContext(SessionContext context) {
myContext = context;
public void ejbCreate() throws CreateException {
public ModuleData process(
ModuleContext moduleContext,
ModuleData inputModuleData)
throws ModuleException {
// create a second attachment for the receiver mail adapter
try {
// get the XI message from the environment
Message msg = (Message) inputModuleData.getPrincipalData();
// creating parsable XML document
InputStream XIStreamData = null;
XMLPayload xmlpayload = msg.getDocument();
XIStreamData = xmlpayload.getInputStream();
DocumentBuilderFactory docBuilderFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(XIStreamData);
// finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
String absenderIDTag = null;
absenderIDTag = moduleContext.getContextData("<RCVPRN>");
// finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
Element element = doc.getDocumentElement();
NodeList list = doc.getElementsByTagName(absenderIDTag);
mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
String anIDTag = null;
anIDTag = moduleContext.getContextData("<CREDAT>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(anIDTag);
mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
Date date = new Date(System.currentTimeMillis());
// Add date to the Message
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
mailFileName += "_" + dateFormat.format(date);
String belegNummerTag = null;
belegNummerTag = moduleContext.getContextData("<BULK_REF>");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(belegNummerTag);
mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
// creating the attachment
byte by[] = xmlpayload.getText().getBytes();
XMLPayload attachmentPDF = msg.createXMLPayload();
attachmentPDF.setName(mailFileName);
attachmentPDF.setContentType("application/pdf");
attachmentPDF.setContent(by);
//adding the message to the attachment
msg.addAttachment(attachmentPDF);
// provide the XI message for returning
inputModuleData.setPrincipalData(msg);
} catch (Exception e) {
// raise exception, when an error occurred
ModuleException me = new ModuleException(e);
throw me;
// return XI message
return inputModuleData;
Still I get the same error.
org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
Adapter-Framework: Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
Regards,
Mukhtar -
Hello,
I have run into a problem with the Solaris Studio 12.3 compiler when building one source file that makes use of the open source Eigen library. The compilation fails with the error:
demangle fatal internal error: information lost in character quoting
CC: fbe failed for CSeasonalComponent.cc
The full command that fails is:
CC -c -o .objs/CSeasonalComponent.o -m64 -g3 -fsimple=1 -O4 -xbuiltin=%all -xlibmil -xlibmopt -xarch=sse3 -xchip=nehalem -nofstore -xalias_level=compatible -features=extensions -errtags +w -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg -library=Crun -library=no%Cstd -KPIC -mt -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY=22 -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 CSeasonalComponent.cc
The problem goes away if the -g3 flag is removed. Replacing -g3 with -g0 does not help - the same fatal error occurs. (Removing the -g0/-g3 options has the effect of not passing a -dbgfile option to the fbe program, and this appears to be what avoids the problem.)
The information in this question is from a Solaris x86 machine, although the same "demangle fatal internal error: information lost in character quoting" also occurs on SPARC with the same source file and similar (although obviously not identical) compiler options.
The result of running the CC command that fails with the -dryrun option added is this:
### CC: Note: NLSPATH = /opt/solarisstudio12.3/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/solarisstudio12.3/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
### command line files and options (expanded):
### -dryrun -c -o.objs/CSeasonalComponent.o -m64 -g3 -fsimple=1 -O4 -xbuiltin=%all -xlibmil -xlibmopt -xarch=sse3 -xchip=nehalem -nofstore -xalias_level=compatible -features=extensions -errtags=yes +w -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg -library=Crun -xcode=pic32 -mt=yes -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY=22 -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 CSeasonalComponent.cc
/opt/solarisstudio12.3/prod/bin/ccfe -xarch=amd64 -D__SunOS_5_10 -D__SUNPRO_CC=0x5120 -D__unix -D__SVR4 -D__sun -D__SunOS -D__x86_64 -D__x86_64__ -D__amd64 -D__amd64__ -D_LP64 -D__LP64__ -D__BUILTIN_VA_STRUCT -Dunix -Dsun -D_REENTRANT -D__SUN_PREFETCH -D__SUNPRO_CC_COMPAT=5 -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 -I-xbuiltin -I/opt/solarisstudio12.3/prod/include/CC -I/opt/solarisstudio12.3/prod/include/cc -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY=22 -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -ptf /tmp/ccfe.04.%1.%2 -features=extensions -ptx /opt/solarisstudio12.3/prod/bin/CC -ptk "-dryrun -c -m64 -g3 -fsimple=1 -O4 -xbuiltin=%all -xlibmil -xlibmopt -xarch=sse3 -xchip=nehalem -nofstore -xalias_level=compatible -features=extensions -errtags=yes +w -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg -library=Crun -library=no%Cstd -xcode=pic32 -mt=yes -I/usr/local/stdcxx/include -I/usr/include -I/usr/local/include -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -D_RWSTD_NO_STRING_MUTEX -D_RWSTD_MINIMUM_STRING_CAPACITY='22' -D_RWSTD_NO_LIST_NODE_BUFFER -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DEIGEN_MPL2_ONLY -DEIGEN_DONT_USE_RESTRICT_KEYWORD -DNDEBUG -I/export/home/dave/source/local/include -I/usr/local/include/boost-1_54 " -compat=5 -g -xdebuginfo=macro -xdbggen=no%stabs+dwarf2+usedonly -xF=%none -xbuiltin=%all -pic -xldscope=global -xivdep=loop -xalias_level=layout -xdepend -O4 -errtags -erroff=anonnotype,anonstruct,badargtype2w,hidef,notemsource,wbadasg +w CSeasonalComponent.cc -ptb .objs/CSeasonalComponent.o -o /tmp/ccfe.01.ir -s /tmp/ccfe.02.sd 2> /tmp/ccfe.03.err
/opt/solarisstudio12.3/prod/bin/iropt -Qy -O4 -xarch=sse3 -m64 -xchip=nehalem -xcache=generic -fsimple=1 -g -depend -mt -k -xalias_level=layout -xbuiltin=%all -xlibmopt -xprefetch=auto,explicit -xprefetch_level=1 -xprefetch_auto_type=no%indirect_array_access -xvector=no%lib,simd -F -o /tmp/iropt.05.ir -is /tmp/ccfe.02.sd /tmp/ccfe.01.ir 2> /tmp/iropt.06.err
rm /tmp/ccfe.01.ir
/opt/solarisstudio12.3/prod/bin/c++filt -filt=no%stdlib < /tmp/iropt.06.err >> /tmp/ccfe.03.err
rm /tmp/iropt.06.err
/opt/solarisstudio12.3/prod/bin/stdlibfilt -stderr < /tmp/ccfe.03.err
rm /tmp/ccfe.03.err
/opt/solarisstudio12.3/prod/bin/ir2hf -Qy -g -O4 -xbuiltin=%all -m64 /tmp/iropt.05.ir /tmp/ccfe.02.sd /tmp/ir2hf.07.hf
rm /tmp/ccfe.02.sd
rm /tmp/iropt.05.ir
/opt/solarisstudio12.3/prod/bin/ube -Qy -verbose -iropt -O4 -comdat -m64 -xarch=sse3 -xchip=nehalem -xcache=generic -xannotate=yes -il /opt/solarisstudio12.3/prod/lib/amd64/libm.il -fsimple=1 -ZW -g -xalias_level=layout -PIC -xbuiltin=%all -N -xprefetch=auto,explicit -xprefetch_level=1 -xthreadvar=dynamic -mt -fbe /opt/solarisstudio12.3/prod/bin/fbe -ipo .objs/CSeasonalComponent.o -dbgfile /tmp/ube.09.dbg -S /tmp/ube.08.s /tmp/ir2hf.07.hf
rm /tmp/ir2hf.07.hf
/opt/solarisstudio12.3/prod/bin/fbe -Qy -xarch=amd64 -xchip=nehalem -warn=%none -o .objs/CSeasonalComponent.o /tmp/ube.08.s -dbgfile /tmp/ube.09.dbg
rm /tmp/ube.08.s
rm /tmp/ube.09.dbg
Running the CC command with the -keeptmp option added leaves these files in /tmp:
-rw-rw-r-- 1 dave dev 0 Dec 11 16:20 /tmp/ccfe.1386778859.8273.03.err
-rw-rw-r-- 1 dave dev 45679331 Dec 11 16:21 /tmp/ccfe.1386778859.8273.01.ir
-rw-rw-r-- 1 dave dev 0 Dec 11 16:21 /tmp/iropt.1386778859.8273.06.err
-rw-rw-r-- 1 dave dev 393220 Dec 11 16:21 /tmp/ccfe.1386778859.8273.02.sd
-rw-rw-r-- 1 dave dev 47820727 Dec 11 16:21 /tmp/iropt.1386778859.8273.05.ir
-rw-rw-r-- 1 dave dev 60490992 Dec 11 16:21 /tmp/ir2hf.1386778859.8273.07.hf
-rw-rw-r-- 1 dave dev 22377791 Dec 11 16:21 /tmp/ube.1386778859.8273.09.dbg
-rw-rw-r-- 1 dave dev 8915850 Dec 11 16:21 /tmp/ube.1386778859.8273.08.s
Finally, creating an fbe command similar to the one from the dry run output using the last two files in /tmp with the -V option added as follows:
/opt/solarisstudio12.3/prod/bin/fbe -V -Qy -xarch=amd64 -xchip=nehalem -warn=%none -o .objs/CSeasonalComponent.o /tmp/ube.1386778859.8273.08.s -dbgfile /tmp/ube.1386778859.8273.09.dbg
results in this:
as: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
demangle fatal internal error: information lost in character quoting
I would be happy to provide the /tmp/ube.1386778859.8273.08.s and /tmp/ube.1386778859.8273.09.dbg files to assist with reproduction of this problem if anyone is interested.The problem with creating a simple test case that doesn't rely on Boost or Eigen is that the error message is so vague that there's no hint about where to start. The pre-processed source of the file that causes the problem is 4.7MB so trying to chop that down without any clue as to what's relevant is going to be very hard.
You could do everyone a favour if future internal error messages contained at least some information about what caused the problem. I know they're not supposed to happen at all, but clearly they occasionally do. For example, instead of:
demangle fatal internal error: information lost in character quoting
something like:
demangle fatal internal error: information lost in character quoting: corrupt symbol is __1cFEigenPPlainObjectBase4n0AGMatrix4CdIBiBiAIBiB___KresizeLike4n0AOGeneralProduct4n0AFBlock4Ckn0AGMatrix4CdIBIB_"""_oops
Then that would give somebody trying to report the problem or change their code to avoid it a starting point for where to look.
Anyway, I've worked around the problem by changing -g3 in the CXXFLAGS in the Makefile to `test $< = CSeasonalComponent.cc || echo -g3` which avoids the error. And hopefully like you say it's a known problem that's already fixed in the next version of Solaris Studio. -
ERROR: Failed to retrieve character view of the report.
While trying to get HTML representation of report I am getting following error trying to get report from crystal reports web services XI R2 (Product: 11.5):
Source code to reproduce:
ViewSupport htmlViewSupport = new ViewSupport();
htmlViewSupport.setOutputFormat(OutputFormatType.HTML);
htmlViewSupport.setViewType(ViewType.CHARACTER);
htmlViewSupport.setViewMode(ViewModeType.REPORT);
RetrieveCharacterView retCharView = new RetrieveCharacterView();
retCharView.setViewSupport(htmlViewSupport);
retBOData = new RetrieveData();
retBOData.setRetrieveView(retCharView);
boDocInfo = oReportEngine.getDocumentInformation(documentCUID, null, null, null, retBOData);
XMLView oBinaryView = (XMLView) boDocInfo.getView();
docContents = ((String) oBinaryView.getContent()).getBytes();
in contrary this works ok (getting PDF):
RetrieveBinaryView oRetrieveBinaryView = new RetrieveBinaryView();
ViewSupport oViewSupport = new ViewSupport();
oViewSupport.setOutputFormat(OutputFormatType.PDF);
oViewSupport.setViewType(ViewType.BINARY);
oViewSupport.setViewMode(ViewModeType.DOCUMENT);
oRetrieveBinaryView.setViewSupport(oViewSupport);
oRetrieveData.setRetrieveView(oRetrieveBinaryView);
// retrieve binary data
boDocInfo = oReportEngine.getDocumentInformation(documentCUID, null, null, null, oRetrieveData);
documentCUID = boDocInfo.getDocumentReference();
BinaryView oBinaryView = (BinaryView) boDocInfo.getView();
docContents = oBinaryView.getContent();
Error:
Failed to retrieve character view of the report. (Error: WRE 02505)
AxisFault
faultCode: Server.generalException
faultSubcode:
faultString: Failed to retrieve character view of the report. (Error: WRE 02505)
faultActor:
faultNode:
faultDetail:
{reportengine.dsws.businessobjects.com}DSWSException:
<ID>2505</ID>
<Message>Failed to retrieve character view of the report. (Error: WRE 02505)</Message>
<Operation>reportengine.dsws.businessobjects.com/getDocumentInformation</Operation>
<CallStackTrace>com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$InvalidViewSupport
at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.validateCharacterViewSupport(Unknown Source)
at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleGetCharacterView(Unknown Source)
at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleRetrieveData(Unknown Source)
at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleActions(Unknown Source)
at com.businessobjects.dsws.wsc.reportengine.CrystalReportEngineSoapImpl.getDocumentInformation(Unknown Source)
at com.businessobjects.dsws.reportengine.ReportEngineSoapImpl.getDocumentInformation(Unknown Source)
at com.businessobjects.dsws.reportengine.ReportEngineSoapSkeleton.getDocumentInformation(Unknown Source)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
</CallStackTrace>
<CauseException>com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$InvalidViewSupport</CauseException>
exceptionName: com.businessobjects.dsws.DSWSException
Failed to retrieve character view of the report. (Error: WRE 02505)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:125)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:111)
at com.businessobjects.dsws.DSWSException.getDeserializer(Unknown Source)
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.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:176)
at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:117)
at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(DeserializationContextImpl.java:466)
at org.apache.axis.encoding.DeserializationContextImpl.getDeserializerForType(DeserializationContextImpl.java:481)
at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:172)
at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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 javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at com.businessobjects.dsws.reportengine.ReportEngineSoapStub.getDocumentInformation(Unknown Source)
at com.businessobjects.dsws.reportengine.ReportEngine.getDocumentInformation(Unknown Source)
at com.mobitel.reports.CrReportPdfGenerator.getPdf(CrReportPdfGenerator.java:289)
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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)I am not using HTML renderer but PDF renderer. See code below:
String format = "pdf";
RetrieveData oRetrieveData = null;
oRetrieveData = new RetrieveData();
if (format == "pdf") {
// Get a Document info object in character view format.
RetrieveBinaryView oRetrieveBinaryView = new RetrieveBinaryView();
ViewSupport oViewSupport = new ViewSupport();
oViewSupport.setOutputFormat(OutputFormatType.PDF);
oViewSupport.setViewType(ViewType.BINARY);
oViewSupport.setViewMode(ViewModeType.REPORT_PAGE);
oRetrieveBinaryView.setViewSupport(oViewSupport);
oRetrieveData.setRetrieveView(oRetrieveBinaryView);
// retrieve binary data
boDocInfo = oReportEngine.getDocumentInformation(documentCUID, null, null, null, oRetrieveData);
documentCUID = boDocInfo.getDocumentReference();
BinaryView oBinaryView = (BinaryView) boDocInfo.getView();
docContents = oBinaryView.getContent();
In the mean time I already figured out that I need to use ViewModeType.REPORT_PAGE as you sugested.
Problem we are having now is that PDF rendering takes at best 6 seconds on pageserver.exe to render report. But if we render it on CR Developer, it renders imediately.
Report is referencing stored procedure on oracle. -
Hi,
I have some data loaded into the data-domain in Endeca 3.0. When I was creating views in studio I repeatedly get this message when I say save view:
Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported language ${DEFAULT_LANGUAGE}
In the workspace.prm file I have set ${DEFAULT_LANGUAGE}=en
May I know why this happening and a remedy for it. Appreciate you help.Hi,
I have some data loaded into the data-domain in Endeca 3.0. When I was creating views in studio I repeatedly get this message when I say save view:
Could not execute view config service request. This usually happens when an invalid view config service request is made, or when a read only Oracle Endeca Server receives a view config service request. Error message: Error applying updates: Unsupported language ${DEFAULT_LANGUAGE}
In the workspace.prm file I have set ${DEFAULT_LANGUAGE}=en
May I know why this happening and a remedy for it. Appreciate you help. -
Hi,
I have a problem with use SDO_NN function in a procedure. In case that I use SDO_NN in a SELECT command, it works. In case that I create an anonymous PL/SQL block, it works. But when I create a procedure, it doesn't work and there is an error: ERROR: PLS-00707: unsupported construct or internal error [2603].
Here is the PL/SQL block, that works:
BEGIN
INSERT INTO K3_BlizkeDFB(SO1, SO2, VZDALENOST)
SELECT distinct
ISO.kod AS SO1, SO.kod AS SO2, MDSYS.SDO_NN_DISTANCE(1) AS VZDAL
FROM StavebniObjektDFB SO, StavebniObjektDFB_INDEX ISO
WHERE SDO_NN(ISO.geom, SO.geom,
'sdo_num_res=4', 1) = 'TRUE'
AND ISO.kod<>SO.kod
AND MDSYS.SDO_NN_DISTANCE(1)<=2;
END;
Here is an attempt to create a procedure that doesn't work:
CREATE OR REPLACE PROCEDURE K1_BlizkeDFB AS
BEGIN
INSERT INTO K3_BlizkeDFB(SO1, SO2, VZDALENOST)
SELECT distinct
ISO.kod AS SO1, SO.kod AS SO2, MDSYS.SDO_NN_DISTANCE(1) AS VZDAL
FROM StavebniObjektDFB SO, StavebniObjektDFB_INDEX ISO
WHERE SDO_NN(ISO.geom, SO.geom,
'sdo_num_res=4', 1) = 'TRUE'
AND ISO.kod<>SO.kod
AND MDSYS.SDO_NN_DISTANCE(1)<=2;
END;
Can someone explain, what's wrong?
Thanks
JindraHi Jindra,
Googling your error message says that this is sqldeveloper issue. You can verify this by compiling your procedure with sqlplus. Sounds like you need to update your software.
Cheers,
Paul -
Mac os x Lion version 10.7.2 installed Gutenprint for my Epson Stylus Photo 1390. Every time I try to print I get the following error message: cgpdftoraster unsupported colorSpace. Any advice would be helpful thanks.
I don't think Lion installed it, rather you did. That said System Preferences>Print & Scan. select your Epson printer and then select Options & Supplies>Driver>Print Using>Select print Software. Then scroll down to the driver you want to use.
-
When i try to download, i get an error message saying unsupported language. It says it can only download in English, English is my language.
What exactly are you attempting to download and where are you located in the world?
-
FMLE will not install because of 1324 error, path has invalid character???
FMLE will not install because of 1324 error, path has invalid character???
Seems to be a somewhat common problem (by google search) for Adobe and Microsoft programs, but nothing on FMLE...
Everything I have tried (from google'd suggestions) has not worked.
I suspect that the installer is trying to install to an invalid path but I cannot find it in the registry or figure out why the error. The program was previously installed and working, but after having some issues I tried to re-install and find myself here!
Any help is greatly appreciated.
HP Pavilllion dv6700 Laptop
Intel Core2Duo T5450
Vista 32-bitSolved!
It would appear previous version could not be uninstalled because of invalid path {somehow over time windows had re-assigned drive letters such that previous location of install on external hard drive F: (as in registry), was now pointing to DVD drive F: and I assume generated the 1324 error, path has invalid character}.
Used Revo Uninstaller to clear all traces of former install and "voila", fresh install of FMLE proceeded successfully.
Hope this helps others with this error code. -
Hi all,
I have a SP, when I try to compile with sqldeveloper I have this error
Error: PLS-00707: unsupported construct or internal error [2603]
If I change "CREATE OR REPLACE PROCEDURE getsimilar AS" with DECLARE (anonymous block) the code work perfectly...
What am I doing wrong?
this is SP
CREATE OR REPLACE PROCEDURE getsimilar AS
id NUMBER;
score NUMBER;
image ORDSYS.ORDImage;
query_signature ORDSYS.ORDImageSignature;
queryimg ORDSYS.ORDIMAGE;
CURSOR getphotos IS
SELECT id, ORDSYS.IMGScore(123) SCORE FROM imgstable WHERE
ORDSYS.IMGSimilar(sign, query_signature,
'color="1.00" shape="1.00" texture="1.00" location="1.00"',20,123) = 1 order by SCORE desc;
BEGIN
queryimg := ORDSYS.ORDIMAGE.init('FILE','BDMVFSUPLOADSEARCHTMP','test.jpeg');
query_signature := ORDSYS.ORDIMAGESIGNATURE.init();
DBMS_LOB.CREATETEMPORARY(query_signature.signature, TRUE);
query_signature.generateSignature(queryimg);
OPEN getphotos;
LOOP
FETCH getphotos INTO id, score;
EXIT WHEN getphotos%NOTFOUND;
DBMS_OUTPUT.PUT_LINE('Image with ID ' || id || ' matches query image. score:' || score);
END LOOP;
CLOSE getphotos;
DBMS_LOB.FREETEMPORARY(query_signature.signature);
END;
Edited by: Reny on 4-apr-2011 6.22Hi
Try creating the procedure without the positional notation in your function call in the cursor (BTW, the positional params should be specified as <param> => <value>, not <param> = <value>). i.e just pass the values to your functional call as shown below and see if it works. Is this what you intend to do?
I also suggest that you try and compile the procedure in SQLPLUS.
CREATE OR REPLACE PROCEDURE getsimilar AS
id NUMBER;
score NUMBER;
image ORDSYS.ORDImage;
query_signature ORDSYS.ORDImageSignature;
queryimg ORDSYS.ORDIMAGE;
CURSOR getphotos IS
SELECT id, ORDSYS.IMGScore(123) SCORE FROM imgstable WHERE
ORDSYS.IMGSimilar(sign, query_signature,
'1.00', '1.00', '1.00','1.00',20,123) = 1 order by SCORE desc;
BEGIN
queryimg := ORDSYS.ORDIMAGE.init('FILE','BDMVFSUPLOADSEARCHTMP','test.jpeg');
query_signature := ORDSYS.ORDIMAGESIGNATURE.init();
DBMS_LOB.CREATETEMPORARY(query_signature.signature, TRUE);
query_signature.generateSignature(queryimg);
OPEN getphotos;
LOOP
FETCH getphotos INTO id, score;
EXIT WHEN getphotos%NOTFOUND;
DBMS_OUTPUT.PUT_LINE('Image with ID ' || id || ' matches query image. score:' || score);
END LOOP;
CLOSE getphotos;
DBMS_LOB.FREETEMPORARY(query_signature.signature);
END;Edited by: GG on Apr 4, 2011 11:25 AM
Edited by: GG on Apr 4, 2011 11:34 AM -
RH10 - HTML Compiler Error (Unsupported Character)
I'm on RH10, working on a project that I've been working on for several months now, and suddenly I'm having a serious problem. When compile the project as HTML help, I'm receiving the following error message at about 80% complete:
"HTML Help settings has insupported characters for the chosen language. Do you want to continue..."
I've seen a couple of topics in the forums that mention this error, but they seem to be dealing with foreign language settings. In my case, the entire project is in English and does not use any special characters that I know of.
I have WebHelp set as my primary output, but I need to create a CHM file of this project as well.
WebHelp seems to compile without a problem. I only see this error when I attempt to complie as HTML help.
"Warning: The size of stop file has to be limited in 512 bytes.
Warning: Data loss in converting Index data using choosen language.
C:\AMX Docs\AMX-CDI\!SSL!\Microsoft_HTML_Help\!chm_tmp_folder_0\AMX-CDI.hhp
Microsoft HTML Help Compiler 4.74.8702
Compiling c:\AMX Docs\AMX-CDI\!SSL!\Microsoft_HTML_Help\AMX-CDI.chm
AMX-CDI.hhc
Fatal Error: Unexpected error from Microsoft HTML compiler.
Finished compiling HTMLHELP in 138 sec(s)
Compilation complete."
I have tried the tried and true trick of deleting the CPD file, but that hasn't changed anything...
Also tried switching the project language setting from "default" to "English (US)", that didn't affect anything either...
It seems like RH is trying to deal with foreign language characters, but again I am not aware of any ni my project.
Any ideas would be greatly appreciated - thanks!
-lcHi LC,
First of all, can you please check the file name of all your topics and verify if you have any special character in the file name or not?
Before trying out any of the steps given below, can you try generating your SSL output on a New Folder at C:/ root (C:/NewFolder) and see if that works, I noticed that in your path you have a special character "-" by the name . (C:\AMX Docs\AMX-CDI\!SSL!\Microsoft_HTML_Help\!chm_tmp_folder_0\AMX-CDI.hhp)
1) C:\Users\UserName\AppData\Roaming\Microsoft\HTML Help\
Rename the hh.dat file and then try regeneration of help.
2) Create a New Folder inside the C: Drive (root) and publish your CHM to this New Folder rather than the default path of project inside !SSL! The key here is the CHM should not be buried under multi-level folder hierarchy.
3) Try running RoboHelp In Admin Mode – Create a new SSL as Microsoft HTML help, set it as Default SSL and Then Regenerate the output.
4) Make sure the CHM is not generate on network, as it requires Windows registries to generate the CHM< using Microsoft CHM Engine, it is better that you have admin rights as well as work locally, else you might get a “Failed to Navigate data”
Let me know if that persists.
Thanks,
Anjaneai
Maybe you are looking for
-
Error invoking a bpel through ESB RS
Hi Guys, I have a problem which i can not solve. I have a ESB RS which captures the request then pass it to a bpel where i have 3 partnerlinks and 5 paralel sequences. When send a requet then the Bpel tries to access the end services defined in partn
-
Default text in the body of mail when sent to vendor thru PO
Dear friends, We need to put in the email body a message to vendor. We wrote in the tcode NACE a message in the text field and the email was generated , but without the text body ! The attachment has been generated correctly. but no text in the body
-
Hi! The tree\LAN has 3 servers: 1.NW6.5 sp 8 with BorderManager 3.9 sp2 2.NOWS SBE 2.5 3.NOWS SBE 2.0 I need to add two users to the BorderManager PROXY (first server). They can't login through the FireFox browser. The users where deleted by mistake,
-
Magic Mouse Primary and Secondary Clicks Switched
Recently I picked up a Magic Mouse and have since found some very strange things that I don't know how to fix: The primary and secondary clicks are switched. As in, under mouse settings when I select the secondary click to be on the right, only the p
-
How to display a confirmation message before deletion
Hi, I have an application and I want to display a confirmation message before people delete a record. The button on page 42 is number 90 "Supprimer cette fiche". It is a Submit as "DELETE_ALL". I have seen that the delete buttons are redirections