java.lang.RuntimeException: the padding was invalid

GitHub | bmoylan | 5 months ago
  1. 0

    Clearer error message for incorrect encryption key

    GitHub | 5 months ago | bmoylan
    java.lang.RuntimeException: the padding was invalid
  2. 0

    [Glassfish] [HTTPS] Сonnection breaks every few seconds

    GitHub | 4 years ago | freeflyer
    java.lang.RuntimeException: bytebuffer padding error
  3. 0

    Bug reported in forum : topic:151 When you have a Table in 'mysql' with a type 'bit' Field, if the default value is defined, it's mean that is \0 value. When we retrieve this schema, it doesn't work because this charachter is an unauthorized character for Emf Model. After the workspace is corrupted. The first Exception returned (when you want finish the Wizard): java.lang.RuntimeException: An invalid XML character (Unicode: 0x0) was found in the element content: at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl$Escape.convert(XMLSaveImpl.java:3020) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.getDatatypeValue(XMLSaveImpl.java:2754) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveDataTypeSingle(XMLSaveImpl.java:1531) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1118) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2458) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1032) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:918) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2178) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1386) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2458) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1032) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:918) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2178) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1386) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2458) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.writeTopObject(XMLSaveImpl.java:617) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveImpl.java:549) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl.java:233) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLResourceImpl.java:203) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:993) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:881) at org.talend.repository.localprovider.model.XmiResourceManager.saveResource(XmiResourceManager.java:166) at org.talend.repository.localprovider.model.LocalRepositoryFactory.save(LocalRepositoryFactory.java:905) at org.talend.repository.model.ProxyRepositoryFactory.save(ProxyRepositoryFactory.java:584) at org.talend.repository.ui.wizards.metadata.table.database.DatabaseTableWizard.saveMetaData(DatabaseTableWizard.java:140) at org.talend.repository.ui.wizards.metadata.table.database.DatabaseTableWizard.performFinish(DatabaseTableWizard.java:117) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355) at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.talend.repository.ui.actions.metadata.CreateTableAction.handleWizard(CreateTableAction.java:449) at org.talend.repository.ui.actions.metadata.CreateTableAction.createDatabaseTableWizard(CreateTableAction.java:436) at org.talend.repository.ui.actions.metadata.CreateTableAction.run(CreateTableAction.java:121) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.talend.rcp.intro.Application.run(Application.java:59) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 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.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) The second exception returned (When you cancel the Wizzard): java.lang.ClassCastException: org.talend.core.model.metadata.builder.connection.impl.ConnectionImpl at org.talend.repository.ui.views.RepositoryContentProvider.addNode(RepositoryContentProvider.java:265) at org.talend.repository.ui.views.RepositoryContentProvider.convert(RepositoryContentProvider.java:245) at org.talend.repository.ui.views.RepositoryContentProvider.initialize(RepositoryContentProvider.java:164) at org.talend.repository.ui.views.RepositoryContentProvider.getElements(RepositoryContentProvider.java:81) at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:927) at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1144) at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768) at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:574) at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:543) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2337) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1651) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:955) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1627) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1582) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1568) at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1388) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1323) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1386) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1345) at org.talend.repository.ui.views.RepositoryView.refresh(RepositoryView.java:358) at org.talend.repository.ui.views.RepositoryView.refresh(RepositoryView.java:364) at org.talend.repository.ui.actions.AContextualAction.refresh(AContextualAction.java:100) at org.talend.repository.ui.actions.metadata.CreateTableAction.handleWizard(CreateTableAction.java:451) at org.talend.repository.ui.actions.metadata.CreateTableAction.createDatabaseTableWizard(CreateTableAction.java:436) at org.talend.repository.ui.actions.metadata.CreateTableAction.run(CreateTableAction.java:121) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.talend.rcp.intro.Application.run(Application.java:59) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 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.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)

    Talend Open Integration Solution | 10 years ago | christophe antoine
    java.lang.RuntimeException: An invalid XML character (Unicode: 0x0) was found in the element content:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RuntimeException while serializing EDataObject to XMI when having unusual characters

    Eclipse Bugzilla | 9 years ago | abuehler
    java.lang.RuntimeException: An invalid XML character (Unicode: 0x2) was found in the element content:_©ø©þ_
  6. 0

    File bug for Invalid Unicode An invalid XML character (Unicode: 0x16)

    GitHub | 8 months ago | jonpasski
    java.lang.RuntimeException: An invalid XML character (Unicode: 0x16) was found in the element content:\u0016FooBar

    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. java.lang.RuntimeException

      the padding was invalid

      at com.palantir.config.crypto.util.Suppliers.silently()
    2. com.palantir.config
      DecryptingVariableSubstitutor$DecryptingStringLookup.lookup
      1. com.palantir.config.crypto.util.Suppliers.silently(Suppliers.java:42)[encrypted-config-value-0.1.5.jar:na]
      2. com.palantir.config.crypto.algorithm.AesAlgorithm.getDecryptedString(AesAlgorithm.java:88)[encrypted-config-value-0.1.5.jar:na]
      3. com.palantir.config.crypto.EncryptedValue.getDecryptedValue(EncryptedValue.java:40)[encrypted-config-value-0.1.5.jar:na]
      4. com.palantir.config.crypto.EncryptedValue.getDecryptedValue(EncryptedValue.java:53)[encrypted-config-value-0.1.5.jar:na]
      5. com.palantir.config.crypto.DecryptingVariableSubstitutor$DecryptingStringLookup.lookup(DecryptingVariableSubstitutor.java:31)[encrypted-config-value-bundle-0.1.5.jar:na]
      5 frames
    3. Commons Lang
      StrSubstitutor.substitute
      1. org.apache.commons.lang3.text.StrSubstitutor.resolveVariable(StrSubstitutor.java:922)[commons-lang3-3.4.jar:3.4]
      2. org.apache.commons.lang3.text.StrSubstitutor.substitute(StrSubstitutor.java:843)[commons-lang3-3.4.jar:3.4]
      2 frames