Skip to Content
0
Former Member
Oct 01, 2009 at 06:58 AM

can not add sql server table to report, Unexpected ValueType

49 Views

on Eclipse 3.5 with crystal report,

can not drag sql server table from data sourcce explorer to report,

how to fix it?

thanks,

David

error log:

!ENTRY com.businessobjects.RCPRuntimeUtilities 4 0 2009-10-01 14:42:19.004

!MESSAGE 無法 新增物件。

Unexpected ValueType

!STACK 0

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: 無法 新增物件。

Unexpected ValueType---- Error code:-2147215362 Error code name:unknownError

at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:65)

at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.throwExecFailure(ReportCommand.java:253)

at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.internalDoCommand(ReportCommand.java:126)

at com.businessobjects.crystalreports.designer.core.commands.ReportCommand.execute(ReportCommand.java:237)

at com.businessobjects.crystalreports.designer.uibase.gef.commands.CoreCommand.execute(CoreCommand.java:70)

at com.businessobjects.crystalreports.designer.dseintegration.AddTableAction.run(AddTableAction.java:110)

at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

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:368)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)

at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected ValueType---- Error code:-2147467259 Error code name:failed

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)

at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)

at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)

at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.IllegalArgumentException: Unexpected ValueType

at com.crystaldecisions.reports.common.Utils.a(SourceFile:97)

at com.crystaldecisions.reports.common.Utils.a(SourceFile:151)

at com.businessobjects.reports.sdk.builder.ConnectionDatabaseBuilder.a(SourceFile:275)

at com.businessobjects.reports.sdk.builder.ConnectionDatabaseBuilder.a(SourceFile:357)

at com.businessobjects.reports.sdk.builder.EROMDatabaseBuilder.a(SourceFile:185)

at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1112)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)

... 16 more

!SUBENTRY 1 com.businessobjects.RCPRuntimeUtilities 4 0 2009-10-01 14:42:19.004

!MESSAGE 原因: Unexpected ValueType

!STACK 0

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected ValueType---- Error code:-2147467259 Error code name:failed

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)

at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)

at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)

at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.IllegalArgumentException: Unexpected ValueType

at com.crystaldecisions.reports.common.Utils.a(SourceFile:97)

at com.crystaldecisions.reports.common.Utils.a(SourceFile:151)

at com.businessobjects.reports.sdk.builder.ConnectionDatabaseBuilder.a(SourceFile:275)

at com.businessobjects.reports.sdk.builder.ConnectionDatabaseBuilder.a(SourceFile:357)

at com.businessobjects.reports.sdk.builder.EROMDatabaseBuilder.a(SourceFile:185)

at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1112)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)

... 16 more

!SUBENTRY 1 com.businessobjects.RCPRuntimeUtilities 4 0 2009-10-01 14:42:19.035

!MESSAGE 原因: Unexpected ValueType

!STACK 0

java.lang.IllegalArgumentException: Unexpected ValueType

at com.crystaldecisions.reports.common.Utils.a(SourceFile:97)

at com.crystaldecisions.reports.common.Utils.a(SourceFile:151)

at com.businessobjects.reports.sdk.builder.ConnectionDatabaseBuilder.a(SourceFile:275)

at com.businessobjects.reports.sdk.builder.ConnectionDatabaseBuilder.a(SourceFile:357)

at com.businessobjects.reports.sdk.builder.EROMDatabaseBuilder.a(SourceFile:185)

at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1112)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)

at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)

at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)

at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)

at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:619)

!SUBENTRY 1 com.businessobjects.RCPRuntimeUtilities 1 1 2009-10-01 14:42:19.035

!MESSAGE Plug-in 資訊: Business Objects, an SAP company - 12.2.203.r678