Jump to content
We've recently updated our Privacy Statement, available here ×

richard.w.leir

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by richard.w.leir

  1. Hi team The company firewall blocks all updates from the eclipse.org repository. That is not going to change. Jasper studio is quite persistent in trying to get updates, and logs all failures of course. Is it critical to the operation of Jasper Studio 7.9.0? Yes it is good to get updates, clearly, but can I use Studio without the updates? Is this a show-stopper? thanks -- Rick
  2. JasperStudio uses Java8 to start, and does not start when this is removed: C:UsersusernameDesktopTIBCOJaspersoft Studio7.9.0jaspersoftstudioprofeaturesjre.win32.win32.x86_64.feature_1.8.0.u151
  3. Another workaround would be if PTC Windchill was able to export using Java8. I tried that. The PTC exporter program was compiled using Java11 so I cannot run it using Java8 java.lang.UnsupportedClassVersionError: com/ptc/util/wbr/export/ExportDataSource has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0[/code]Now my big question is: in Jasper Studio 7.9.0 , how can I configure the execution environment for the dataAdaptor to run using Java11. Some help from Jaspersoft staff would be greatly appreciated! thanks Rick
  4. Hi vchiem Yes, my version has Java11. And I have been all through the preferences, checking Java versions. In one setting it was Java8 and I changed it to Java11. But the component which creates the data adaptor still runs Java8 despite all my efforts. I cannot find any preferences screen for that component. Where is it? thanks Rick
  5. Hi team I have some class files exported from PTC Windchill 12.0.2. (Windchill used Java11). Jasper Studio data adapter seems to use JDK8 to compiles some Java using Windchill's exported class files and gives this error: java.lang.UnsupportedClassVersionError: com/ptc/wbr/datasource/providers/Site_PartReportWNCProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:814) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at net.sf.jasperreports.eclipse.classpath.JavaProjectClassLoader.findClass(JavaProjectClassLoader.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:411) at java.lang.ClassLoader.loadClass(ClassLoader.java:411) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(JRClassLoader.java:190) at net.sf.jasperreports.data.provider.DataSourceProviderDataAdapterService.getProvider(DataSourceProviderDataAdapterService.java:92) at com.jaspersoft.studio.data.jrdsprovider.JrdsProviderDataAdapterDescriptor.getFieldProvider(JrdsProviderDataAdapterDescriptor.java:70) at com.jaspersoft.studio.data.jrdsprovider.JrdsProviderDataAdapterDescriptor.getFields(JrdsProviderDataAdapterDescriptor.java:55) It looks as if Jasper is compiling using Java8, but the classes exported from Windchill are Java11. I have attempted to change the Jasper project to use Jdk11 but it still seems to be using JDK8. Java11 is backwards compatible, but Jdk8 does not accept jdk11 class files. How can I configure the dataAdapter to use Java11? What is needed to get this working? thanks -- Rick
  6. Now I get it, maybe. This uses the GoF Builder pattern to create JasperReportCompiler? https://stackoverflow.com/questions/29493898/automatically-create-builder-for-class-in-eclipse
  7. Hi Studio is giving me this: java.lang.NullPointerException at net.sf.jasperreports.eclipse.builder.JasperReportCompiler.setValidationMarkers(JasperReportCompiler.java:332) at net.sf.jasperreports.eclipse.builder.JasperReportCompiler.compileReport(JasperReportCompiler.java:294) at com.jaspersoft.studio.data.jrdsprovider.JRDSProviderFieldsProvider.getFields(JRDSProviderFieldsProvider.java:51) at com.jaspersoft.studio.data.jrdsprovider.JrdsProviderDataAdapterDescriptor.getFields(JrdsProviderDataAdapterDescriptor.java:56) at com.jaspersoft.studio.data.ui.EmptyWizardDataEditorComposite.readFields(EmptyWizardDataEditorComposite.java:69) There are many things in my setup which might be causing this, so what should I check first. In some other open source project I could have a look at line 332 and figure out what I have done wrong quickly. But where is the source code for JasperReportCompiler.java? My next step will be to read more documentation. Then compare my jrxml with some known good jrxml. thanks -- Rick
  8. Where is the repo currently? $ nslookup code.jaspersoft.com *** ns-expl.com can't find code.jaspersoft.com: Non-existent domain
×
×
  • Create New...