Comment 2 for bug 338053

Revision history for this message
Giorgia Galiazzo (giorgiagaliazzo) wrote : Re: [Bug 338053] Re: NotificheWidget compila ma non esegue

Dal basso della mio ignoranza, ho letto che quell'errore salta fuori quando
non è impostato bene il classpath o quelle altre diavolerie...ma mi par
strano che non siano impostati bene.

Il giorno 6 marzo 2009 18.47, Andrea Pavan <email address hidden> ha scritto:

> Qui funziona, non saprei cosa possa cambiare tra le 2 "distribuzioni"
> dell'ambiente di sviluppo.
>
> --
> NotificheWidget compila ma non esegue
> https://bugs.launchpad.net/bugs/338053
> You received this bug notification because you are a member of
> Tech'n'os, which is the registrant for Automatic Explorer.
>
> Status in Automatic planet exploration system: New
>
> Bug description:
> Potrebbe anche essere una caso unico del mio pc, ma..
> NotificheWidget compila, ma non esegue. L'eccezione lanciata è la classica
> NoClassDefFound.. questo è lo stacktrace:
>
> QtJambi: Exception pending in native code
> Exception in thread "main" java.lang.NoClassDefFoundError:
> automaticexplorer/stazioneterra/backend/Model
> at com.trolltech.qt.internal.MetaObjectTools.internalTypeName(Native
> Method)
> at
> com.trolltech.qt.internal.MetaObjectTools.buildMetaData(MetaObjectTools.java:431)
> at com.trolltech.qt.gui.QTextEdit.__qt_QTextEdit_QWidget(Native
> Method)
> at com.trolltech.qt.gui.QTextEdit.<init>(QTextEdit.java:138)
> at
> automaticexplorer.stazioneterra.gui.NotificheWidget.<init>(NotificheWidget.java:25)
> at
> automaticexplorer.stazioneterra.gui.InterfacciaStazioneTerra.<init>(InterfacciaStazioneTerra.java:38)
> at
> automaticexplorer.stazioneterra.gui.InterfacciaStazioneTerra.main(InterfacciaStazioneTerra.java:98)
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f063696f637, pid=14850, tid=139664656374096
> #
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.2-b01 mixed mode
> linux-amd64)
> # Problematic frame:
> # V [libjvm.so+0x33a637]
> #
> # An error report file with more information is saved as:
> #
> /home/documenti/dev/java/workspace/AutomaticExplorerFIX/hs_err_pid14850.log
> #
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
> ...
>
> Il metodo incriminato è aggiorna() di NotificheWidget che prende come
> parametro un Model. Se qualcuno mi dà delucidazioni gliene sarei molto
> grato, perchè a me la cosa non è proprio chiara O.o
>
> NB: questo il codice della funzione:
>
> @Override
> public void aggiorna(Model m) {
> if (m instanceof ErroriDB) {
> Errore lastError = ((ErroriDB) m).getUltimoErrore();
> stampaNotifica(lastError.getData() + ": " +
> lastError.getErrore());
> } // if
> } // aggiorna
>