Bug 296096 - org.eclipse.core.runtime.AssertionFailedException: assertion failed: Marker property value is too long
Summary: org.eclipse.core.runtime.AssertionFailedException: assertion failed: Marker p...
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 2.0.2   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 05:04 EST by Thomas Hofmann CLA
Modified: 2009-11-26 22:51 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hofmann CLA 2009-11-25 05:04:06 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: RSA 7.5.3 based on eclipse 3.4

This is what I get with dev build for 3.4 from 2009-11-20:

!ENTRY org.eclipse.core.resources 4 2 2009-11-25 10:52:30.148
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed: Marker property value is too lo
ng: Building with settings:
-> output paths: C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\bin, C:\ws\ivk r
sa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\bin-config
-> classpath: C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\bin;C:\ws\ivk rsa 7
.5\com.dcx.ivkmds.common.businessobjects.persistent\bin-config;C:/SDP/runtimes/base_v6/java/jre/lib/
core.jar;C:/SDP/runtimes/base_v6/java/jre/lib/graphics.jar;C:/SDP/runtimes/base_v6/java/jre/lib/secu
rity.jar;C:/SDP/runtimes/base_v6/java/jre/lib/server.jar;C:/SDP/runtimes/base_v6/java/jre/lib/xml.ja
r;C:/SDP/runtimes/base_v6/java/jre/lib/charsets.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ibmcertpath
provider.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ibmjaasactivelm.jar;C:/SDP/runtimes/base_v6/java/j
re/lib/ibmjaaslm.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ibmjcefw.jar;C:/SDP/runtimes/base_v6/java/
jre/lib/ibmjgssprovider.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ibmjssefips.jar;C:/SDP/runtimes/bas
e_v6/java/jre/lib/ibmjsseprovider.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ibmorb.jar;C:/SDP/runtime
s/base_v6/java/jre/lib/ibmorbapi.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ibmpkcs.jar;C:/SDP/runtime
s/base_v6/java/jre/lib/ext/CmpCrmf.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/dtfj.jar;C:/SDP/runt
imes/base_v6/java/jre/lib/ext/dumpfmt.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/gskikm.jar;C:/SDP
/runtimes/base_v6/java/jre/lib/ext/ibmjcefips.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/ibmjcepro
vider.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/ibmjsseprovider2.jar;C:/SDP/runtimes/base_v6/java
/jre/lib/ext/ibmkeycert.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/IBMKeyManagementServer.jar;C:/S
DP/runtimes/base_v6/java/jre/lib/ext/ibmpkcs11.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/ibmpkcs1
1impl.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/ibmspnego.jar;C:/SDP/runtimes/base_v6/java/jre/li
b/ext/indicim.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/iwsorbutil.jar;C:/SDP/runtimes/base_v6/ja
va/jre/lib/ext/jaccess.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/JawBridge.jar;C:/SDP/runtimes/ba
se_v6/java/jre/lib/ext/jdmpview.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/ldapsec.jar;C:/SDP/runt
imes/base_v6/java/jre/lib/ext/oldcertpath.jar;C:/SDP/runtimes/base_v6/java/jre/lib/ext/PD.jar;C:/ws/
ivk rsa 7.5/org.hibernate/hibernate3.jar;C:\ws\ivk rsa 7.5\com.dcx.ivkmds.fwk.common.ass.persist\bin
;C:\ws\ivk rsa 7.5\com.dcx.ivkmds.fwk.common.ass.persist\aspect-bin;C:\ws\ivk rsa 7.5\com.dcx.ivkmds
.fwk.common.spec.error\bin;C:\ws\ivk rsa 7.5\com.dcx.ivkmds.fwk.common.spec.lrt\bin;C:\ws\ivk rsa 7.
5\com.dcx.ivkmds.fwk.common.businessobjects.persistent\bin;C:\ws\ivk rsa 7.5\com.dcx.ivkmds.applicat
ion.common\bin;C:/ws/ivk rsa 7.5/org.apache.commons.beanutils/commons-beanutils-core.jar;C:/ws/ivk r
sa 7.5/org.apache.commons.lang/commons-lang.jar;C:\ws\ivk rsa 7.5\com.dcx.ivkmds.fwk.common\bin;C:/w
s/ivk rsa 7.5/com.dcx.ivkmds.fwk.rcs.target.platform/eclipse/plugins/org.aspectj.runtime_1.5.4.20070
5211336/aspectjrt.jar;C:\ws\ivk rsa 7.5\com.dcx.ivkmds.fwk.common.spec.trace\bin;C:\ws\ivk rsa 7.5\c
om.dcx.ivkmds.fwk.common.ass.persist\aspect-bin;
-> -inpath <default>
-> -outjar
-> -aspectpath C:\ws\ivk rsa 7.5\com.dcx.ivkmds.fwk.common.ass.persist\aspect-bin
-> -sourcePathResources {com/dcx/ivkmds/common/bo/persistent/nls/message/MessageGroupNlText.hbm.xml=
C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\p
ersistent\nls\message\MessageGroupNlText.hbm.xml, com/dcx/ivkmds/common/bo/persistent/expression/Ter
m.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\c
ommon\bo\persistent\expression\Term.hbm.xml, com/dcx/ivkmds/common/bo/persistent/expression/OpTerm.h
bm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\comm
on\bo\persistent\expression\OpTerm.hbm.xml, com/dcx/ivkmds/common/bo/persistent/common/RepeatInterva
lEnum.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkm
ds\common\bo\persistent\common\RepeatIntervalEnum.hbm.xml, com/dcx/ivkmds/common/bo/persistent/ps/En
dSlotValidForOrganization.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent
\config\com\dcx\ivkmds\common\bo\persistent\ps\EndSlotValidForOrganization.hbm.xml, com/dcx/ivkmds/c
ommon/bo/persistent/ps/property/TextProperty.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.busines
sobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\ps\property\TextProperty.hbm.xml, com
/dcx/ivkmds/common/bo/persistent/nls/notice/UsageEnumNlText.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds
.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\nls\notice\UsageEnumNl
Text.hbm.xml, com/dcx/ivkmds/common/bo/persistent/mdsinbox/MDSInbox.hbm.xml=C:\ws\ivk rsa 7.5\com.dc
x.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\mdsinbox\MDSIn
box.hbm.xml, com/dcx/ivkmds/common/bo/persistent/nls/common/TimezoneEnumNlText.hbm.xml=C:\ws\ivk rsa
 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\nls
\common\TimezoneEnumNlText.hbm.xml, com/dcx/ivkmds/common/bo/persistent/staging/CBOServiceRegistry.h
bm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\comm
on\bo\persistent\staging\CBOServiceRegistry.hbm.xml, com/dcx/ivkmds/common/bo/persistent/mdsinbox/Ch
angeTypeEnum.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\d
cx\ivkmds\common\bo\persistent\mdsinbox\ChangeTypeEnum.hbm.xml, com/dcx/ivkmds/common/bo/persistent/
report/ReportTemplateData.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent
\config\com\dcx\ivkmds\common\bo\persistent\report\ReportTemplateData.hbm.xml, com/dcx/ivkmds/common
/bo/persistent/meta/ExportSettingsStandardXml.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.busine
ssobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\meta\ExportSettingsStandardXml.hbm.x
ml, com/dcx/ivkmds/common/bo/persistent/aspect/StandardEquipment.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.i
vkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\aspect\StandardEq
uipment.hbm.xml, com/dcx/ivkmds/common/bo/persistent/docunews/MailingListDocuNews.hbm.xml=C:\ws\ivk
rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\
docunews\MailingListDocuNews.hbm.xml, com/dcx/ivkmds/common/bo/persistent/nls/ps/SlotTypeEnumNlText.
hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\com
mon\bo\persistent\nls\ps\SlotTypeEnumNlText.hbm.xml, com/dcx/ivkmds/common/bo/persistent/nls/common/
RepeatIntervalEnumNlText.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\
config\com\dcx\ivkmds\common\bo\persistent\nls\common\RepeatIntervalEnumNlText.hbm.xml, com/dcx/ivkm
ds/common/bo/persistent/ps/property/AggregationSlotHasProperty.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivk
mds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\ps\property\Aggrega
tionSlotHasProperty.hbm.xml, com/dcx/ivkmds/common/bo/persistent/aspect/SlotPlausibilityRuleTypeEnum
.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\co
mmon\bo\persistent\aspect\SlotPlausibilityRuleTypeEnum.hbm.xml, com/dcx/ivkmds/common/bo/persistent/
nls/aspect/FilterTypeEnumNlText.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.pers
istent\config\com\dcx\ivkmds\common\bo\persistent\nls\aspect\FilterTypeEnumNlText.hbm.xml, hibernate
-mappings.cfg.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\hibernat
e-mappings.cfg.xml, com/dcx/ivkmds/common/bo/persistent/ps/property/SlotPropertyGroup.hbm.xml=C:\ws\
ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persist
ent\ps\property\SlotPropertyGroup.hbm.xml, com/dcx/ivkmds/common/bo/persistent/ps/property/BinaryPro
perty.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkm
ds\common\bo\persistent\ps\property\BinaryProperty.hbm.xml, com/dcx/ivkmds/common/bo/persistent/pric
ing/Vat.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\iv
kmds\common\bo\persistent\pricing\Vat.hbm.xml, com/dcx/ivkmds/common/bo/persistent/code/CodeGroupSec
ondLevel.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\i
vkmds\common\bo\persistent\code\CodeGroupSecondLevel.hbm.xml, com/dcx/ivkmds/common/bo/persistent/me
ssage/SeverityEnum.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config
\com\dcx\ivkmds\common\bo\persistent\message\SeverityEnum.hbm.xml, com/dcx/ivkmds/common/bo/persiste
nt/nls/ps/ProductStructureNlText.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.per
sistent\config\com\dcx\ivkmds\common\bo\persistent\nls\ps\ProductStructureNlText.hbm.xml, com/dcx/iv
kmds/common/bo/persistent/ps/EndSlotShadowGen.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.busine
ssobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\ps\EndSlotShadowGen.hbm.xml, com/dcx
/ivkmds/common/bo/persistent/nls/ps/CategoryHasPropertyNlText.hbm.xml=C:\ws\ivk rsa 7.5\com.dcx.ivkm
ds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent\nls\ps\CategoryHasPr
opertyNlText.hbm.xml, com/dcx/ivkmds/common/bo/persistent/nls/ps/CategoryGenNlText.hbm.xml=C:\ws\ivk
 rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\bo\persistent
\nls\ps\CategoryGenNlText.hbm.xml, com/dcx/ivkmds/common/bo/persistent/common/WorkingStateEnum.hbm.x
ml=C:\ws\ivk rsa 7.5\com.dcx.ivkmds.common.businessobjects.persistent\config\com\dcx\ivkmds\common\b
o\persistent\common\WorkingStateEnum.hbm.xml, com/dcx/ivkmds/common/bo/persistent/mdsinbox/Engineeri
ngInfoMaturityEnum.hbm.xml=C:\ws\ivk rsa 7.5
        at org.eclipse.core.runtime.Assert.isTrue(Unknown Source)
        at org.eclipse.core.internal.resources.MarkerInfo.checkValidAttribute(Unknown Source)
        at org.eclipse.core.internal.resources.MarkerInfo.setAttribute(Unknown Source)
        at org.eclipse.core.internal.resources.Marker.setAttribute(Unknown Source)
        at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.setMessage(Unknown Source)
        at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.access$7(Unknown Source)
        at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler$1.run(Unknown Source)
        at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
        at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
        at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.showMessages(Unknown Source)
        at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.showOutstandingProblems(Unknown Source
)
        at org.eclipse.ajdt.internal.builder.UIBuildListener.postAJBuild(Unknown Source)
        at org.eclipse.ajdt.core.builder.AJBuilder.postCallListeners(Unknown Source)
        at org.eclipse.ajdt.core.builder.AJBuilder.build(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager$2.run(Unknown Source)
        at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager$1.run(Unknown Source)
        at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(Unknown Source)
        at org.eclipse.core.internal.events.BuildManager.build(Unknown Source)
        at org.eclipse.core.internal.events.AutoBuildJob.doBuild(Unknown Source)
        at org.eclipse.core.internal.events.AutoBuildJob.run(Unknown Source)
        at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)




Reproducible: Always
Comment 1 Andrew Eisenberg CLA 2009-11-25 14:10:47 EST
This does not have anything to do with the marker updating changes I made.  I'm not sure why you are seeing this message now and you weren't before.  It might have something to do with the changes I added so that pointcut match timing information is shown in the event trace view, but that should not be creating markers.  So, I am not exactly sure yet.

What's happening is that a marker is being created whose text is longer than 65535 bytes!  It could be some sort of complicated weaveinfo message.

First, on your side, if you are showing weave info messages in the AJDT Event Trace view, can you turn it off.

On my side, I think the thing to do is check to make sure that the text is under 65535 bytes before creating the marker.  If it is larger, I can temporarily spit the text to stdout and maybe you can keep an eye out for it if it happens again.  I'll try to get a 3.4 build out today.
Comment 2 Thomas Hofmann CLA 2009-11-26 08:50:14 EST
(In reply to comment #1)
> This does not have anything to do with the marker updating changes I made.  I'm
> not sure why you are seeing this message now and you weren't before.  It might
> have something to do with the changes I added so that pointcut match timing
> information is shown in the event trace view, but that should not be creating
> markers.  So, I am not exactly sure yet.

Well, I enabled the timers and for that I checked the category "Compiler / Task List messages" as per blog post regarding the timer output to the trace. Could this be the cause? I never saw such an exception before.

> 
> What's happening is that a marker is being created whose text is longer than
> 65535 bytes!  It could be some sort of complicated weaveinfo message.
> 
> First, on your side, if you are showing weave info messages in the AJDT Event
> Trace view, can you turn it off.

Which category would that be?

> 
> On my side, I think the thing to do is check to make sure that the text is
> under 65535 bytes before creating the marker.  If it is larger, I can
> temporarily spit the text to stdout and maybe you can keep an eye out for it if
> it happens again.  I'll try to get a 3.4 build out today.

Could you add an extra category for the AJDT trace filter for the timers. I'm getting lost in the compiler warnings...
Comment 3 Andrew Eisenberg CLA 2009-11-26 12:25:52 EST
(In reply to comment #2)
> 
> Well, I enabled the timers and for that I checked the category "Compiler / Task
> List messages" as per blog post regarding the timer output to the trace. Could
> this be the cause? I never saw such an exception before.
Yes.  This could be the cause.  I'll put out a new version of AJDT for 3.4 that performs a check before creating a marker.  This should let us know where the failing marker creation is happening.

> Which category would that be?
"Compiler / Task List" as you describe above.

> Could you add an extra category for the AJDT trace filter for the timers. I'm
> getting lost in the compiler warnings...
I could probably do this.
Comment 4 Andrew Eisenberg CLA 2009-11-26 12:59:31 EST
OK.  So, I just committed a change so that info messages (ie- all the messages coming from the compiler like timing information and build path settings) will not be converted to markers.  The change I had made earlier to display them to the Event Trace also caused them to be added as markers onto the project.  However, these messages are not interesting as markers and additionally, some are very large (which is where your problems came from).  

So, this fix should address your exception.

I raised bug 296725 regarding creating a new category for timing info.
Comment 5 Thomas Hofmann CLA 2009-11-26 15:49:46 EST
(In reply to comment #4)
> not be converted to markers.  The change I had made earlier to display them to
> the Event Trace also caused them to be added as markers onto the project. 

I had the impression everything was going much slower. That was probably due to the marker creation then because there are quite a number of warnings from the compiler. So things should speed up again.
Comment 6 Andrew Eisenberg CLA 2009-11-26 22:51:49 EST
Yes, and to speed up compilation, close the AJDT Event trace view and uncheck "Show Weaveinfo messages" and all the other info options in the project or global properties.

Let me know if you continue to perceive any slowdown.