Skip to content

Instantly share code, notes, and snippets.

Avatar

nicolas-f nicolas-f

View GitHub Profile
@nicolas-f
nicolas-f / log.txt
Created Aug 10, 2017
duplicati Traceback
View log.txt
Server has started and is listening on 127.0.0.1, port 8200
Invalid type Microsoft.WindowsAzure.Storage.Blob.BlobEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions:<EncryptionPolicy>k__BackingField
Invalid type Microsoft.WindowsAzure.Storage.Queue.QueueEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions:<EncryptionPolicy>k__BackingField
Invalid type Microsoft.WindowsAzure.Storage.Table.TableEncryptionPolicy for instance field Microsoft.WindowsAzure.Storage.Table.TableRequestOptions:<EncryptionPolicy>k__BackingField
Full thread dump:
"IO Threadpool worker" tid=0x0x65b34e906700 this=0x0x65b355e35fb0 thread handle 0x42e state : interrupted state owns ()
"Threadpool worker" tid=0x0x65b34c20f700 this=0x0x65b31d61aa38 thread handle 0x8f9 state : interrupted state owns ()
@nicolas-f
nicolas-f / dp.py
Last active Aug 29, 2015 — forked from zed/dp.py
View dp.py
#!/usr/bin/env python
"""Find height, width of the largest rectangle containing all 0's in the matrix.
The algorithm for `max_size()` is suggested by @j_random_hacker [1].
The algorithm for `max_rectangle_size()` is from [2].
The Python implementation [3] is under CC BY-SA 3.0
(if you need other license, e-mail me)
[1]: http://stackoverflow.com/questions/2478447/find-largest-rectangle-containing-only-zeros-in-an-nn-binary-matrix#comment5169734_4671342
@nicolas-f
nicolas-f / gist:9206451
Created Feb 25, 2014
H2 1.3.175, && Java Heap Space
View gist:9206451
-- H2 1.3.175, && Java Heap Space
CREATE TABLE LANDTEST(
THE_GEOM GEOMETRY
);
-- 15 +/- SELECT COUNT(*) FROM PUBLIC.LANDTEST;
INSERT INTO PUBLIC.LANDTEST(THE_GEOM) VALUES
('MULTIPOLYGON (((184856.70313 2431947.75, 184863.20313 2431954.5, 184887.48438 2431963.75, 184908.67188 2431973, 184921.0625 2431979.25, 184974.15625 2432001.25, 184992.01563 2432009.75, 185018.21875 2432025.75, 185017.73438 2432028, 185013.21875 2432033.5, 184990.10938 2432074.5, 184996.3125 2432078.25, 185015.35938 2432090.5, 185039.17188 2432104.5, 185067.26563 2432119.75, 185078.46875 2432126, 185080.125 2432119.75, 185086.34375 2432113.25, 185105.84375 2432093.5, 185107.98438 2432090.75, 185118.70313 2432083, 185141.5625 2432066, 185152.51563 2432056.5, 185146.79688 2432051.75, 185127.75 2432037.5, 185103.70313 2432023.25, 185072.98438 2432002.25, 185077.26563 2431996, 185076.3125 2431988.5, 185079.65625 2431973.5, 185082.98438 2431961.75, 185077.03125 2431959.25, 185070.35938 2431957.5, 185068.70313 2431954, 185066.79688 243194
View gist:5813901
Exception occurred during event dispatching:
java.lang.NullPointerException
at org.orbisgis.view.toc.actions.cui.LegendTree.refreshIcons(LegendTree.java:280)
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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:57)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
View gist:5813790
org.apache.commons.math3.exception.OutOfRangeException: valeur de quantile -87,889 hors bornes, doit être dans l'intervalle ]0, 100]
at org.apache.commons.math3.stat.descriptive.rank.Percentile.setQuantile(Percentile.java:474)
at org.apache.commons.math3.stat.descriptive.DescriptiveStatistics.getPercentile(DescriptiveStatistics.java:428)
at org.orbisgis.view.toc.actions.cui.legends.stats.Thresholds.getQuantiles(Thresholds.java:89)
at org.orbisgis.view.toc.actions.cui.legends.stats.Thresholds.getThresholds(Thresholds.java:37)
at org.orbisgis.view.toc.actions.cui.legends.PnlAbstractCategorized.onComputeClassification(PnlAbstractCategorized.java:190)
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)
@nicolas-f
nicolas-f / gist:5813087
Created Jun 19, 2013
Orbisgis PR #442 compilation error
View gist:5813087
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project orbisgis-view: Compilation failure: Compilation failure:
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/PnlAbstractCategorized.java:[45,21] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/PnlAbstractCategorized.java:[157,20] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/panels/UomCombo.java:[18,21] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/panels/UomCombo.java:[60,20] type javax.swing.JComboBox does not take parameters
[ERROR] orbisgis-fix-pr/orbisgis-view/src/main/java/org/orbisgis/view/toc/actions/cui/legends/PnlAbstractCategorized.java:[160,39]
@nicolas-f
nicolas-f / Trampoline
Created May 30, 2013
DockingFrame stack trace error
View Trampoline
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.Error: Trampoline must not be defined by the bootstrap classloader
at java.beans.EventHandler.invokeInternal(EventHandler.java:470)
at java.beans.EventHandler.access$000(EventHandler.java:261)
at java.beans.EventHandler$1.run(EventHandler.java:411)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.EventHandler.invoke(EventHandler.java:409)
at com.sun.proxy.$Proxy1.actionPerformed(Unknown Source)
at org.orbisgis.view.components.actions.DefaultAction.actionPerformed(DefaultAction.java:133)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
View stack trace IndexOutOfBound
ERROR [AWT-EventQueue-0] (RunnableBackgroundJob.java:73) - Erreur fatale lors du processus Chargement de la source de donnée
java.lang.RuntimeException: Impossible d'ajouter la couche vers la destination
at org.orbisgis.view.toc.Toc$DropDataSourceListProcess.run(Toc.java:1319)
at org.orbisgis.view.background.Job.run(Job.java:74)
at org.orbisgis.view.background.RunnableBackgroundJob.run(RunnableBackgroundJob.java:71)
at java.lang.Thread.run(Thread.java:722)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
@nicolas-f
nicolas-f / gist:5299714
Created Apr 3, 2013
NPE on SE simple editor
View gist:5299714
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.orbisgis.legend.structure.stroke.constant.ConstantPenStrokeLegend.<init>(ConstantPenStrokeLegend.java:56)
at org.orbisgis.legend.structure.graphic.ProportionalWKNLegend.<init>(ProportionalWKNLegend.java:59)
at org.orbisgis.legend.thematic.proportional.ProportionalPoint.<init>(ProportionalPoint.java:78)
at org.orbisgis.legend.analyzer.symbolizers.PointSymbolizerAnalyzer.analyze(PointSymbolizerAnalyzer.java:91)
at org.orbisgis.legend.analyzer.symbolizers.PointSymbolizerAnalyzer.<init>(PointSymbolizerAnalyzer.java:62)
at org.orbisgis.legend.thematic.factory.LegendFactory.getLegend(LegendFactory.java:69)
at org.orbisgis.legend.thematic.factory.LegendFactory.getLegend(LegendFactory.java:57)
at org.orbisgis.view.toc.actions.cui.LegendsPanel.init(LegendsPanel.java:126)
at org.orbisgis.view.toc.Toc.onSimpleEditor(Toc.java:994)