I would recommend opening a bug report with a real test case or a just a some 
fake data exhibiting the problem. In this case we may be able to produce a 
patch that you could apply back on this particular version of the fwk.

HTH

Pascal

On 2012-04-05, at 6:32 PM, Raymond Auge wrote:

> Hello everyone,
> 
> My name is Raymond Augé, I'm a senior architect at Liferay, Inc.
> 
> We're bundling equinox (3.7.2.v20120110-1415) and recently I've started 
> seeing the following error when the Framework tried to save it's state:
> 
> 18:04:28,630 INFO  [org_eclipse_osgi:84] FrameworkEvent STARTLEVEL CHANGED
> 18:04:38,142 ERROR [org_eclipse_osgi:81] 
> java.io.UTFDataFormatException: encoded string too long: 72142 bytes
>       at java.io.DataOutputStream.writeUTF(DataOutputStream.java:364)
>       at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323)
>       at 
> org.eclipse.osgi.internal.resolver.StateWriter.writeStringOrNull(StateWriter.java:686)
>       at 
> org.eclipse.osgi.internal.resolver.StateWriter.writePlatformProp(StateWriter.java:181)
>       at 
> org.eclipse.osgi.internal.resolver.StateWriter.saveState(StateWriter.java:130)
>       at 
> org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.writeState(StateObjectFactoryImpl.java:439)
>       at 
> org.eclipse.osgi.internal.baseadaptor.StateManager.writeState(StateManager.java:178)
>       at 
> org.eclipse.osgi.internal.baseadaptor.StateManager.update(StateManager.java:116)
>       at 
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateData(BaseStorage.java:661)
>       at 
> org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:458)
>       at 
> org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1304)
>       at java.lang.Thread.run(Thread.java:679)
> 
> It appears to be due to a very large number of package exports on the system 
> bundle (the Framework is embedded).
> 
> Has anyone encountered this? I search bugs.eclipse.org/bugs with no results 
> that seem to match.
> 
> It appears I may have to create an Storage hook to get around the issue short 
> term.
> 
> Thoughts?
> 
> Sincerely,
> -- 
> Raymond Augé  | Senior Software Architect | Liferay, Inc. 
> ---
> 
> 25 Apr 2012 | Liferay Nordic Symposium | liferay.com/nordic2012  NEW!
> 17 May 2012 | Liferay Budapest Symposium | liferay.com/budapest2012  
> 23 May 2012 | Liferay France Symposium | liferay.com/france2012
> 
> 
> 
> _______________________________________________
> equinox-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to