Jump to content
  • Null pointer error on QRBarcode Properties


    ivanct
    Assigned User morlandin
    CategoryBug report
    Component: 10310
    PriorityHigh
    ReproducibilityAlways
    ResolutionFixed
    SeverityMinor
    StatusResolved
    Versionv6.0.3

    When adding an element barcode of type QRCode and then select the "Barcode" properties of the object causes a java.lang.NullPointerException and cannot change the "Code Expression" value.

     

    The error log has the following info:

     

    java.lang.NullPointerException

    at com.jaspersoft.studio.components.barcode.model.barcode4j.MQRCode.getPropertyValue(MQRCode.java:123)

    at org.eclipse.ui.views.properties.PropertySheetEntry.refreshValues(PropertySheetEntry.java:611)

    at org.eclipse.ui.views.properties.PropertySheetEntry.createChildEntries(PropertySheetEntry.java:248)

    at org.eclipse.ui.views.properties.PropertySheetEntry.getChildEntries(PropertySheetEntry.java:341)

    at org.eclipse.ui.views.properties.PropertySheetViewer.updateCategories(PropertySheetViewer.java:1086)

    at org.eclipse.ui.views.properties.PropertySheetViewer.updateChildrenOf(PropertySheetViewer.java:1257)

    at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:975)

    at org.eclipse.ui.views.properties.PropertySheetPage.refresh(PropertySheetPage.java:491)

    at com.jaspersoft.studio.property.section.JDAdvancedSection.refresh(JDAdvancedSection.java:205)

    at com.jaspersoft.studio.properties.view.TabContents$7.run(TabContents.java:249)

    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)

    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

    at com.jaspersoft.studio.properties.view.TabContents.refresh(TabContents.java:252)

    at com.jaspersoft.studio.properties.view.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:156)

    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)

    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)

    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)

    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)

    at com.jaspersoft.studio.properties.internal.TabbedPropertyViewer.access$0(TabbedPropertyViewer.java:1)

    at com.jaspersoft.studio.properties.internal.TabbedPropertyViewer.updateSelection(TabbedPropertyViewer.java:209)

    at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)

    at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)

    at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)

    at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)

    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)

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

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

    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.notifyListeners(Widget.java:774)

    at com.jaspersoft.studio.properties.internal.TabbedPropertyList.select(TabbedPropertyList.java:214)

    at com.jaspersoft.studio.properties.internal.TabbedPropertyList$TabAction.run(TabbedPropertyList.java:240)

    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)

    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$6.handleEvent(ActionContributionItem.java:452)

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

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

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

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

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

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

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

    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

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

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

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

    at com.jaspersoft.studio.rcp.intro.Application.start(Application.java:96)

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

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

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

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

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

     



    User Feedback

    Recommended Comments



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...