Servoy 6.0 Final release

Servoy announcements

Re: Servoy 6.0 Final release

Postby jasantana » Tue Aug 02, 2011 5:41 pm

OK Johan, what I have done is create a second relation for that module and different name.
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 542
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 Final release

Postby jcompagner » Tue Aug 02, 2011 5:59 pm

and that one you do see in the smart client?
So it is only really 1 relation that can't be looked up only in a real smartclient?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.0 Final release

Postby jasantana » Tue Aug 02, 2011 7:34 pm

Yes it´s really strange. This one is, of course, visible because it belongs to that module so there should not be any problem. But the really strange thing is that I have some other similar relations that are visible.
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 542
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 Final release

Postby rgansevles » Wed Aug 03, 2011 9:52 am

Juan,

What is the solution type of the module that has the relation?

If the relation is defined in an authenticator solution which is also used as a module, then this module cannot be used in the smart client.
Auhenticator solutions are filtered out in smart client/appserver setup for security reasons.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1841
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy 6.0 Final release

Postby jasantana » Wed Aug 03, 2011 1:12 pm

@Rob

Solution type is Autenticator
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 542
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 Final release

Postby rgansevles » Wed Aug 03, 2011 2:14 pm

Juan,

If you move the relation to a module and include this module both in your main solution and in the authenticator it should work.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1841
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy 6.0 Final release

Postby jasantana » Wed Aug 03, 2011 2:38 pm

Ok Rob, thanks I will do that.

I guess that it means that autenticator solutions objects cannot be accessed from its parent solution.
Best regards,
Juan Antonio Santana Medina
jasantana@nephos-solutions.co.uk
EAGER BEAVER 2011
EAGER BEAVER 2012
Servoy 6.x - Servoy 7.x - Servoy 8.x - MySQL - PostgreSQL - Visual Foxpro 9
User avatar
jasantana
 
Posts: 542
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 Final release

Postby rgansevles » Wed Aug 03, 2011 2:41 pm

Yes (only in smart client).

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1841
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy 6.0 Final release

Postby Thomas Parry » Wed Aug 10, 2011 5:05 am

I am trying out the new capability of the Servoy PDF printer and came across this error when run from the developer:
Cannot print document
> java.lang.NullPointerException


This occurs when I am in print preview of a form, select the Servoy PDF printer from the dialog on printer selection and attempt to save to a file using a name of a file that already exists. If I use a unique filename then no error and the file saved in PDF fine.

I assume this is a defect and might want to be examined?
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Servoy 6.0 Final release

Postby jcompagner » Wed Aug 10, 2011 10:12 am

please look in the log files if you see more information about this nullpointer exception.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.0 Final release

Postby Thomas Parry » Wed Aug 10, 2011 2:46 pm

I have attached the log file portion for this problem.
I narrowed it down so that the error and null pointer occurs only if the pdf file is open in another application. Then the servoy pdf printer gives an error: 'cannot print' and then the null pointer exception occurs in the log and in the developer console. I had the pdf file open in a pdf reader when I attempted to overwrite the file with a new version.
You do not have the required permissions to view the files attached to this post.
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Servoy 6.0 Final release

Postby patrick » Wed Aug 10, 2011 3:35 pm

Looking at your log I see that you should update the log plugin to the latest & greatest (not related to your PDF problem I think)...
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3605
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Servoy 6.0 Final release

Postby jcompagner » Wed Aug 10, 2011 3:55 pm

this is purely a problem for accessing that file:

java.io.FileNotFoundException: C:\Documents and Settings\Tom\My Documents\crir_Order Listing.pdf (The process cannot access the file because it is being used by another process)

i don't know why that happens but the printing process can't read that file, so it can't print it.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.0 Final release

Postby Thomas Parry » Wed Aug 10, 2011 4:17 pm

@Patrick - thanks for looking - will do! I had not realized the Log plugin had been updated.

@Johan - I understand that the file cannot be overwritten but I was concerned that a null pointer was somehow used without being checked for null before hand. I did not want some code that follows the use of the pointer to cause a knock-on effect that would be "bad". Is the printing process part of Servoy code or some other process? The fact that the developer catches the error would cause me to think that Servoy code could be better.
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Servoy 6.0 Final release

Postby jcompagner » Wed Aug 10, 2011 4:25 pm

there is really going something wrong there..

yes maybe we could catch the null and just return.. But then what then you say nothing prints and i don't see anything.. (only maybe in the log)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7977
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 7 guests