org.openas2.WrappedException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.

openas2 | jayw7 | 10 years ago
  1. 0

    Error loading configuration

    openas2 | 10 years ago | jayw7
    org.openas2.WrappedException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
  2. 0

    I exported a theme to a file, reinstall an Aptana Studio, but when I try import it, nothing happened. {code} !ENTRY com.aptana.plist 4 0 2012-01-05 09:21:37.910 !MESSAGE (Build 3.0.0.1319725619) [ERROR] The content of elements must consist of well-formed character data or markup. !STACK 0 org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at com.aptana.plist.xml.XMLPListParser.parse(XMLPListParser.java:85) at com.aptana.plist.PListParserFactory.parse(PListParserFactory.java:33) at com.aptana.theme.TextmateImporter.parse(TextmateImporter.java:139) at com.aptana.theme.TextmateImporter.convertToProperties(TextmateImporter.java:72) at com.aptana.theme.TextmateImporter.convert(TextmateImporter.java:55) at com.aptana.theme.preferences.ThemePreferencePage.widgetSelected(ThemePreferencePage.java:1318) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at com.aptana.theme.internal.OpenThemePreferencesHandler$1.runInUIThread(OpenThemePreferencesHandler.java:43) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) !ENTRY com.aptana.theme 4 0 2012-01-05 09:21:37.921 !MESSAGE (Build 3.0.0.1320258654) [ERROR] null !STACK 0 java.lang.NullPointerException at com.aptana.theme.TextmateImporter.convertToProperties(TextmateImporter.java:74) at com.aptana.theme.TextmateImporter.convert(TextmateImporter.java:55) at com.aptana.theme.preferences.ThemePreferencePage.widgetSelected(ThemePreferencePage.java:1318) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at com.aptana.theme.internal.OpenThemePreferencesHandler$1.runInUIThread(OpenThemePreferencesHandler.java:43) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) {code}

    Appcelerator JIRA | 5 years ago | Matej Szendi
    org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
  3. 0

    I exported a theme to a file, reinstall an Aptana Studio, but when I try import it, nothing happened. {code} !ENTRY com.aptana.plist 4 0 2012-01-05 09:21:37.910 !MESSAGE (Build 3.0.0.1319725619) [ERROR] The content of elements must consist of well-formed character data or markup. !STACK 0 org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at com.aptana.plist.xml.XMLPListParser.parse(XMLPListParser.java:85) at com.aptana.plist.PListParserFactory.parse(PListParserFactory.java:33) at com.aptana.theme.TextmateImporter.parse(TextmateImporter.java:139) at com.aptana.theme.TextmateImporter.convertToProperties(TextmateImporter.java:72) at com.aptana.theme.TextmateImporter.convert(TextmateImporter.java:55) at com.aptana.theme.preferences.ThemePreferencePage.widgetSelected(ThemePreferencePage.java:1318) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at com.aptana.theme.internal.OpenThemePreferencesHandler$1.runInUIThread(OpenThemePreferencesHandler.java:43) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) !ENTRY com.aptana.theme 4 0 2012-01-05 09:21:37.921 !MESSAGE (Build 3.0.0.1320258654) [ERROR] null !STACK 0 java.lang.NullPointerException at com.aptana.theme.TextmateImporter.convertToProperties(TextmateImporter.java:74) at com.aptana.theme.TextmateImporter.convert(TextmateImporter.java:55) at com.aptana.theme.preferences.ThemePreferencePage.widgetSelected(ThemePreferencePage.java:1318) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211) at com.aptana.theme.internal.OpenThemePreferencesHandler$1.runInUIThread(OpenThemePreferencesHandler.java:43) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) {code}

    Appcelerator JIRA | 5 years ago | Matej Szendi
    org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement

    Coderanch | 6 years ago | R Srini
    org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
  6. 0

    An invalid XML character (Unicode: 0xc) was found

    Stack Overflow | 6 years ago | Ashish
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xc) was found in the element content of the document.

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      The content of elements must consist of well-formed character data or markup.

      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse()
    2. Java RT
      DocumentBuilder.parse
      1. com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
      2. com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      3. javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      3 frames
    3. org.openas2.partner
      XMLPartnershipFactory.init
      1. org.openas2.partner.XMLPartnershipFactory.load(XMLPartnershipFactory.java:114)
      2. org.openas2.partner.XMLPartnershipFactory.refresh(XMLPartnershipFactory.java:101)
      3. org.openas2.partner.XMLPartnershipFactory.init(XMLPartnershipFactory.java:96)
      3 frames
    4. org.openas2.util
      XMLUtil.getComponent
      1. org.openas2.util.XMLUtil.getComponent(XMLUtil.java:41)
      1 frame
    5. org.openas2
      XMLSession.<init>
      1. org.openas2.XMLSession.loadPartnerships(XMLSession.java:128)
      2. org.openas2.XMLSession.load(XMLSession.java:82)
      3. org.openas2.XMLSession.<init>(XMLSession.java:46)
      3 frames
    6. org.openas2.app
      OpenAS2Server.main
      1. org.openas2.app.OpenAS2Server.start(OpenAS2Server.java:32)
      2. org.openas2.app.OpenAS2Server.main(OpenAS2Server.java:17)
      2 frames