# JPedal not working. Alternative for Servoy 8?

**URL:** <https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642>\
**Category:** Classic Servoy\
**Created:** [November 24, 2015, 7:57pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642 "2015-11-24T19:57:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [November 24, 2015, 7:57pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/1 "2015-11-24T19:57:30Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [November 25, 2015, 8:09am UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/2 "2015-11-25T08:09:15Z")

</div>

Hi,

I’ve seen an earlier reply on the JasperReports plugin where you also state that this doesn’t work in Servoy 8.  
I find that rather strange, as - according to Servoy - v8 is basically v7 + ng-client.  
Under the hood the code for smart- + webclient should be the same as the latest v7 release (at least for now)

I verified this again and it seems like your problems are due to the Java version.  
Servoy has no known issues of plugins not working ‘because of servoy 8’, this is simply not true.

To answer your question (which I partly did):  
jpedal bean should just work in smart-client, check with a different Java version to see if that solves your issue.

As it’s a swing component, this bean has never (and will never) work in web-client/ng-client.  
For this purpose, have a look at pdf.js which has been demoed by Sanneke Aleman at ServoyWorld 2014.  
You can find the slides here: [https://servoy.com/forum/viewtopic.php? … 4&start=15](https://servoy.com/forum/viewtopic.php?f=14&t=20614&start=15)

Hope this helps

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [November 25, 2015, 8:43am UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/3 "2015-11-25T08:43:30Z")

</div>

Hello Marc,  
thanks for your reply.  
Now I have a local installed Servoy 7.4.5 and Servoy 8.0.1. developer to test it.  
With Servoy 7.4.5 I can use the jpedal bean on my forms (move it around on the form in edit mode etc.).  
With Servoy8 the bean is visible on the form but it’s only visible and I can’t change anything to it. If I wanna move the bean I get an error. So I think the plugin is broken in Servoy 8.

I don’t understand it. Why should this be a problem with my Java version and how have you verified this?

Regarding the JasperReports plugin: I don’t know why v4 is not working with Servoy 8. Look at [https://support.servoy.com/browse/SVY-9090](https://support.servoy.com/browse/SVY-9090).

Iam loosing hours of time to find workarounds because of not working things in Servoy… Now I give pdf.js a try to run in smartClient…

 ![error1.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/c/c9523203ba604ea45d310b6dfe6f71bd25290873.png)

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [November 25, 2015, 11:35am UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/4 "2015-11-25T11:35:58Z")

</div>

Hi Michael,

just get some things straight here:  
you’re initially saying the jpedal bean doesn’t work in application server.  
Now you’re referring to developer: which form editor are you using in v8?  
I can imagine this will work differently in the new editor, but if you use the classic editor again this shouldn’t be any problem.

About my verification: I verified v8 being essentially the same as v7 (smart-/webclient)  
If anything will behave differently most likely this is a different java version.

I’m quite surprised/shocked you get the advice to run alpha ![:!:]( "Exclamation") versions of the JasperPlugin.  
Until now I’ve only heard people having issues with that version (running Servoy v7)

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [November 25, 2015, 12:00pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/5 "2015-11-25T12:00:12Z")

</div>

Just tried the jpedal bean in Servoy 8, legacy form editor.  
I can drop the bean on the form but the moment I try to move it in place I get an error.  
The dialog it throws up doesn’t tell you anything (it’s empty) but the workspace .log file does show 2 errors.

```auto
!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)

```

java.version=1.7.0\_04  
java.vm.info=mixed mode  
java.vm.name=Java HotSpot™ 64-Bit Server VM  
java.vm.specification.name=Java Virtual Machine Specification  
java.vm.specification.vendor=Oracle Corporation  
java.vm.specification.version=1.7  
java.vm.vendor=Oracle Corporation  
java.vm.version=23.0-b21

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [November 25, 2015, 12:11pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/6 "2015-11-25T12:11:30Z")

</div>

Hey Marc.  
Yes, first I thought jpedal bean is only not working on the application server because if I start the smartclient in developer I have a preview of my pdf documents.  
After that I checked my code in the developer and on form itself I recognized that the bean isn’t really available and I get errors on the bean. That’s really strange, the bean shows the pdf in developer but I can’t change anything for the bean in the editor. Clicking on the bean in the editor doesn’t recognize the click, the properties from the form are shown… I don’t know how I can get it running again…  
Iam using the classic editor.  
Now I tried the pdf.js but I doesn’t run in the smartclient for me. Maybe Iam doing something wrong. In webclient it’s running fine.  
Tried it in the smartclient with a htmlArea (runs fine in Webclient, empty in Smartclient) and with scopes.svyJFXWebView.WebViewPanel (shows only the pdf.js viewer without the pdf in smartClient).  
Do you have a working form in smartClient?

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [November 25, 2015, 12:18pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/7 "2015-11-25T12:18:39Z")

</div>

Hello Robert,  
good idea with the workspace log. I have an error, too, but looks a little bit different:

```auto
!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

```

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [November 25, 2015, 1:04pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/8 "2015-11-25T13:04:00Z")

</div>

html area will not work for sure.  
this html implementation is very limited in java.  
Therefor you should at least run JavaFX which you did by invoking scopes.svyJFXWebView.WebViewPanel  
Are you sure the path to your pdf can be reached from inside the webviewpanel?

I tend to keep away from the JavaFX panel.  
Therefor using jPedal bean in smart-client.

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [November 25, 2015, 1:11pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/9 "2015-11-25T13:11:26Z")

</div>

I see. Yes, the pdf is reachable and the path is ok. Tried it directly within the webbrowser(chrome/firefox) and that works.  
I think I go back to Servoy 7.4.5 because in my opinion Servoy 8.0.1 is not tested enough and no stable version.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [November 25, 2015, 1:26pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/10 "2015-11-25T13:26:27Z")

</div>

i fixed the null pointer in the designer (that only happens with swing beans), but this has nothing to do with the smartclient on a app server, for that there shouldn’t be any difference compared to 7.4.5

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [November 25, 2015, 1:27pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/11 "2015-11-25T13:27:23Z")

</div>

the question is more what does the webstart console log tell us when you want to use the jpedal bean in the smart client?

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [November 25, 2015, 2:10pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/12 "2015-11-25T14:10:02Z")

</div>

Hello Johan,  
sorry for the delay. I switched back to Servoy 7.4.5 on my test-server just a few minutes before I read your message. Now back on 8.0.1 with the console log:

```auto
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)

```

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [November 26, 2015, 10:46am UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/13 "2015-11-26T10:46:51Z")

</div>

that still is a result of a problem not the actual problem itself

Because what is shown in screen is a the label that we put in place when a bean is not found or could not be constructed correctly

isn’t there anything above that in the log?

---

<div class="post-metadata">

**Author:** ![briese-it](https://avatars.discourse-cdn.com/v4/letter/b/a698b9/32.png) [@briese-it](https://forum.servoy.com/u/briese-it)\
**Post date:** [November 26, 2015, 11:43am UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/14 "2015-11-26T11:43:57Z")

</div>

No, there was no other warning or error in the log but I figured out something else:  
If I start the smartclient directly on the ApplicationServer, the bean is working. Only client computers get this error and pdf’s are not shown. Tried it on 2 different servoy 8.0.1 application server and on both the same situation. Is there nobody else with the same problem or somebody to reproduce it? It’s really strange.  
Now Iam back on 7.4.5 with the same plugins and everything is running well.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [November 26, 2015, 12:15pm UTC](https://forum.servoy.com/t/jpedal-not-working-alternative-for-servoy-8/18642/15 "2015-11-26T12:15:38Z")

</div>

but a smart client on an application server is also just a cleint just like any other

Are there no changes win the java vm that are used between them?

Or if you clear the java/webstart cache of the other clients what happens then?
