Jump to content
Changes to the Jaspersoft community edition download ×

connectionExpression not saving


ktrinad

Recommended Posts

By: J.Carlyle - jcarlyle_au

connectionExpression not saving

2003-10-02 00:10

Hi Iam trying to get my subreports to run on jboss but I get an error saying

 

The supplied connection object is null.

 

I have looked thought the forums and think iam doing everything right but then when I looked at the xml in notepad I noticed that my connection expression didn't have the <![CDATA[....]]> around it so I typed that in and saved it but still got the same error. I had another look and the <![CDATA[....]]> was gone. Is this a bug or does ireport deal with this. I would really love any help.

 

Thanks

 

 

 

 

By: Giulio Toffoli - gt78

RE: connectionExpression not saving

2003-10-02 02:26

 

iReport 0.1.0 is shipped with a version of JasperReports prior to 0.5.0 that is not compatible with this.

 

Try to switch to iReport 0.2.2 and recompile reports with it, or switch to the same JasperReports version shipped with iReport 0.1.0 (0.4.6 if I remember correctly).

 

If you are tryng to fill a report with a subreport using an SQL query, save the query in the report, and leave blank the query field in the compiler form of iReport 0.1.0.

 

 

Giulio

 

 

 

 

By: J.Carlyle - jcarlyle_au

RE: connectionExpression not saving

2003-10-02 00:16

Sorry forgot to say that I'm using JaspeReport-0.5.0 with iReports-0.1.0

 

Thanks

 

 

 

 

By: Sachin Aggarwal - sk_aggarwal

RE: connectionExpression not saving

2003-10-02 02:27

I observed the same things while i was testing scriplets, finnaly gave up the idea... any idea why this happens or what is needed to run scriplets using ireport.

Sachin

 

 

 

 

By: Giulio Toffoli - gt78

RE: connectionExpression not saving

2003-10-02 02:47

Could be that the scriptlet is not in the classpath

 

 

 

 

 

 

By: Sachin Aggarwal - sk_aggarwal

RE: connectionExpression not saving

2003-10-02 02:56

I had put the class in lib folder of ireport. How can I put the scriplet class is my classpath??

Sachin

 

 

 

 

 

By: J.Carlyle - jcarlyle_au

RE: connectionExpression not saving

2003-10-02 19:52

I have now installed iReport 0.2.2 and recompiled my reports. But still getting error connection object is null.

 

Wanted to make sure Iam doing it right. Complie subreport with connection and the main report needs to be compile without connection. I then load into my ear and deploy on jboss.

 

The connection expression is now saving but as i said still getting error.

 

what am I doing wrong?

Thanks heaps

 

 

 

 

By: Giulio Toffoli - gt78

RE: connectionExpression not saving

2003-10-03 01:38

 

"connection object is null" is not a report dependent error, but an error generated when the application run the report whithout passing an opened java Connection to the method fillReport().

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...