RockychengJson / localizedproperties

Automatically exported from code.google.com/p/localizedproperties
0 stars 0 forks source link

Error al agregar un locale #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Abrir el editor en linux Ganimede 3.4
2.Abrir la vista de Error log
3.Seleccionar del menu contextual "Add locale"
4.Tira el error

java.lang.NullPointerException
    at
com.triadsoft.properties.editors.AddLocaleDialog.changeData(AddLocaleDialog.java
:112)
    at
com.triadsoft.properties.editors.AddLocaleDialog.access$2(AddLocaleDialog.java:1
02)
    at
com.triadsoft.properties.editors.AddLocaleDialog$1.modifyText(AddLocaleDialog.ja
va:84)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at
com.triadsoft.properties.editors.actions.AddLocaleAction.run(AddLocaleAction.jav
a:57)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:583)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:500)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java
:113)
    at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Original issue reported on code.google.com by flores.l...@gmail.com on 7 Apr 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Tambien hay un error al cerrar el editor

org.eclipse.swt.SWTException: Widget is disposed
    at org.eclipse.swt.SWT.error(SWT.java:3777)
    at org.eclipse.swt.SWT.error(SWT.java:3695)
    at org.eclipse.swt.SWT.error(SWT.java:3666)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:446)
    at org.eclipse.swt.widgets.Widget.getDisplay(Widget.java:528)
    at
com.triadsoft.properties.model.utils.PropertyTableViewer.dispose(PropertyTableVi
ewer.java:151)
    at com.triadsoft.properties.editors.PropertiesEditor.dispose(PropertiesEditor.java:166)
    at
org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartRefere
nce.java:730)
    at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:302)
    at
org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.ja
va:681)
    at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1682)
    at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1389)
    at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1373)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1347)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1402)
    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)
    at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)
    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)
    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)
    at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent
(TabbedStackPresentation.java:83)
    at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractT
abFolder.java:267)
    at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractT
abFolder.java:276)
    at
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.acces
s$1(DefaultTabFolder.java:1)
    at
org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.clo
seButtonPressed(DefaultTabFolder.java:70)
    at
org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder
.java:626)
    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:206)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2171)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:324)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Original comment by flores.l...@gmail.com on 7 Apr 2010 at 3:09

GoogleCodeExporter commented 9 years ago
Y seguimos con los errores

java.lang.NullPointerException
    at com.triadsoft.properties.editors.PropertiesSorter.compare(PropertiesSorter.java:57)
    at org.eclipse.jface.viewers.ViewerComparator$1.compare(ViewerComparator.java:187)
    at java.util.Arrays.mergeSort(Arrays.java:1270)
    at java.util.Arrays.sort(Arrays.java:1210)
    at org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:185)
    at
org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.ja
va:998)
    at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableVi
ewer.java:685)
    at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewe
r.java:633)
    at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1457)
    at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.
java:1365)
    at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.
java:1328)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1455)
    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:548)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1412)
    at
com.triadsoft.properties.model.utils.PropertyTableViewer.localesChanged(Property
TableViewer.java:165)
    at
com.triadsoft.properties.model.utils.PropertyTableViewer.access$2(PropertyTableV
iewer.java:164)
    at
com.triadsoft.properties.model.utils.PropertyTableViewer$4.run(PropertyTableView
er.java:144)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:178)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4021)
    at
com.triadsoft.properties.model.utils.PropertyTableViewer.setLocales(PropertyTabl
eViewer.java:142)
    at
com.triadsoft.properties.editors.PropertiesEditor.resourceChanged(PropertiesEdit
or.java:278)
    at
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.j
ava:288)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.
java:282)
    at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(Notificati
onManager.java:148)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:731)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:677)
    at com.triadsoft.properties.model.ResourceList.removeLocale(ResourceList.java:252)
    at
com.triadsoft.properties.editors.actions.RemoveLocaleAction.run(RemoveLocaleActi
on.java:59)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:583)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:500)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Original comment by flores.l...@gmail.com on 7 Apr 2010 at 3:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Solucionado se libera para test

Original comment by flores.l...@gmail.com on 17 Apr 2011 at 11:26

GoogleCodeExporter commented 9 years ago
Older fixed were closed

Original comment by flores.l...@gmail.com on 10 Aug 2011 at 12:19