Tíquete #10320

[UML]クラスのドラッグドロップでエラー
: 2007-04-23 17:05 Última Atualização: 2007-05-09 19:10

Relator:
(Anônimo)
Dono:
Tipo:
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
Nenhum

Details

AmaterasUML1.2.2を使用して、
パッケージエクスプローラからJavaソースをクラス図にドラ
ッグドロップすると、エラーが発生します。

java.lang.NullPointerException
at
net.java.amateras.uml.sequencediagram.SequenceDiagramE
ditor.updateDiagramAction
(SequenceDiagramEditor.java:104)
at
net.java.amateras.uml.DiagramEditor.selectionChanged
(DiagramEditor.java:413)
at
org.eclipse.ui.internal.AbstractSelectionService.fireS
election(AbstractSelectionService.java:156)
at
org.eclipse.ui.internal.AbstractSelectionService$1.sel
ectionChanged(AbstractSelectionService.java:62)
at org.eclipse.jface.viewers.Viewer$2.run
(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run
(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run
(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run
(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run
(SafeRunnable.java:149)
at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged
(Viewer.java:160)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelec
tion(StructuredViewer.java:1976)
at
org.eclipse.jface.viewers.StructuredViewer.handleSelec
t(StructuredViewer.java:1128)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSel
ected(StructuredViewer.java:1154)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent
(OpenStrategy.java:213)
at
org.eclipse.jface.util.OpenStrategy.access$3
(OpenStrategy.java:207)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent
(OpenStrategy.java:374)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:928)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:3348)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2968)
at
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbenc
h(Workbench.java:422)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.
run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLa
uncher.runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLa
uncher.start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:177)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:597)
at
org.eclipse.core.launcher.Main.invokeFramework
(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun
(Main.java:280)
at org.eclipse.core.launcher.Main.run
(Main.java:977)
at org.eclipse.core.launcher.Main.main
(Main.java:952)

Ticket History (3/6 Histories)

2007-04-24 00:55 Updated by: takezoe
Comentário
Logged In: YES
user_id=5449

スタックトレースにはSequenceDiagramEditorと出ていますがエ
ラーが起きたのはシーケンス図ではなくクラス図なんでしょうか?
2007-05-08 15:50 Updated by: None
Comentário
Logged In: NO

こちらも同じで、何が原因かわかりません。
eclipse.buildId=M20070212-1330でWindowsです。

!ENTRY net.java.amateras.umleditor 4 0 2007-04-27 17:32:51.817
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
net.java.amateras.uml.java.ImportClassModelCommand.createModel(ImportClassModelCommand.java:65)
at
net.java.amateras.uml.java.ImportClassModelCommand.execute(ImportClassModelCommand.java:47)
at
org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:149)
at
org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handleDrop(AbstractTransferDropTargetListener.java:314)
at
net.java.amateras.uml.dnd.java.ClassDiagramDropTargetListener.handleDrop(ClassDiagramDropTargetListener.java:67)
(以下省略)

の場合や、

!ENTRY org.eclipse.jface 4 2 2007-05-08 15:43:44.562
!MESSAGE プラグイン "org.eclipse.jface" からのコードの起動で
問題が発生しました。
!STACK 0
java.lang.NoClassDefFoundError:
net/java/amateras/uml/classdiagram/editpart/AttributeEditPart$AttributeComponentEditPolicy
at
net.java.amateras.uml.classdiagram.editpart.AttributeEditPart.createEditPolicies(AttributeEditPart.java:41)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:230)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:727)
(途中省略)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2007-05-08 15:43:47.062
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-05-08 15:43:47.078
!MESSAGE Assertion failed:
!STACK 0
org.eclipse.jface.util.Assert$AssertionFailedException:
Assertion failed:
at org.eclipse.jface.util.Assert.isTrue(Assert.java:182)

になります。
2007-05-09 01:33 Updated by: takezoe
Comentário
Logged In: YES
user_id=5449

ビルド作業をミスってたようです。修正版を作成中ですのでしばし
お待ちください。
2007-05-09 02:11 Updated by: takezoe
  • Summary Updated
Comentário
Logged In: YES
user_id=5449

1.2.2のリリースアーカイブを正しいものに差し替えておきました
のでご利用ください。
2007-05-09 16:42 Updated by: None
Comentário
Logged In: NO

ありがとうございます。うまくできました。
2007-05-09 19:10 Updated by: takezoe
  • Ticket Close date is changed to 2007-05-09 19:10
  • Resolução Update from Nenhum to Fixed
  • Estado Update from Aberto to Fechado

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Login