Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

User Story #1269 (closed)

Opened 9 years ago

Closed 2 years ago

Preferences API broken on Linux with Java6

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: Unscheduled
Component: General Keywords: n.a.
Cc: cxallan, atarkowska Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: 0.0d Estimated Remaining Time: n.a.

Description

Calls to IConfig.setConfigValue() or any operation which eventually calls Preferences.flush() or Preferences.sync will receive the error:

Mar 23, 2009 10:47:06 AM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml
Exception in thread "Thread-2" java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
       at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
       at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
       at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
       at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:662)
       at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)
       at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)

under Java6 on Linux. This is a known Java bug. Among other places, see:

Attachments (1)

Blitz-0.log (21.8 KB) - added by jmoore 9 years ago.
Server log from mac issues reported by Ola

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by jmoore

  • Milestone changed from OMERO-Beta4.1 to Future

comment:2 Changed 9 years ago by jmoore

  • Cc atarkowska added

Similar issues on Mac:

2009-04-24 12:57:54,372 ERROR  
[            ome.system.PreferenceContext] (l.Server-4) Error  
synchronizing for mergeProperties()
2009-04-24 12:57:54,372 ERROR  
[            ome.system.PreferenceContext] (l.Server-4)  
Synchronization failed for node '/omero/prefs/default/'

and stack trace

java.util.prefs.MacOSXPreferences.sync(MacOSXPreferences.java:217)
  ome.system.PreferenceContext.getProperty(PreferenceContext.java:93)
  ome.logic.ConfigImpl.getInternalValue(ConfigImpl.java:235)
  ome.logic.ConfigImpl.getConfigValue(ConfigImpl.java:218)
  sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
   
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
  java.lang.reflect.Method.invoke(Method.java:585)
   
org 
.springframework 
.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation 
.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
  ome.security.basic.EventHandler.invoke(EventHandler.java:132)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   
org 
.springframework 
.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java: 
111)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   
org 
.springframework 
.transaction 
.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java: 
106)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
  ome.tools.hibernate.ProxyCleanupFilter 
$Interceptor.invoke(ProxyCleanupFilter.java:169)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
  ome.services.util.ServiceHandler.invoke(ServiceHandler.java:97)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   
org 
.springframework 
.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  $Proxy58.getConfigValue(Unknown Source)
  sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
   
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
  java.lang.reflect.Method.invoke(Method.java:585)
   
org 
.springframework 
.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation 
.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
   
ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java: 
78)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   
ome 
.services 
.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:35)
   
org 
.springframework 
.aop 
.framework 
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   
org 
.springframework 
.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  $Proxy58.getConfigValue(Unknown Source)
  sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source)
   
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
  java.lang.reflect.Method.invoke(Method.java:585)
   
ome 
.services 
.blitz.util.IceMethodInvoker.callOrClose(IceMethodInvoker.java:257)
   
ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java: 
179)
  ome.services.throttling.Callback.run(Callback.java:55)
   
ome 
.services 
.throttling 
.InThreadThrottlingStrategy 
.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:37)
   
ome 
.services 
.blitz 
.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java: 
114)
  ome.services.blitz.impl.ConfigI.getConfigValue_async(ConfigI.java:41)
  omero.api._IConfigTie.getConfigValue_async(_IConfigTie.java:64)
  omero.api._IConfigDisp.___getConfigValue(_IConfigDisp.java:143)
  omero.api._IConfigDisp.__dispatch(_IConfigDisp.java:261)
  IceInternal.Incoming.invoke(Incoming.java:166)
  Ice.ConnectionI.invokeAll(ConnectionI.java:2045)
  Ice.ConnectionI.message(ConnectionI.java:977)
  IceInternal.ThreadPool.run(ThreadPool.java:575)
  IceInternal.ThreadPool.access$100(ThreadPool.java:12)
  IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:951)

Changed 9 years ago by jmoore

Server log from mac issues reported by Ola

comment:3 Changed 2 years ago by sbesson

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.220034 sec.)

We're Hiring!