Since Servoy 8 the jpedal bean is not working anymore on my application server.
Is there any other option to show pdf documents on forms within smartclient and webclient?
!ENTRY org.eclipse.ui 4 0 2015-11-25 12:54:38.663
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:1225)
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:720)
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:646)
at com.servoy.eclipse.ui.property.PersistPropertySource.registerProperty(PersistPropertySource.java:585)
at com.servoy.eclipse.ui.property.PersistPropertySource.init(PersistPropertySource.java:428)
at com.servoy.eclipse.ui.property.PersistPropertySource.getPropertyDescriptor(PersistPropertySource.java:664)
at com.servoy.eclipse.designer.editor.commands.ToggleCheckboxActionDelegateHandler.calculateChecked(ToggleCheckboxActionDelegateHandler.java:49)
at com.servoy.eclipse.designer.editor.commands.ToggleCheckboxActionDelegateHandler.createSetPropertyRequests(ToggleCheckboxActionDelegateHandler.java:63)
at com.servoy.eclipse.designer.editor.commands.SetPropertyActionDelegateHandler.createRequests(SetPropertyActionDelegateHandler.java:75)
at com.servoy.eclipse.designer.editor.commands.DesignerSelectionActionDelegateHandler.createCommand(DesignerSelectionActionDelegateHandler.java:86)
at com.servoy.eclipse.designer.actions.AbstractEditorActionDelegateHandler.calculateEnabled(AbstractEditorActionDelegateHandler.java:119)
at com.servoy.eclipse.designer.actions.AbstractEditorActionDelegateHandler.selectionChanged(AbstractEditorActionDelegateHandler.java:98)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:273)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:286)
at org.eclipse.ui.internal.ViewerActionBuilder$ViewerContribution.selectionChanged(ViewerActionBuilder.java:182)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247)
at com.servoy.eclipse.designer.editor.ModifiedScrollingGraphicalViewer.fireSelectionChanged(ModifiedScrollingGraphicalViewer.java:93)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131)
at org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:144)
at org.eclipse.gef.SelectionManager.appendSelection(SelectionManager.java:83)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.appendSelection(AbstractEditPartViewer.java:190)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.select(AbstractEditPartViewer.java:599)
at org.eclipse.gef.tools.SelectEditPartTracker.performSelection(SelectEditPartTracker.java:221)
at com.servoy.eclipse.designer.editor.BasePersistGraphicalEditPart$1.performSelection(BasePersistGraphicalEditPart.java:205)
at org.eclipse.gef.tools.SelectEditPartTracker.performConditionalSelection(SelectEditPartTracker.java:167)
at org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown(SelectEditPartTracker.java:92)
at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.java:1091)
at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool.java:514)
at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:245)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMousePressed(DomainEventDispatcher.java:348)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:523)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
!ENTRY com.servoy.eclipse.model 4 0 2015-11-25 12:54:40.056
!MESSAGE Could not set property value for id location on object bean_806 [org.jpedal.PdfDecoder]
!STACK 0
java.lang.NullPointerException
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:1225)
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:720)
at com.servoy.eclipse.ui.property.PersistPropertySource.createPropertyDescriptor(PersistPropertySource.java:646)
at com.servoy.eclipse.ui.property.PersistPropertySource.registerProperty(PersistPropertySource.java:585)
at com.servoy.eclipse.ui.property.PersistPropertySource.init(PersistPropertySource.java:428)
at com.servoy.eclipse.ui.property.PersistPropertySource.setPropertyValue(PersistPropertySource.java:2154)
at com.servoy.eclipse.designer.editor.BaseRestorableCommand.setPropertyValue(BaseRestorableCommand.java:123)
at com.servoy.eclipse.designer.editor.commands.ChangeBoundsCommand.setBoundsProperty(ChangeBoundsCommand.java:166)
at com.servoy.eclipse.designer.editor.commands.ChangeBoundsCommand.changeBounds(ChangeBoundsCommand.java:215)
at com.servoy.eclipse.designer.editor.commands.ChangeBoundsCommand.changeBounds(ChangeBoundsCommand.java:110)
at com.servoy.eclipse.designer.editor.commands.ChangeBoundsCommand.redo(ChangeBoundsCommand.java:101)
at com.servoy.eclipse.designer.editor.commands.ChangeBoundsCommand.execute(ChangeBoundsCommand.java:89)
at org.eclipse.gef.commands.CompoundCommand.execute(CompoundCommand.java:111)
at com.servoy.eclipse.designer.editor.commands.SelectModelsCommandWrapper.execute(SelectModelsCommandWrapper.java:64)
at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:199)
at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:425)
at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:438)
at org.eclipse.gef.tools.DragEditPartsTracker.performDrag(DragEditPartsTracker.java:496)
at org.eclipse.gef.tools.DragEditPartsTracker.handleButtonUp(DragEditPartsTracker.java:351)
at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1200)
at org.eclipse.gef.tools.SelectionTool.mouseUp(SelectionTool.java:574)
at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:301)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:380)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:548)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
!ENTRY org.eclipse.ui 4 0 2015-11-25 13:16:27.080
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
!ENTRY com.servoy.eclipse.model 4 0 2015-11-25 13:16:28.038
!MESSAGE Could not set property value for id location on object bean_pdf_preview [org.jpedal.PdfDecoder]
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.ui 4 0 2015-11-25 13:16:30.062
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:4491)
at org.eclipse.swt.SWT.error(SWT.java:4406)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
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:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
Caused by: java.lang.NullPointerException
Nov 25, 2015 3:08:50 PM com.servoy.j2db.util.Debug error
SCHWERWIEGEND: TypeError: Cannot find function closePdfFile in object com.servoy.j2db.smart.dataui.ComponentJLabel[bean_pdf_preview,0,6,1320x767,invalid,hidden,disabled,alignmentX=0.0,alignmentY=0.0,border=,flags=92274976,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=bean missing org.jpedal.PdfDecoder,verticalAlignment=CENTER,verticalTextPosition=CENTER]. (br_boss_crewing_docu/forms/br_boss_crewing_docu_docViewer/loadPdfFile#136)
org.mozilla.javascript.EcmaError: TypeError: Cannot find function closePdfFile in object com.servoy.j2db.smart.dataui.ComponentJLabel[bean_pdf_preview,0,6,1320x767,invalid,hidden,disabled,alignmentX=0.0,alignmentY=0.0,border=,flags=92274976,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=bean missing org.jpedal.PdfDecoder,verticalAlignment=CENTER,verticalTextPosition=CENTER]. (br_boss_crewing_docu/forms/br_boss_crewing_docu_docViewer/loadPdfFile#136)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3772)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3756)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3777)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3793)
at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3855)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2316)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2283)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:105)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_docViewer_loadPdfFile_1071._c_loadPdfFile_0(br_boss_crewing_docu/forms/br_boss_crewing_docu_docViewer/loadPdfFile:136)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_docViewer_loadPdfFile_1071.call(br_boss_crewing_docu/forms/br_boss_crewing_docu_docViewer/loadPdfFile)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:88)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_docViewer_loadMedia_1069._c_loadMedia_0(br_boss_crewing_docu/forms/br_boss_crewing_docu_docViewer/loadMedia:84)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_docViewer_loadMedia_1069.call(br_boss_crewing_docu/forms/br_boss_crewing_docu_docViewer/loadMedia)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:107)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_preview_dtl_showMedia_1068._c_showMedia_0(br_boss_crewing_docu/forms/br_boss_crewing_docu_preview_dtl/showMedia:75)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_preview_dtl_showMedia_1068.call(br_boss_crewing_docu/forms/br_boss_crewing_docu_preview_dtl/showMedia)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:97)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_preview_dtl_onShowForm_1067._c_onShowForm_0(br_boss_crewing_docu/forms/br_boss_crewing_docu_preview_dtl/onShowForm:150)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_preview_dtl_onShowForm_1067.call(br_boss_crewing_docu/forms/br_boss_crewing_docu_preview_dtl/onShowForm)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:406)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3204)
at org.mozilla.javascript.gen.br_boss_crewing_docu_forms_br_boss_crewing_docu_preview_dtl_onShowForm_1067.call(br_boss_crewing_docu/forms/br_boss_crewing_docu_preview_dtl/onShowForm)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:654)
at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:1063)
at com.servoy.j2db.BasicFormController.executeFormMethod(BasicFormController.java:782)
at com.servoy.j2db.BasicFormController.executeOnShowMethod(BasicFormController.java:651)
at com.servoy.j2db.BasicFormController.access$2(BasicFormController.java:645)
at com.servoy.j2db.BasicFormController$1.run(BasicFormController.java:385)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Users browsing this forum: No registered users and 9 guests