Skip to content

Instantly share code, notes, and snippets.

// two options I see for an ordered list of varying commands
// element name tells us the type of command
<commands>
<read id="2" file="foo"/>
<write id="3" dest="bar"/>
<read id="4" file="gee"/>
</commands>
java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:4342)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:9707)
at org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:9803)
at org.eclipse.jface.text.TextViewer.applyTextPresentation(TextViewer.java:4870)
at org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4922)
at org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:582)
at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:571)
@FroMage
FroMage / Exception details
Last active August 29, 2015 13:57
Bug1521$Baz constructor
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
com/redhat/ceylon/compiler/java/test/issues/bug15xx/Bug1521$Baz.<init>(Lcom/redhat/ceylon/compiler/java/test/issues/bug15xx/Bug1521;)V @18: invokespecial
Reason:
Type uninitializedThis (current frame, stack[3]) is not assignable to 'com/redhat/ceylon/compiler/java/test/issues/bug15xx/Bug1521$Baz'
Current Frame:
bci: @18
flags: { flagThisUninit }
locals: { uninitializedThis, 'com/redhat/ceylon/compiler/java/test/issues/bug15xx/Bug1521' }
!SESSION 2015-08-21 17:43:18.923 -----------------------------------------------
eclipse.buildId=4.5.0.I20150603-2000
java.version=1.7.0_75
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data /home/stephane/src/java-eclipse/../runtime-EclipseApplication -dev file:/home/stephane/src/java-eclipse/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2015-08-21 17:43:19.454
!MESSAGE FrameworkEvent ERROR
!SESSION 2015-08-21 17:59:18.848 -----------------------------------------------
eclipse.buildId=4.5.0.I20150603-2000
java.version=1.7.0_75
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data /home/stephane/src/java-eclipse/../runtime-EclipseApplication -dev file:/home/stephane/src/java-eclipse/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2015-08-21 17:59:19.436
!MESSAGE FrameworkEvent ERROR
!SESSION 2015-08-21 18:16:02.352 -----------------------------------------------
eclipse.buildId=4.5.0.I20150603-2000
java.version=1.7.0_75
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data /home/stephane/src/java-eclipse/../runtime-EclipseApplication2 -dev file:/home/stephane/src/java-eclipse/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog
!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2015-08-21 18:16:02.980
!MESSAGE FrameworkEvent ERROR

Keybase proof

I hereby claim:

  • I am FroMage on github.
  • I am fromage (https://keybase.io/fromage) on keybase.
  • I have a public key whose fingerprint is ECA5 7664 7271 FFC5 94B0 D689 9B5D 3996 1742 2689

To claim this, I am signing this object:

atlantis stephane 18:23 ceylon $ ./dist/dist/bin/ceylon fat-jar stef/1
/home/stephane/.ceylon/cache/org/jboss/xnio/api/3.3.0.Final/org.jboss.xnio.api-3.3.0.Final.jar
/home/stephane/.ceylon/cache/org/eclipse/jetty/alpn/api/1.0.0.fixed/org.eclipse.jetty.alpn.api-1.0.0.fixed.jar
/home/stephane/.ceylon/cache/ceylon/interop/java/1.2.0/ceylon.interop.java-1.2.0.car
/home/stephane/.m2/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar
/home/stephane/.ceylon/cache/io/undertow/core/1.1.3.Final/io.undertow.core-1.1.3.Final.jar
Warning: duplicate entry META-INF/INDEX.LIST (from /home/stephane/.ceylon/cache/io/undertow/core/1.1.3.Final/io.undertow.core-1.1.3.Final.jar) already added: skipping
/home/stephane/.m2/repository/org/eclipse/jetty/jetty-io/9.0.2.v20130417/jetty-io-9.0.2.v20130417.jar
/home/stephane/src/java-eclipse/ceylon/dist/dist/repo/com/redhat/ceylon/langtools/classfile/1.2.3/com.redhat.ceylon.langtools.classfile-1.2.3.jar
/home/stephane/src/java-eclipse/ceylon/dist/dist/repo/ceylon/language/1.2.3/ceyl
@FroMage
FroMage / gist:957515a1fbd70c4e6598f47d59be8107
Created September 19, 2016 08:58
Ceylon Swarm demo script
# Create a new folder to hold our demo
java-eclipse $ mkdir ceylon-swarm-demo
java-eclipse $ cd ceylon-swarm-demo/
# Check out the Ceylon Swarm demo code
ceylon-swarm-demo $ ceylon src com.example.ceylon.swarm/1
Retrieving module com.example.ceylon.swarm/1 ...
Extracting sources...
Extracting documentation...
# Browse the documentation to see how to compile/run it
ceylon-swarm-demo $ ceylon browse com.example.ceylon.swarm/1
@FroMage
FroMage / Example page
Created April 4, 2018 15:46
A wiki backup
# Example page
Some text _here_.
here ici euh YES YES
bla SALUT