• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #974 (new defect)

Opened 4 months ago

Last modified 3 months ago

Strange "narrowing proxy" warning in log

Reported by: jmoore Owned by: jmoore
Priority: critical Milestone: 3.0-Beta4
Component: General Version: 3.0-M1
Keywords: log, warning, unknown Cc:

Description

Seen while running SearchTest in Eclipse:

76000      [      main] INFO           ome.services.util.ServiceHandler  -  Meth:	acquireLicense
76000      [      main] INFO           ome.services.util.ServiceHandler  -  Args:	()
76010      [      main] INFO            ome.security.basic.EventHandler  -   Auth:	user=0,group=0,event=87480(Internal)
76010      [      main] INFO                ome.services.licenses.Store  - Acquired license from example license store.
76011      [      main] INFO           ome.services.util.ServiceHandler  -  Rslt:	[B@51f7cc
76011      [      main] DEBUG  eptor.JamonPerformanceMonitorInterceptor  - JAMon performance statistics for method [ome.services.licenses.ILicense.acquireLicense]:
JAMon Label=ome.services.licenses.ILicense.acquireLicense, Units=ms.: (LastValue=11.0, Hits=85.0, Avg=18.470588235294116, Total=1570.0, Min=9.0, Max=218.0, Active=0.0, Avg Active=1.0, Max Active=1.0, First Access=Sun May 18 22:15:09 CEST 2008, Last Access=Sun May 18 22:15:55 CEST 2008)
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Meth:	onlyType
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Args:	[class ome.model.meta.Experimenter]
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Rslt:	null
76014      [      main] DEBUG  eptor.JamonPerformanceMonitorInterceptor  - JAMon performance statistics for method [ome.api.Search.onlyType]:
JAMon Label=ome.api.Search.onlyType, Units=ms.: (LastValue=0.0, Hits=26.0, Avg=0.34615384615384615, Total=9.0, Min=0.0, Max=2.0, Active=0.0, Avg Active=1.0, Max Active=1.0, First Access=Sun May 18 22:15:14 CEST 2008, Last Access=Sun May 18 22:15:55 CEST 2008)
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Meth:	byFullText
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Args:	[root]
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Rslt:	null
76014      [      main] DEBUG  eptor.JamonPerformanceMonitorInterceptor  - JAMon performance statistics for method [ome.api.Search.byFullText]:
JAMon Label=ome.api.Search.byFullText, Units=ms.: (LastValue=0.0, Hits=69.0, Avg=1.2318840579710144, Total=85.0, Min=0.0, Max=37.0, Active=0.0, Avg Active=1.0, Max Active=1.0, First Access=Sun May 18 22:15:19 CEST 2008, Last Access=Sun May 18 22:15:55 CEST 2008)
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Meth:	results
76014      [      main] INFO           ome.services.util.ServiceHandler  -  Args:	()
76015      [      main] INFO           ome.services.util.ServiceHandler  -  Meth:	doWork
76015      [      main] INFO           ome.services.util.ServiceHandler  -  Args:	[null, null, ome.tools.spring.InternalServiceFactory@3630d2]
76024      [      main] INFO            ome.security.basic.EventHandler  -   Auth:	user=0,group=0,event=87481(Test)
76268      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76272      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76272      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76272      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76273      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.FileAnnotation - this operation breaks ==
76273      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.BooleanAnnotation - this operation breaks ==
76273      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76274      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.FileAnnotation - this operation breaks ==
76274      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76274      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76274      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76274      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.FileAnnotation - this operation breaks ==
76275      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.FileAnnotation - this operation breaks ==
76275      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76275      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76275      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76276      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.LongAnnotation - this operation breaks ==
76278      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.LongAnnotation - this operation breaks ==
76281      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.LongAnnotation - this operation breaks ==
76445      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.LongAnnotation - this operation breaks ==
76457      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.DoubleAnnotation - this operation breaks ==
76459      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.DoubleAnnotation - this operation breaks ==
76482      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TextAnnotation - this operation breaks ==
76483      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TextAnnotation - this operation breaks ==
76483      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TextAnnotation - this operation breaks ==
76490      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76491      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76491      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76491      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
76491      [      main] WARN   .StatefulPersistenceContext.ProxyWarnLog  - Narrowing proxy to class ome.model.annotations.TagAnnotation - this operation breaks ==
77004      [      main] INFO           ome.services.util.ServiceHandler  -  Rslt:	[ome.model.meta.Experimenter:Id_0, ome.model.enums.EventType:Id_6]
77004      [      main] DEBUG  eptor.JamonPerformanceMonitorInterceptor  - JAMon performance statistics for method [ome.services.util.Executor$Work.doWork]:
JAMon Label=ome.services.util.Executor$Work.doWork, Units=ms.: (LastValue=989.0, Hits=418.0, Avg=95.8755980861244, Total=40076.0, Min=11.0, Max=9193.0, Active=0.0, Avg Active=1.076555023923445, Max Active=2.0, First Access=Sun May 18 22:15:07 CEST 2008, Last Access=Sun May 18 22:15:56 CEST 2008)
77004      [      main] INFO           ome.services.util.ServiceHandler  -  Rslt:	[ome.model.meta.Experimenter:Id_0, ome.model.enums.EventType:Id_6]
77004      [      main] DEBUG  eptor.JamonPerformanceMonitorInterceptor  - JAMon performance statistics for method [ome.api.Search.results]:
JAMon Label=ome.api.Search.results, Units=ms.: (LastValue=990.0, Hits=191.0, Avg=33.31413612565445, Total=6363.0, Min=0.0, Max=990.0, Active=0.0, Avg Active=1.0, Max Active=1.0, First Access=Sun May 18 22:15:15 CEST 2008, Last Access=Sun May 18 22:15:56 CEST 2008)
77011      [      main] INFO           ome.services.util.ServiceHandler  -  Meth:	doWork
77011      [      main] INFO           ome.services.util.ServiceHandler  -  Args:	[null, null, ome.tools.spring.InternalServiceFactory@1e565b]
77021      [      main] INFO            ome.security.basic.EventHandler  -   Auth:	user=0,group=0,event=87482(Sessions)
77026      [      main] INFO     ome.security.basic.BasicSecuritySystem  - Adding log:INSERT,class ome.model.meta.Session,6836
77029      [      main] INFO           ome.services.util.ServiceHandler  -  Rslt:	ome.model.meta.Session:Id_6836

Change History

Changed 4 months ago by jmoore

See:

  • HHH-1367
  • H3 docs
  • Forum entry

Our use of polymorphic annotations is causing the warning. At some point, access to the proxy narrows to a subclass (FileAnnotation, TagAnnotation,...) which breaks ==.

This could be a problem, depending on how the proxy is used, e.g. HashSet.

Changed 3 months ago by jmoore

  • milestone changed from 3.0-Beta3 to 3.0-Beta4

Will need more time to look into this. Pushing.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/