Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Voicetools » DatabaseQuery - not possible to drop to Canvas(OpenVXML 4.0 DatabaseQuery disappears in Canvas)
DatabaseQuery - not possible to drop to Canvas [message #755648] Wed, 09 November 2011 08:29 Go to next message
fantasia1993 is currently offline fantasia1993
Messages: 6
Registered: November 2011
Junior Member
If i Drag and Drop a DatabaseQuery to Canvas, it disappears at the moment, when i drop it. If i save the Canvas later on, following Null-Pointer Exception appears in Eclipse:
Paste it from Eclipse workspace: \.metadata\.log
see logging below...

Installed Components:
- Java6
- Eclipse V3.7.0
- OpenVXML 4.0 (Installed by this Link inside Eclipse: /download.eclipse.org/technology/vtp/helios/

Anyone else, that has the same Problem? Is it possible to use DatabaseQuery Modules in Open VXML 4.0?

Thanks in advance for any ideas and comments!

Wolfgang

logging of Eclipse workspace: \.metadata\.log:

!SESSION 2011-11-09 09:26:46.730 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_AT
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.vtp.desktop.editors.core 4 0 2011-11-09 09:28:07.632
!MESSAGE Could not save file: /VTP_WE_App/Workflow Design/Main Canvas.canvas
!STACK 0
java.lang.NullPointerException
at org.eclipse.vtp.desktop.model.elements.core.internal.PrimitiveElement.writeCustomConfiguration(PrimitiveElement.java:92)
at org.eclipse.vtp.desktop.model.core.internal.DesignWriter.writeElementData(DesignWriter.java:104)
at org.eclipse.vtp.desktop.model.core.internal.DesignWriter.writeDesign(DesignWriter.java:58)
at org.eclipse.vtp.desktop.model.core.internal.DesignWriter.writeDesign(DesignWriter.java:30)
at org.eclipse.vtp.desktop.model.core.internal.DesignDocument.commitWorkingCopy(DesignDocument.java:197)
at org.eclipse.vtp.desktop.editors.core.impl.ApplicationEditor.doSave(ApplicationEditor.java:577)
at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)
at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1509)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4640)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4528)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2530)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Re: DatabaseQuery - not possible to drop to Canvas [message #755871 is a reply to message #755648] Wed, 09 November 2011 22:09 Go to previous messageGo to next message
Randy Childers is currently offline Randy Childers
Messages: 121
Registered: July 2009
Senior Member
Hi Wolfgang--

I'm sorry you were blocked by this, but I'm happy to say we've just
fixed the problem. If you're compiling from source, go ahead and update
now and you should be good to go. If you're using the VTP update site,
the update should be available for you tomorrow.

Thank you and good luck--
Randy


In <j9dctq$7m2$1@news.eclipse.org> fantasia1993 wrote:
> If i Drag and Drop a DatabaseQuery to Canvas, it disappears at the
> moment, when i drop it. If i save the Canvas later on, following Null-
> Pointer Exception appears in Eclipse: Paste it from Eclipse workspace: \.
> metadata\.log see logging below...
>
> Installed Components:
> - Java6
> - Eclipse V3.7.0
> - OpenVXML 4.0 (Installed by this Link inside Eclipse: /download.
> eclipse.org/technology/vtp/helios/
>
> Anyone else, that has the same Problem? Is it possible to use
> DatabaseQuery Modules in Open VXML 4.0?
>
> Thanks in advance for any ideas and comments!
>
> Wolfgang
>
> logging of Eclipse workspace: \.metadata\.log:
>
> !SESSION 2011-11-09 09:26:46.730 -----------------------------------------------
> eclipse.buildId=I20110613-1736
> java.version=1.6.0_24
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_AT
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.vtp.desktop.editors.core 4 0 2011-11-09 09:28:07.
> 632 !MESSAGE Could not save file: /VTP_WE_App/Workflow Design/Main
> Canvas.canvas !STACK 0 java.lang.NullPointerException at org.eclipse.
> vtp.desktop.model.elements.core.internal.PrimitiveElement.
> writeCustomConfiguration(PrimitiveElement.java:92) at org.eclipse.vtp.
> desktop.model.core.internal.DesignWriter.writeElementData(DesignWriter.
> java:104) at org.eclipse.vtp.desktop.model.core.internal.DesignWriter.
> writeDesign(DesignWriter.java:58) at org.eclipse.vtp.desktop.model.
> core.internal.DesignWriter.writeDesign(DesignWriter.java:30) at org.
> eclipse.vtp.desktop.model.core.internal.DesignDocument.
> commitWorkingCopy(DesignDocument.java:197) at org.eclipse.vtp.desktop.
> editors.core.impl.ApplicationEditor.doSave(ApplicationEditor.java:577)
> at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:
> 151) at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.
> java:277) at org.eclipse.jface.operation.ModalContext.
> runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.
> operation.ModalContext.run(ModalContext.java:372) at org.eclipse.
> jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759) at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.
> java:756) at org.eclipse.ui.internal.WorkbenchWindow.run(
> WorkbenchWindow.java:2642) at org.eclipse.ui.internal.SaveableHelper.
> runProgressMonitorOperation(SaveableHelper.java:285) at org.eclipse.
> ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.
> java:264) at org.eclipse.ui.internal.SaveableHelper.savePart(
> SaveableHelper.java:156) at org.eclipse.ui.internal.EditorManager.
> savePart(EditorManager.java:1399) at org.eclipse.ui.internal.
> WorkbenchPage.savePart(WorkbenchPage.java:3416) at org.eclipse.ui.
> internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429) at org.
> eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.
> java:293) at org.eclipse.core.commands.Command.executeWithChecks(
> Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.
> executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.
> internal.handlers.HandlerService.executeCommand(HandlerService.java:
> 169) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(
> WorkbenchKeyboard.java:468) at org.eclipse.ui.internal.keys.
> WorkbenchKeyboard.press(WorkbenchKeyboard.java:786) at org.eclipse.ui.
> internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:
> 885) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.
> filterKeySequenceBindings(WorkbenchKeyboard.java:567) at org.eclipse.
> ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
> at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.
> handleEvent(WorkbenchKeyboard.java:123) at org.eclipse.swt.widgets.
> EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.
> Display.filterEvent(Display.java:1262) at org.eclipse.swt.widgets.
> Widget.sendEvent(Widget.java:1052) at org.eclipse.swt.widgets.Widget.
> sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.
> sendEvent(Widget.java:1062) at org.eclipse.swt.widgets.Widget.
> sendKeyEvent(Widget.java:1104) at org.eclipse.swt.widgets.Widget.
> sendKeyEvent(Widget.java:1100) at org.eclipse.swt.widgets.Widget.
> wmChar(Widget.java:1509) at org.eclipse.swt.widgets.Control.WM_CHAR(
> Control.java:4640) at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.
> java:345) at org.eclipse.swt.widgets.Control.windowProc(Control.java:
> 4528) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972) at
> org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at
> org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2530) at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752) at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at
> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at
> org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.
> eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
> 332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
> Workbench.java:667) at org.eclipse.ui.PlatformUI.
> createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.
> ide.application.IDEApplication.start(IDEApplication.java:123) 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:344) 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:622) at org.eclipse.equinox.launcher.Main.
> basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.
> java:1410)
>
>
Re: DatabaseQuery - not possible to drop to Canvas [message #756001 is a reply to message #755871] Thu, 10 November 2011 12:52 Go to previous messageGo to next message
fantasia1993 is currently offline fantasia1993
Messages: 6
Registered: November 2011
Junior Member
Hi Randy,

thanks for the fast response and fix of the problem!!!
For the first test i used a very simple Database-Query Block.
Now, i have a Problem when exporting the Application to war-file.

Following error occurs:
Error Exporting Web Application
org.xml.sax.SAXParseException: Content is not allowed in prolog.

Is there a log, where more details can be found?
Is this also a bug?

Thanks in advance for comments!
Wolfgang
Re: DatabaseQuery - not possible to drop to Canvas [message #756046 is a reply to message #756001] Thu, 10 November 2011 15:53 Go to previous message
Randy Childers is currently offline Randy Childers
Messages: 121
Registered: July 2009
Senior Member
Hi Wolfgang--

This was an error we inadvertantly introduced when trying to improve
support for using git -- it's been fixed, and the build process for our
update server has been kicked off, so the update should be available via
the update site in about 10 minutes.

good luck,
Randy


In <j9gglc$mpd$1@news.eclipse.org> fantasia1993 wrote:
> Hi Randy,
>
> thanks for the fast response and fix of the problem!!!
> For the first test i used a very simple Database-Query Block.
> Now, i have a Problem when exporting the Application to war-file.
>
> Following error occurs:
> Error Exporting Web Application
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
>
> Is there a log, where more details can be found?
> Is this also a bug?
>
> Thanks in advance for comments!
> Wolfgang
>
Previous Topic:Script-Module causes Runtime error
Next Topic:OpenVXML Prompts view for version 4.0
Goto Forum:
  


Current Time: Tue Sep 16 01:09:05 GMT 2014

Powered by FUDForum. Page generated in 0.10867 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software