"histogram bin bounds must be specified in increasing order"

68 views
Skip to first unread message

brettoc

unread,
Feb 10, 2012, 1:35:37 PM2/10/12
to omnetpp
I recently upgraded to Omnetpp-4.2.1 and a MiXiM-2.2.1 based project.
When I try to collect some statistics using a cDoubleHistogram I get
the following error on *some* of the sca files:

" Wrong file: histogram bin bounds must be specified in
increasing order, file *** "

Has anybody run into this problem? What can I do to fix it? Thank you,
~Brett



brettoc

unread,
Feb 14, 2012, 5:30:29 PM2/14/12
to omnetpp
OK, I still am having trouble with my histograms but now I am also
having trouble with my eLogs as well. I checked an I have disposed of
all my events properly (no errors on simulation termination. When I
run other projects I do not get the errors so its something wrong with
my work.

Here is the error I am getting:

**********************************************************************************
Could not open the editor: An exception was thrown during
initialization
java.lang.RuntimeException: Missing mandatory token id in line BS
id11488012

at org.omnetpp.eventlog.engine.EventLogEngineJNI.new_EventLog(Native
Method)
at org.omnetpp.eventlog.engine.EventLog.<init>(EventLog.java:37)
at
org.omnetpp.common.eventlog.EventLogEditor.init(EventLogEditor.java:
118)
at
org.omnetpp.sequencechart.editors.SequenceChartEditor.init(SequenceChartEditor.java:
67)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:
828)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:
647)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:
465)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:
595)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:
289)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:
2945)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:
2850)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:
2842)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:
2793)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:
2789)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:
2773)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:
2764)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:
99)
at
org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:
99)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
at org.eclipse.ui.navigator.CommonNavigatorManager
$3.open(CommonNavigatorManager.java:185)
at org.eclipse.ui.OpenAndLinkWithEditorHelper
$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer
$2.run(StructuredViewer.java:866)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:
864)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:
1152)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:
462)
at org.eclipse.jface.viewers.StructuredViewer
$6.handleOpen(StructuredViewer.java:1256)
at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:
275)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:
269)
at org.eclipse.jface.util.OpenStrategy
$1.handleEvent(OpenStrategy.java:309)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
123)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
344)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

**********************************************************************************

Levente Mészáros

unread,
Feb 15, 2012, 5:29:27 AM2/15/12
to anark...@gmail.com, omn...@googlegroups.com
Could you please attach the wrong files (both elog and sca)?

levy

Reply all
Reply to author
Forward
Message has been deleted
0 new messages