Go to full version

Projects On Hex.ro - Questions and Answers > Java SMF Backup

Error = "class java.lang.NullPointerException: null"

<< < (2/3) > >>

Ken.:
Hi viulian

Turns out my host server was having some issues, those issues seem to be resolved now.

My install of Java SMF Backup is still having the same problem as mentioned above... might this be a case of me having to 'hardcode' the database login info into the create_backup.php file?

viulian:
Just tried to access the same links you paste in the previous message [as you said there were some issues with the servers] and I wanted to check out the redirect links, etc.

But still getting the


--- Code: ---Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8a DAV/2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 Server at mykimbrell.com Port 80

--- End code ---

messages for both the main page and the forum link...

Can you please check out this post: http://www.simplemachines.org/community/index.php?topic=115957.msg1112630#msg1112630

I have fixed the guy's problem by identifying an URL protection scheme he had installed which only allowed him to access the web page. From his browser everything seemed fine as first time he saved the password and forgot and got properly redirected to the forum, but Java SMF Backup could not access the forum URL directly.

He just had a security form which didn't have an action set. That's the only reason why the JSB will complain about NullPointerException.

Ken.:
My issue may be somewhat like his, mine has two entries for form action and both read as below:

<form action=......./index.php?action=login2.......

As noted before my server dose have  a file called .htaccess, but it is empty.



EDIT:
Ps: I did try the "http://www.mykimbrell.com/FamilyForum/index.php?action=login" in an alternate browser and it opened the login screen.

viulian:
If you still have patience to try things out, please check this post: http://www.hex.ro/forum/index.php?topic=7.msg23#msg23

It's an attachment there - and what it does, compared to the standard .jar provided in JSB is that it will save any pages it will actually see (get) from the server.

Please make a backup of your SMFBackup.jar file before replacing it with the one from there, and just run JSB once, to do the backup on that forum causing you issues. Hopefully there'll be an "errorpages" directory containing an .html file.

Please check the contents of that file and see if you can figure out what JSB actually got after attempting/connecting to your forum. You can also PM me the contents if needed.

Thanks!

Ken.:
The jar file test produces no results so far... no saved pages or folders. I'm still working with it trying to find whats wrong but so far no change.

Just as a point of information;
As a trial I setup the Java Backup to run a daily backup on one of my test forums and it works as it should with no problems at all, the forum is on the same server as my regular 'live' site but in it's own separate database of course.

The test site is located here... http://www.mykimbrell.com/tptest2/index.php

Everything is setup exactly the same for both forums in Java Backup except for the names.

Navigation

[0] Message Index

[#] Next page

[*] Previous page