PDA

View Full Version : 16 Warnings


MattCatt
January 24th, 2007, 10:36 PM
The method MetadataModel.Model.compare(Object, Object) does not override the inherited method from TreeMap since it is private to a different package. LimeWire/gui/com/limegroup/gnutella/gui/search MetadataModel.java line 559 1169685106574 457

The method toURL() from the type File is deprecated LimeWire/gui/com/limegroup/gnutella/gui ResourceManager.java line 347 1169685116418 498

Type safety: The method getDeclaredConstructor(Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/mojito/src/test/java/org/limewire/mojito/util UnitTestUtils.java line 31 1169685059136 300

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/mojito-ui/src/main/java/org/limewire/mojito CommandHandler.java line 429 1169685053728 283

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/mojito-ui/src/main/java/org/limewire/mojito CommandHandler.java line 435 1169685053728 284

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/mojito-ui/src/main/java/org/limewire/mojito CommandHandler.java line 441 1169685053728 285

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/test-util/src/main/java/org/limewire/util LimeTestSuite.java line 164 1169685064944 312

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/test-util/src/main/java/org/limewire/util LimeTestSuite.java line 168 1169685064944 313

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/test-util/src/main/java/org/limewire/util PrivilegedAccessor.java line 265 1169685064894 310

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/test-util/src/main/java/org/limewire/util PrivilegedAccessor.java line 351 1169685064894 311

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/core/com/limegroup/gnutella/util Launcher.java line 271 1169685068499 321

Type safety: The method getDeclaredMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/gui/com/limegroup/gnutella/gui/search CancelSearchIconProxy.java line 222 1169685107315 463

Type safety: The method getMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/test-util/src/main/java/org/limewire/util DuckType.java line 23 1169685065014 314

Type safety: The method getMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/components/test-util/src/main/java/org/limewire/util DuckType.java line 56 1169685065014 315

Type safety: The method getMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/gui/com/limegroup/gnutella/gui Console.java line 280 1169685120284 504

Type safety: The method getMethod(String, Class...) belongs to the raw type Class. References to generic type Class<T> should be parameterized LimeWire/gui/com/limegroup/gnutella/gui Main.java line 31 1169685117230 501

MattCatt
January 24th, 2007, 10:41 PM
when i click run, i get this

log4j:WARN No appenders could be found for logger (com.limegroup.gnutella.gui.Initializer).
log4j:WARN Please initialize the log4j system properly.
[Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
org.cybergarage.xml.ParserException: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at org.cybergarage.xml.parser.XercesParser.parse(Xerc esParser.java:122)
at org.cybergarage.soap.SOAPRequest.postMessage(SOAPR equest.java:92)
at org.cybergarage.upnp.control.ActionRequest.post(Ac tionRequest.java:137)
at org.cybergarage.upnp.Action.postControlAction(Acti on.java:317)
at com.limegroup.gnutella.UPnPManager$StaleCleaner.ru n(UPnPManager.java:528)
at org.limewire.concurrent.ThreadExecutor$1.run(Threa dExecutor.java:41)
at org.limewire.concurrent.ThreadPoolExecutor.runWork er(ThreadPoolExecutor.java:984)CyberGarage warning : org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.

at org.limewire.concurrent.ThreadPoolExecutor$Worker. run(ThreadPoolExecutor.java:527)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(U nknown Source)
at org.cybergarage.xml.parser.XercesParser.parse(Xerc esParser.java:108)
... 8 more
java.lang.UnsatisfiedLinkError: org.jdesktop.jdic.tray.internal.impl.GnomeSystemTr ayService.initNative(Ljava/lang/String;)V
at org.jdesktop.jdic.tray.internal.impl.GnomeSystemTr ayService.initNative(Native Method)
at org.jdesktop.jdic.tray.internal.impl.GnomeSystemTr ayService.<clinit>(Unknown Source)
at org.jdesktop.jdic.tray.internal.impl.ServiceManage rStub.getService(Unknown Source)
at org.jdesktop.jdic.tray.internal.ServiceManager.get Service(Unknown Source)
at org.jdesktop.jdic.tray.SystemTray.<clinit>(Unknown Source)
at com.limegroup.gnutella.gui.notify.NotifyUserImpl.<init>(NotifyUserImpl.java:25)
at com.limegroup.gnutella.gui.notify.NotifyUserProxy.<init>(NotifyUserProxy.java:47)
at com.limegroup.gnutella.gui.notify.NotifyUserProxy.<clinit>(NotifyUserProxy.java:28)
at com.limegroup.gnutella.gui.Initializer.initialize( Initializer.java:291)
at com.limegroup.gnutella.gui.GUILoader.load(GUILoade r.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.limegroup.gnutella.gui.Main.main(Main.java:46)

Sam
January 25th, 2007, 04:28 AM
You can safely ignore the warnings. The error while running is a problem with the configuration files for Eclipse. If you remove the linux/jdic_stub.jar from the classpath, running should work. We'll check in a change to fix this by the week's end.

Sam
January 27th, 2007, 05:40 PM
Hi Matt,

The warnings in Eclipse are now removed, and the running from Eclipse is fixed. Please a look at http://www.limewire.org/forum/showthread.php?p=3346#post3346 . Thanks.