null pointer exception on Jasper studio with barcode (eclipse plugin)

When putting two or more barcode in a report, you'll get random null pointer exception.

It's random, but easy to reproduce: simply put a "codabar" barcode with barcode4j, then add another "codabar" and switch from an item to another

here a stak trace from eclipse:

eclipse.buildId=4.5.2.M20151021-1000
java.version=1.8.0_31
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.dsl.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.dsl.product
 
com.jaspersoft.studio.properties
Error
Mon Nov 02 12:01:48 CET 2015
Problems occurred when invoking code from plug-in: "com.jaspersoft.studio.properties".
 
java.lang.NullPointerException
    at com.jaspersoft.studio.components.barcode.model.barcode4j.MBarcode4j.getPropertyValue(MBarcode4j.java:227)
    at com.jaspersoft.studio.components.barcode.model.barcode4j.MEAN13.getPropertyValue(MEAN13.java:107)
    at org.eclipse.ui.views.properties.PropertySheetEntry.refreshValues(PropertySheetEntry.java:590)
    at org.eclipse.ui.views.properties.PropertySheetEntry.createChildEntries(PropertySheetEntry.java:253)
    at org.eclipse.ui.views.properties.PropertySheetEntry.getChildEntries(PropertySheetEntry.java:340)
    at org.eclipse.ui.views.properties.PropertySheetViewer.updateCategories(PropertySheetViewer.java:1096)
    at org.eclipse.ui.views.properties.PropertySheetViewer.updateChildrenOf(PropertySheetViewer.java:1267)
    at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:988)
    at org.eclipse.ui.views.properties.PropertySheetPage.refresh(PropertySheetPage.java:501)
    at com.jaspersoft.studio.property.section.JDAdvancedSection$1.run(JDAdvancedSection.java:212)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
... 

ddaitarn304@gmail.com's picture
Joined: Sep 9 2015 - 6:39am
Last seen: 3 years 3 months ago

0 Answers:

No answers yet
Feedback
randomness