Null Pointer Exception while adding servers

0

 

 

 

Hello,

I'm trying to use new version of jasper studio. Tried all versions from Jaspersoft Studio 6.3.1 (v6.3.1) to v6.6.0. While adding servers not able to connect with jasper server. no more detail present in error template. please suggest 

java.lang.NullPointerException
    at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:598)
    at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:580)
    at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.getServerInfo(RestV2ConnectionJersey.java:255)
    at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.connect(RestV2ConnectionJersey.java:231)
    at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:102)
    at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:92)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:94)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:89)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:68)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
 

pratik8552's picture
Joined: Mar 11 2016 - 9:52am
Last seen: 2 years 4 months ago

2 Answers:

0

What's the version of JasperReports Server you're using? Version of Jaspersoft Studio and JasperReports Server should be the same.

hozawa's picture
69092
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 7 months ago
0

Version which I'm using is 5.0.0/5.0.1

we upgraded jre 1.8 in our jasper report server and I'm trying to fix below issue with my reports.

Error Message

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files /* ^ 1 errors

Error Trace

net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files /* ^ 1 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:204) at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:240) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:490) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.compileReport(EngineServiceImpl.java:1856) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.compileReport(EngineServiceImpl.java:2466) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.CacheableCompiledReports.getData(CacheableCompiledReports.java:58) at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.saveData(HibernateRepositoryCache.java:279) at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.getCachedItem(HibernateRepositoryCache.java:146) at com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.HibernateRepositoryCache.cache(HibernateRepositoryCache.java:92) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at .............................................................

 

right now I'm using jasper studio version 6.0.4 on ubuntu 14.0 which containig java 1.7 compiler. If I upgrade it then Im getting NULL POINTER ERROR in my jasper studio.

pratik8552's picture
Joined: Mar 11 2016 - 9:52am
Last seen: 2 years 4 months ago
Feedback
randomness