From: SourceForge.net <no...@so...> - 2005-11-16 20:33:52
|
Bugs item #1358423, was opened at 2005-11-16 13:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1358423&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: User interface Group: Annoying Status: Open Resolution: None Priority: 5 Submitted By: R. Matt Barnett (rmbarnett) Assigned to: Nobody/Anonymous (nobody) Summary: InvalidPackageException Initial Comment: DrJava: 20051008-0122 When the declared package name of the .java file does not line up with the file structure of the OS compiling generates the UnexpectedException listed below. I'd rather see this exception caught and a notification printed to the compile window than escalating it to the UnexpectedException. edu.rice.cs.drjava.model.definitions.InvalidPackageException: The source file C:\Program Files\Research In Motion\BlackBerry JDE 4.0.2\bin\coair\utils\Condition.java is in the wrong directory or in the wrong package. The directory name utils does not match the package component util. at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc._getSourceRoot(AbstractGlobalModel.java:2589) at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.getSourceRoot(AbstractGlobalModel.java:2520) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel.compile(DefaultCompilerModel.java:260) at edu.rice.cs.drjava.ui.MainFrame._compile(MainFrame.java:2875) at edu.rice.cs.drjava.ui.MainFrame.access$3200(MainFrame.java:95) at edu.rice.cs.drjava.ui.MainFrame$35.actionPerformed(MainFrame.java:610) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at edu.rice.cs.drjava.ui.DefinitionsPane.processKeyEvent(DefinitionsPane.java:517) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1358423&group_id=44253 |