Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-20 Thread Matthew Toseland
On Sunday 19 Aug 2012 15:09:32 Dennis Nezic wrote:
 On Wed, 15 Aug 2012 14:29:15 +0100, Matthew Toseland wrote:
  On Wednesday 15 Aug 2012 05:05:44 Dennis Nezic wrote:
   On Tue, 14 Aug 2012 23:50:03 -0400, Steve Dougherty wrote:
On 08/14/2012 10:52 PM, Dennis Nezic wrote:
 On Tue, 14 Aug 2012 11:40:49 -0400, Steve Dougherty wrote:
 On 08/14/2012 08:56 AM, Dennis Nezic wrote:
 On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
 Any idea what may have changed before this problem started 
 happening? What version of ant are you using to build?
 
 That's what I'm pulling my hair trying to find out! I only
 upgraded a few system packages on my machine, like glib,
 libffi, ... -- and nothing much else! But how can a seemingly
 unrelated system package have such a huge effect in a Java
 environment??
 
 I haven't changed my jdk (although recently I did test with 
 others, sun-jdk and icedtea-bin), I haven't changed my ant, I 
 haven't changed my db4o's, I recompiled all of Freenet's
 (direct) dependencies. This is incredibly frustrating. I mean,
 1407 WAS working before, and now it's not :S.
 
 Here are the types of AbstractMethodError's that arise:
 
 
 java.lang.AbstractMethodError: 
 com.db4o.internal.query.ObjectSetFacade.iterator 
 ()Ljava/util/Iterator;
 
 
 at freenet.client.async.ClientRequestScheduler.loadKeyListeners
 (ClientRequestScheduler.java:114) [code]
 ObjectSetHasKeyListener results = Db4oBugs.query (container,
 HasKeyListener.class); for (HasKeyListener l : results) {
 --- ** 114 [/code]
 
 
 java.lang.AbstractMethodError: 
 com.db4o.internal.query.ObjectSetFacade.iterator 
 ()Ljava/util/Iterator;
 
 
 at
 freenet.client.async.PersistentStatsPutter.restorePreviousData
 (PersistentStatsPutter.java:44) [code] 
 ObjectSetBandwidthStatsContainer BSCresult =
 container.query (BandwidthStatsContainer.class); for
 (BandwidthStatsContainer candidate : BSCresult) {   --- **
 44 [/code]
 
 So what did you do to establish that your database is not
 corrupted? These are internal db4o errors.
 
 Hmm. So it does seem as though my datastore was corrupted.
 Deleting it, and making my node create a new one got me up and
 running again. Thanks Steve!
 
 The odd thing is a bunch of us[1] have been getting this
 error / corruption since about the time build1409 came out. I
 sure hope it's just a freak coincidence :S.
 
 [1] https://bugs.gentoo.org/show_bug.cgi?id=429716

Your _datastore_ was corrupted, not your node.db4o(.crypt)?! What
exactly did you do to get your node running again?
   
   Correct. The very first thing I tried (which usually worked before
   with db4o errors), was to delete my node.db4o.crypt file. That had
   no effect this time. Instead, deleting datastore/*, or starting
   with a fresh installation, with the wizard, got the node running.
   Drastic, I know. (Although, Tommy in the bug report mentioned he
   was able to reproduce the error even with a clean wizard
   installation :S.)
  
  That is not consistent with the error message you gave, which is
  clearly a db4o problem.
 
 Are you sure about that? Is there no way a corrupt datastore could
 corrupt the db4o file? What do you suppose created that db4o Abstract
 Method Error? (Considering the fact that deleting it, and letting
 freenet make a new one still caused it.)

No, this would definitely not be caused by a problem with the datastore, which 
is a very simple structure that does not store any code or complex objects. 
Whereas db4o could well cause such problems - either spontaneously, on defrag, 
on doing uploads, or ... Well we have lots of reports and we're not quite sure 
what to do about it yet. :(


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-19 Thread Dennis Nezic
On Wed, 15 Aug 2012 14:29:15 +0100, Matthew Toseland wrote:
 On Wednesday 15 Aug 2012 05:05:44 Dennis Nezic wrote:
  On Tue, 14 Aug 2012 23:50:03 -0400, Steve Dougherty wrote:
   On 08/14/2012 10:52 PM, Dennis Nezic wrote:
On Tue, 14 Aug 2012 11:40:49 -0400, Steve Dougherty wrote:
On 08/14/2012 08:56 AM, Dennis Nezic wrote:
On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
Any idea what may have changed before this problem started 
happening? What version of ant are you using to build?

That's what I'm pulling my hair trying to find out! I only
upgraded a few system packages on my machine, like glib,
libffi, ... -- and nothing much else! But how can a seemingly
unrelated system package have such a huge effect in a Java
environment??

I haven't changed my jdk (although recently I did test with 
others, sun-jdk and icedtea-bin), I haven't changed my ant, I 
haven't changed my db4o's, I recompiled all of Freenet's
(direct) dependencies. This is incredibly frustrating. I mean,
1407 WAS working before, and now it's not :S.

Here are the types of AbstractMethodError's that arise:


java.lang.AbstractMethodError: 
com.db4o.internal.query.ObjectSetFacade.iterator 
()Ljava/util/Iterator;


at freenet.client.async.ClientRequestScheduler.loadKeyListeners
(ClientRequestScheduler.java:114) [code]
ObjectSetHasKeyListener results = Db4oBugs.query (container,
HasKeyListener.class); for (HasKeyListener l : results) {
--- ** 114 [/code]


java.lang.AbstractMethodError: 
com.db4o.internal.query.ObjectSetFacade.iterator 
()Ljava/util/Iterator;


at
freenet.client.async.PersistentStatsPutter.restorePreviousData
(PersistentStatsPutter.java:44) [code] 
ObjectSetBandwidthStatsContainer BSCresult =
container.query (BandwidthStatsContainer.class); for
(BandwidthStatsContainer candidate : BSCresult) {   --- **
44 [/code]

So what did you do to establish that your database is not
corrupted? These are internal db4o errors.

Hmm. So it does seem as though my datastore was corrupted.
Deleting it, and making my node create a new one got me up and
running again. Thanks Steve!

The odd thing is a bunch of us[1] have been getting this
error / corruption since about the time build1409 came out. I
sure hope it's just a freak coincidence :S.

[1] https://bugs.gentoo.org/show_bug.cgi?id=429716
   
   Your _datastore_ was corrupted, not your node.db4o(.crypt)?! What
   exactly did you do to get your node running again?
  
  Correct. The very first thing I tried (which usually worked before
  with db4o errors), was to delete my node.db4o.crypt file. That had
  no effect this time. Instead, deleting datastore/*, or starting
  with a fresh installation, with the wizard, got the node running.
  Drastic, I know. (Although, Tommy in the bug report mentioned he
  was able to reproduce the error even with a clean wizard
  installation :S.)
 
 That is not consistent with the error message you gave, which is
 clearly a db4o problem.

Are you sure about that? Is there no way a corrupt datastore could
corrupt the db4o file? What do you suppose created that db4o Abstract
Method Error? (Considering the fact that deleting it, and letting
freenet make a new one still caused it.)
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-15 Thread Matthew Toseland
On Wednesday 15 Aug 2012 05:05:44 Dennis Nezic wrote:
 On Tue, 14 Aug 2012 23:50:03 -0400, Steve Dougherty wrote:
  On 08/14/2012 10:52 PM, Dennis Nezic wrote:
   On Tue, 14 Aug 2012 11:40:49 -0400, Steve Dougherty wrote:
   On 08/14/2012 08:56 AM, Dennis Nezic wrote:
   On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
   Any idea what may have changed before this problem started 
   happening? What version of ant are you using to build?
   
   That's what I'm pulling my hair trying to find out! I only
   upgraded a few system packages on my machine, like glib,
   libffi, ... -- and nothing much else! But how can a seemingly
   unrelated system package have such a huge effect in a Java
   environment??
   
   I haven't changed my jdk (although recently I did test with 
   others, sun-jdk and icedtea-bin), I haven't changed my ant, I 
   haven't changed my db4o's, I recompiled all of Freenet's
   (direct) dependencies. This is incredibly frustrating. I mean,
   1407 WAS working before, and now it's not :S.
   
   Here are the types of AbstractMethodError's that arise:
   
   
   java.lang.AbstractMethodError: 
   com.db4o.internal.query.ObjectSetFacade.iterator 
   ()Ljava/util/Iterator;
   
   
   at freenet.client.async.ClientRequestScheduler.loadKeyListeners
   (ClientRequestScheduler.java:114) [code]
   ObjectSetHasKeyListener results = Db4oBugs.query (container,
   HasKeyListener.class); for (HasKeyListener l : results) {
   --- ** 114 [/code]
   
   
   java.lang.AbstractMethodError: 
   com.db4o.internal.query.ObjectSetFacade.iterator 
   ()Ljava/util/Iterator;
   
   
   at
   freenet.client.async.PersistentStatsPutter.restorePreviousData
   (PersistentStatsPutter.java:44) [code] 
   ObjectSetBandwidthStatsContainer BSCresult = container.query 
   (BandwidthStatsContainer.class); for (BandwidthStatsContainer 
   candidate : BSCresult) {   --- ** 44 [/code]
   
   So what did you do to establish that your database is not
   corrupted? These are internal db4o errors.
   
   Hmm. So it does seem as though my datastore was corrupted. Deleting
   it, and making my node create a new one got me up and running
   again. Thanks Steve!
   
   The odd thing is a bunch of us[1] have been getting this error / 
   corruption since about the time build1409 came out. I sure hope
   it's just a freak coincidence :S.
   
   [1] https://bugs.gentoo.org/show_bug.cgi?id=429716
  
  Your _datastore_ was corrupted, not your node.db4o(.crypt)?! What
  exactly did you do to get your node running again?
 
 Correct. The very first thing I tried (which usually worked before with
 db4o errors), was to delete my node.db4o.crypt file. That had no effect
 this time. Instead, deleting datastore/*, or starting with a fresh
 installation, with the wizard, got the node running. Drastic, I know.
 (Although, Tommy in the bug report mentioned he was able to reproduce
 the error even with a clean wizard installation :S.)

That is not consistent with the error message you gave, which is clearly a db4o 
problem.


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-14 Thread Dennis Nezic
On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
 Any idea what may have changed before this problem started happening?
 What version of ant are you using to build?

That's what I'm pulling my hair trying to find out! I only upgraded a
few system packages on my machine, like glib, libffi, ... -- and
nothing much else! But how can a seemingly unrelated system package
have such a huge effect in a Java environment??

I haven't changed my jdk (although recently I did test with others,
sun-jdk and icedtea-bin), I haven't changed my ant, I haven't changed
my db4o's, I recompiled all of Freenet's (direct) dependencies. This is
incredibly frustrating. I mean, 1407 WAS working before, and now it's
not :S.

Here are the types of AbstractMethodError's that arise:


java.lang.AbstractMethodError:
  com.db4o.internal.query.ObjectSetFacade.iterator()Ljava/util/Iterator;
  at freenet.client.async.ClientRequestScheduler.loadKeyListeners
(ClientRequestScheduler.java:114)
[code]
ObjectSetHasKeyListener results =
  Db4oBugs.query (container, HasKeyListener.class);
for (HasKeyListener l : results) {   --- ** 114
[/code]


java.lang.AbstractMethodError:
  com.db4o.internal.query.ObjectSetFacade.iterator()Ljava/util/Iterator;
  at freenet.client.async.PersistentStatsPutter.restorePreviousData
(PersistentStatsPutter.java:44)
[code]
ObjectSetBandwidthStatsContainer BSCresult =
  container.query (BandwidthStatsContainer.class);
for (BandwidthStatsContainer candidate : BSCresult) {   --- ** 44
[/code]
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-14 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/14/2012 08:56 AM, Dennis Nezic wrote:
 On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
 Any idea what may have changed before this problem started
 happening? What version of ant are you using to build?
 
 That's what I'm pulling my hair trying to find out! I only upgraded
 a few system packages on my machine, like glib, libffi, ... -- and 
 nothing much else! But how can a seemingly unrelated system
 package have such a huge effect in a Java environment??
 
 I haven't changed my jdk (although recently I did test with
 others, sun-jdk and icedtea-bin), I haven't changed my ant, I
 haven't changed my db4o's, I recompiled all of Freenet's (direct)
 dependencies. This is incredibly frustrating. I mean, 1407 WAS
 working before, and now it's not :S.
 
 Here are the types of AbstractMethodError's that arise:
 
 
 java.lang.AbstractMethodError: 
 com.db4o.internal.query.ObjectSetFacade.iterator()Ljava/util/Iterator;

 
at freenet.client.async.ClientRequestScheduler.loadKeyListeners
 (ClientRequestScheduler.java:114) [code] ObjectSetHasKeyListener
 results = Db4oBugs.query (container, HasKeyListener.class); for
 (HasKeyListener l : results) {   --- ** 114 [/code]
 
 
 java.lang.AbstractMethodError: 
 com.db4o.internal.query.ObjectSetFacade.iterator()Ljava/util/Iterator;

 
at freenet.client.async.PersistentStatsPutter.restorePreviousData
 (PersistentStatsPutter.java:44) [code] 
 ObjectSetBandwidthStatsContainer BSCresult = container.query
 (BandwidthStatsContainer.class); for (BandwidthStatsContainer
 candidate : BSCresult) {   --- ** 44 [/code]

So what did you do to establish that your database is not corrupted?
These are internal db4o errors.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQKnFzAAoJECLJP19KqmFu8tMP/1nu9F43p0BHyquRIEtiClEu
faszZdXVvbGS4qxWgDh/CzjLd6bf1LZHmNeT8JQ9SOdyIWf980qIebWSdbguBuOI
fcBzYcBdeqKowTRoVQyTAUXHGSsI0NaKKuKxVjbNLRPkyHGO7a7ePBMrloI9cS6d
cAvCEzAkVVe9v3fb08mnNmORiXaS+HmpZ5EHJvH8eb9mMmpCv7RiNm9SQ1bCT6yf
zR1PPZdb00rHR63kRy4Kbw4KnQExNr0PuW/27OiRgTDpW/UMaZhT4BRqGQIM7DCb
vLmPno9dhhmPAgfJdKus+6pWKioiDFCBfD3PidRdVAKEThI9HwEZnurmfQoVx4Ms
4OJadnmnij7R+MMVIKvyLdr4MfI3QzqMsmH3Xj01t0P7VCFKJh9iSvup3mtS95n3
P86ZLnOkZFKEvDbpcp7fs65kwljXEw9vsop6BwBggGWrI+gS9Ia28YvLnROFg1YW
OtxpBgox6EjsJYODTZV9JQoe013Vh5bJlsy4SU6032OkvmoYOV3CYgtSm6UQwVsV
13IJgiWpaLLiMvZMWDa1qaFTQNH+tS44QIr9PbPCfXwzpxxoPht/9JB3TxeyReZ5
+CWWr10wjuncwok4ol0BAYYu+1kyuccafseT+U/Azatge3yoNoSltuKKIHTnkqsq
Ex/UfE1aav0QXXiAnJFX
=z2bP
-END PGP SIGNATURE-
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-14 Thread Dennis Nezic
On Tue, 14 Aug 2012 11:40:49 -0400, Steve Dougherty wrote:
 On 08/14/2012 08:56 AM, Dennis Nezic wrote:
  On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
  Any idea what may have changed before this problem started
  happening? What version of ant are you using to build?
  
  That's what I'm pulling my hair trying to find out! I only upgraded
  a few system packages on my machine, like glib, libffi, ... -- and 
  nothing much else! But how can a seemingly unrelated system
  package have such a huge effect in a Java environment??
  
  I haven't changed my jdk (although recently I did test with
  others, sun-jdk and icedtea-bin), I haven't changed my ant, I
  haven't changed my db4o's, I recompiled all of Freenet's (direct)
  dependencies. This is incredibly frustrating. I mean, 1407 WAS
  working before, and now it's not :S.
  
  Here are the types of AbstractMethodError's that arise:
  
  
  java.lang.AbstractMethodError: 
  com.db4o.internal.query.ObjectSetFacade.iterator
  ()Ljava/util/Iterator;
 
  
 at freenet.client.async.ClientRequestScheduler.loadKeyListeners
  (ClientRequestScheduler.java:114) [code] ObjectSetHasKeyListener
  results = Db4oBugs.query (container, HasKeyListener.class); for
  (HasKeyListener l : results) {   --- ** 114 [/code]
  
  
  java.lang.AbstractMethodError: 
  com.db4o.internal.query.ObjectSetFacade.iterator
  ()Ljava/util/Iterator;
 
  
 at freenet.client.async.PersistentStatsPutter.restorePreviousData
  (PersistentStatsPutter.java:44) [code] 
  ObjectSetBandwidthStatsContainer BSCresult = container.query
  (BandwidthStatsContainer.class); for (BandwidthStatsContainer
  candidate : BSCresult) {   --- ** 44 [/code]
 
 So what did you do to establish that your database is not corrupted?
 These are internal db4o errors.

Hmm. So it does seem as though my datastore was corrupted. Deleting it,
and making my node create a new one got me up and running again. Thanks
Steve!

The odd thing is a bunch of us[1] have been getting this error /
corruption since about the time build1409 came out. I sure hope it's
just a freak coincidence :S.

[1] https://bugs.gentoo.org/show_bug.cgi?id=429716
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-14 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/14/2012 10:52 PM, Dennis Nezic wrote:
 On Tue, 14 Aug 2012 11:40:49 -0400, Steve Dougherty wrote:
 On 08/14/2012 08:56 AM, Dennis Nezic wrote:
 On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
 Any idea what may have changed before this problem started 
 happening? What version of ant are you using to build?
 
 That's what I'm pulling my hair trying to find out! I only
 upgraded a few system packages on my machine, like glib,
 libffi, ... -- and nothing much else! But how can a seemingly
 unrelated system package have such a huge effect in a Java
 environment??
 
 I haven't changed my jdk (although recently I did test with 
 others, sun-jdk and icedtea-bin), I haven't changed my ant, I 
 haven't changed my db4o's, I recompiled all of Freenet's
 (direct) dependencies. This is incredibly frustrating. I mean,
 1407 WAS working before, and now it's not :S.
 
 Here are the types of AbstractMethodError's that arise:
 
 
 java.lang.AbstractMethodError: 
 com.db4o.internal.query.ObjectSetFacade.iterator 
 ()Ljava/util/Iterator;
 
 
 at freenet.client.async.ClientRequestScheduler.loadKeyListeners
 (ClientRequestScheduler.java:114) [code]
 ObjectSetHasKeyListener results = Db4oBugs.query (container,
 HasKeyListener.class); for (HasKeyListener l : results) {
 --- ** 114 [/code]
 
 
 java.lang.AbstractMethodError: 
 com.db4o.internal.query.ObjectSetFacade.iterator 
 ()Ljava/util/Iterator;
 
 
 at
 freenet.client.async.PersistentStatsPutter.restorePreviousData
 (PersistentStatsPutter.java:44) [code] 
 ObjectSetBandwidthStatsContainer BSCresult = container.query 
 (BandwidthStatsContainer.class); for (BandwidthStatsContainer 
 candidate : BSCresult) {   --- ** 44 [/code]
 
 So what did you do to establish that your database is not
 corrupted? These are internal db4o errors.
 
 Hmm. So it does seem as though my datastore was corrupted. Deleting
 it, and making my node create a new one got me up and running
 again. Thanks Steve!
 
 The odd thing is a bunch of us[1] have been getting this error / 
 corruption since about the time build1409 came out. I sure hope
 it's just a freak coincidence :S.
 
 [1] https://bugs.gentoo.org/show_bug.cgi?id=429716
 

Your _datastore_ was corrupted, not your node.db4o(.crypt)?! What
exactly did you do to get your node running again?

Do you think you could try git-bisect to determine which commit
introduced this problem, or are you not able to reproduce it at will?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQKxxrAAoJECLJP19KqmFufHYQAKQxgR3hM64C4TluZIc9g02A
zIH/EDlQT2aoJpCPueTY7COgvFg59VRFReumclrJS2tUiUx8rXjv8m3egz/s/YrR
RBNnwAx9Z09tZucAGwUE84pnXDulWTuTSUvmouOTwtqUSyP6jDcR6OwHC0akcbn1
wqBT+7cQzXTSOhzfP12eTWDM9MaAj7qL5Lt+lRBApdCVzUA1rxQfN/nEmqnIBFp9
gB4JI2Xg+Howw4zv7OoxsiJwmDU6QzK/Q0GHklY7PmKad/oo9+koKVlADoAj8aqP
5oceKTmb4zLYVZdERvm+Vz9G7zDB/hy00jwPN0eyt4+LN+CkKL3ksbKVs+5Dg4IA
0/DQJ17AsKxQWIsWsHcaoYtvg6cYXOACrYGSKa31jQJ7UIKfhmlitnwYlrfG9Bzr
BVaofIszv9xg5pzBZcXJXl0m60cpPP8dUJGQCjXlHEq1mKfji8lklVDz0LacNUBT
QGw2HHl0mVh0ktV7pSbQhwl7SKDfBTxlEZYDVpXTiCrre6HXjgcemI0luM+uaZhy
9qxh5CM+k4F1dUOrXFwSewrZe6BfVTVEEvE8UlYOGwP8sTb08DCPdx1iKOZCC54Q
WiLTNsHWk7MmAZRug/830E+CTl9AFdc/Lyydsum6CmnKRfGLEmFMsYJUHG8Kl9Gw
kneCZIF2X7pNpOhURkWn
=SbPZ
-END PGP SIGNATURE-
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-14 Thread Dennis Nezic
On Tue, 14 Aug 2012 23:50:03 -0400, Steve Dougherty wrote:
 On 08/14/2012 10:52 PM, Dennis Nezic wrote:
  On Tue, 14 Aug 2012 11:40:49 -0400, Steve Dougherty wrote:
  On 08/14/2012 08:56 AM, Dennis Nezic wrote:
  On Fri, 10 Aug 2012 15:47:35 -0400, Steve Dougherty wrote:
  Any idea what may have changed before this problem started 
  happening? What version of ant are you using to build?
  
  That's what I'm pulling my hair trying to find out! I only
  upgraded a few system packages on my machine, like glib,
  libffi, ... -- and nothing much else! But how can a seemingly
  unrelated system package have such a huge effect in a Java
  environment??
  
  I haven't changed my jdk (although recently I did test with 
  others, sun-jdk and icedtea-bin), I haven't changed my ant, I 
  haven't changed my db4o's, I recompiled all of Freenet's
  (direct) dependencies. This is incredibly frustrating. I mean,
  1407 WAS working before, and now it's not :S.
  
  Here are the types of AbstractMethodError's that arise:
  
  
  java.lang.AbstractMethodError: 
  com.db4o.internal.query.ObjectSetFacade.iterator 
  ()Ljava/util/Iterator;
  
  
  at freenet.client.async.ClientRequestScheduler.loadKeyListeners
  (ClientRequestScheduler.java:114) [code]
  ObjectSetHasKeyListener results = Db4oBugs.query (container,
  HasKeyListener.class); for (HasKeyListener l : results) {
  --- ** 114 [/code]
  
  
  java.lang.AbstractMethodError: 
  com.db4o.internal.query.ObjectSetFacade.iterator 
  ()Ljava/util/Iterator;
  
  
  at
  freenet.client.async.PersistentStatsPutter.restorePreviousData
  (PersistentStatsPutter.java:44) [code] 
  ObjectSetBandwidthStatsContainer BSCresult = container.query 
  (BandwidthStatsContainer.class); for (BandwidthStatsContainer 
  candidate : BSCresult) {   --- ** 44 [/code]
  
  So what did you do to establish that your database is not
  corrupted? These are internal db4o errors.
  
  Hmm. So it does seem as though my datastore was corrupted. Deleting
  it, and making my node create a new one got me up and running
  again. Thanks Steve!
  
  The odd thing is a bunch of us[1] have been getting this error / 
  corruption since about the time build1409 came out. I sure hope
  it's just a freak coincidence :S.
  
  [1] https://bugs.gentoo.org/show_bug.cgi?id=429716
 
 Your _datastore_ was corrupted, not your node.db4o(.crypt)?! What
 exactly did you do to get your node running again?

Correct. The very first thing I tried (which usually worked before with
db4o errors), was to delete my node.db4o.crypt file. That had no effect
this time. Instead, deleting datastore/*, or starting with a fresh
installation, with the wizard, got the node running. Drastic, I know.
(Although, Tommy in the bug report mentioned he was able to reproduce
the error even with a clean wizard installation :S.)

 Do you think you could try git-bisect to determine whichcommit
 introduced this problem, or are you not able to reproduce it at will?

So far my node is running. The only way I can think of reproducing it
is by going back to the 1407 that I was using for months -- probably
recreate my datastore with it -- and then upgrade to 1409 again :S.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-10 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/09/2012 05:48 PM, Dennis Nezic wrote:
 What's causing this?
 
 jvm 1| WrapperManager Error: Error in WrapperListener.start
 callback.java.lang.AbstractMethodError: 
 com.db4o.internal.query.ObjectSetFacade.iterator()Ljava/util/Iterator;

 
jvm 1| WrapperManager Error: java.lang.AbstractMethodError:
 com.db4o.internal.query.ObjectSetFacade.iterator()Ljava/util/Iterator;

 
jvm 1| WrapperManager Error: at
freenet.client.async.PersistentStatsPutter.restorePreviousData(PersistentStatsPutter.java:44)
 jvm 1| WrapperManager Error: at
 freenet.node.NodeClientCore.init(NodeClientCore.java:224) jvm 1
 | WrapperManager Error: at
 freenet.node.Node.init(Node.java:1745) jvm 1|
 WrapperManager Error: at
 freenet.node.NodeStarter.start(NodeStarter.java:175) jvm 1|
 WrapperManager Error: at
 org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4006)

 
jvm 1| Shutting down...
 
 Recompiling build1407, which worked for me before, no longer
 works. Nor the newer builds. Recompiling with sun-jdk and
 icedtea-bin doesn't make a difference. Recompiling
 java-service-wrapper, all the db4o deps, ant made no difference.
 
 Double-u Tee Eff?

My guess is that this is caused by a corrupt node.db4o(.crypt). Could
you try moving it to node.db4o_old or something and starting the node
again? This would mean losing your download and upload queues, as well
as FlogHelper database. For future reference, item 4 on this list [1]
gives instructions on backing up the node database and associated files.

[1]
https://wiki.freenetproject.org/Using_Freenet#Backup.2C_backup.2C_backup.21
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQJSPoAAoJECLJP19KqmFuwGMP/3Dh2kPYLl6eI2cYIVMtItWR
400ozkOcAZ9wo4fpqYnBzW9+7Tif/Yw8GWI8GNNhQ4WH31FrvmEt/D8l/Z7nDnsC
4jgMd4fCE/2pCVOSsq7dcPng8I2OTV/yvOCghCg7YvSwfVRstmFKDDxbhaSC8CeG
MFfHzA4KieC8tqneDRRy091jp/8SM1VNIVUl/nGQKADiXmHB/MzpWhP/fqK7jMaE
t56Lhvccvkxz5ORx4REtFrlH5hrclx6sDc+jWnMKRbLe6z/nxrDH8Cv++a0O89i4
i4EVFne/5vI9M/g+nWPjgk1G9l91pQkCrjwvtvdp17/gaIeDPCZWyrD0ETprnGx1
scEqtVps8qfWMr8hNuP4Om5/7oxXKGo3qiMZp5oIEAN4T8TH3tgk5s6sR/Ma+XWh
KSPGkwgHo5tMzbxPQYwADIDiQ7h6ma1m8r+vSV7c3Q1yG3Az1wqRwfm2tpsgamn4
hJKVZLQKKSAgcaXB6ZEY3Qz7ts6ca62MTZGMZITEtygSfIGiEl9cIixO1GiPGG/k
9a97QRRauCNwmRbqbbDxn27xmHFvnYuot1KqKiORp06frFteSmv4T15+iOfnkq7n
qeJb0eZXqc4YdMVujTSglZNtFR+B7i30goWknLPBkvcsAv0q0KtZ8oaxDy12/MKP
tNXitjoumk3lPVw8/xXd
=LXls
-END PGP SIGNATURE-
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-10 Thread Dennis Nezic
On Fri, 10 Aug 2012 11:08:34 -0400, Steve Dougherty wrote:
 My guess is that this is caused by a corrupt node.db4o(.crypt).

Nope. It's something a lot more bizarre and sinister than that.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] db4o11-7.4 AbstractMethodError

2012-08-10 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/10/2012 01:55 PM, Dennis Nezic wrote:
 On Fri, 10 Aug 2012 11:08:34 -0400, Steve Dougherty wrote:
 My guess is that this is caused by a corrupt node.db4o(.crypt).
 
 Nope. It's something a lot more bizarre and sinister than that.

Could you explain what you've done to determine that? Any idea what
may have changed before this problem started happening? What version
of ant are you using to build?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQJWVWAAoJECLJP19KqmFulXwQAKZo47yruIhGo7y7Z5S9X0U3
ca94Cgwpjdx/MfdjmTLqYyFZ7f5TPmJAJPMyM0a3LXe2+7PCoOuglVXIaVxW+NZj
K6TwJsEgi1Vrm4HPaB3cs4UIwDgxi+T00vqxeZrBpMxJrC2hPj2ony/2dwTK4Cya
U1+o5Ul9NmilK9JZnxtAMmd9Ur0dZLb6BeAQrwsEqx+zNB0H/YAyQbH/CGFjqA5s
kWH0GA4axsFCwtO/qWRH3iOhcaGk8m8rXqQB90dUf0WGunIbcFUN0G845XDV3TXq
FPBVqLjMEUiLkGjp+8JrTmm1LlB1oSCFyoDjdt2Ukyt6AOybE6AN3uIR2nlGSIV7
NlJD7+WMlfBaxJIDDYwjaRDOdVS5qKd+yEi3ROpP690Oelx5dS/ONXYGvj+Ox9qO
un2ECuZA9SM6SHWHRcrg9At1lFv1ymVE6n7WAyhxq3Ru1k8ZDzGqYZFvsLC5NcVq
rlEEvVRT370RntC3YtbbQKhQXGZJEPDAyL0SnO0cWiDIglq7f6S776yJwn0WVPJq
nLqTMgK7fvt0tW5HtOqA3LAnP3vbg5o3X6AavJo9QOFBWYCCWxpGeVULenXsCujc
7ab01khNoixDXhoAOMgI0HOw0TpEVuLSsq9e3Pj+/wBTjhZfP6cP52UrhY2sF4X2
Uhhu8MbZpBzrstJnChAJ
=4fFA
-END PGP SIGNATURE-
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe