Tested Environment
===============
 OS: WinXP
IDE: Eclipse 3.2.2, Eclipse 3.3.2 (Europa)
Binary: QTJambi-OpenSource-4.3.4_01
Plugin: qtjambi-eclipse-integration-win32-4.3.4_01-mingw.zip
JRE: From jdk1.6.0_04 (external to Eclipse)


You're right. I can't reproduce it under Eclipse Europa either ! Even though
the JRE is the same for both. Eclipse 3.2.2 is my current environment and
this error shows up when I subclass even these classes:

QAbstractListModel
QAbstractProxyModel
QAbstractTextDocumentLayout
QTreeModel

but not:

QDirModel
QStandardItemModel
and other related classes


Looks like most failures were with QT Abstract classes. Java and custom
abstract classes did not fail. For no associated or apparent reason, I
opened the Eclipse log file and found enough to cause unrelated concern.

My apologies for posting portions of the logs here, but anyone having
similar experiences, should be aware about unrelated issues causing
consequences elsewhere.




*!ENTRY org.eclipse.osgi 4 0 2008-05-29 11:33:41.500
!MESSAGE Error reading configuration: <Some-Folder>\Eclipse
3.2.2\configuration\org.eclipse.osgi\.manager\.fileTableLock (Access is
denied)
!STACK 0
java.io.FileNotFoundException: <Some-Folder>\Eclipse
3.2.2\configuration\org.eclipse.osgi\.manager\.fileTableLock (Access is
denied)
 at java.io.RandomAccessFile.open(Native Method)
 :
 :*

*!ENTRY org.eclipse.update.configurator 2008-05-29 11:33:41.968
!MESSAGE Cannot backup current configuration*

*!ENTRY org.eclipse.update.configurator 2008-05-29 11:33:42.015
!MESSAGE Could not rename configuration temp file*

*!ENTRY org.eclipse.update.configurator 2008-05-29 11:33:43.109
!MESSAGE <Some-Folder>\Eclipse
3.2.2\configuration\org.eclipse.update\last.config.stamp (Access is denied)*

*!ENTRY org.eclipse.equinox.preferences 4 4 2008-05-29 11:33:50.375
!MESSAGE Exception saving preferences to: <Some-Folder>/Eclipse
3.2.2/configuration/.settings/org.eclipse.ui.ide.prefs.*
*!ENTRY system.bundle 4 0 2008-05-29 11:34:13.000
!MESSAGE FrameworkEvent.ERROR
!STACK 0
java.io.IOException: Manager is not opened.
 at
org.eclipse.osgi.storagemanager.StorageManager.add(StorageManager.java:216)
 :
 :
 at java.lang.Thread.run(Unknown Source)*


Looks totally unrelated, but a stray Eclipse-initiated QT-related JVM
(javaw.exe if you inspect the process list) was running from a previous
instance of Eclipse. QT related coz I had only been working on Jambi UI
projects for the last few days. Apparently the process didn't die when the
IDE quit and ended up being parentless. Funny enough, it locked enough of
files as shown above, and caused enough problems to prevent all newer
Eclipse instances from allowing users to sub-class QT Abstract classes
successfully. But presented "NO OTHER" side-effects as far as I've
experienced.

Naturally, Eclipse Europa used a different workspace and hence was spared
the misery. Killing the process normalized everything. What a strange
manifestation indeed !?


Believe it ... or not ...




On 5/29/08, Gunnar Sletta <[EMAIL PROTECTED]> wrote:
>
> Matt 0000 wrote:
>
>
>
>
> Hi Matt,
>
> I cannot reproduce this with either javac 1.5 or 1.6 nor with Eclipse
> Europa and its built-in compiler. The error doesn't really make too much
> sense either. fromNativePointer is a static function that is present in
> pretty much all Qt Jambi classes, and overriding a static function with a
> different return type is perfectly valid. Could you try this on a the javac
> compiler shipped with the jdk?
>
> best regards,
> Gunnar
>
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to