Menu

#350 Error al iniciar Drjava en ubuntu

v1.0 (example)
open
nobody
None
5
2019-05-06
2019-05-05
No

edu.rice.cs.util.UnexpectedException: java.lang.reflect.InvocationTargetException
at edu.rice.cs.util.swing.Utilities.invokeAndWait(Utilities.java:76)
at edu.rice.cs.drjava.ui.MainFrame.<init>(MainFrame.java:3276)
at edu.rice.cs.drjava.DrJavaRoot.main(DrJavaRoot.java:159)
at edu.rice.cs.drjava.DrJava.configureAndLoadDrJavaRoot(DrJava.java:374)
at edu.rice.cs.drjava.DrJava.main(DrJava.java:247)
Caused by: java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at edu.rice.cs.util.swing.Utilities.invokeAndWait(Utilities.java:75)
... 4 more
Caused by: java.lang.NullPointerException
at edu.rice.cs.plt.io.IOUtil.parsePath(IOUtil.java:880)
at edu.rice.cs.drjava.model.DefaultGlobalModel.findLibraries(DefaultGlobalModel.java:381)
at edu.rice.cs.drjava.model.DefaultGlobalModel.<init>(DefaultGlobalModel.java:196)
at edu.rice.cs.drjava.ui.MainFrame$163.run(MainFrame.java:3284)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)</init></init>

Caused by:
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at edu.rice.cs.util.swing.Utilities.invokeAndWait(Utilities.java:75)
at edu.rice.cs.drjava.ui.MainFrame.<init>(MainFrame.java:3276)
at edu.rice.cs.drjava.DrJavaRoot.main(DrJavaRoot.java:159)
at edu.rice.cs.drjava.DrJava.configureAndLoadDrJavaRoot(DrJava.java:374)
at edu.rice.cs.drjava.DrJava.main(DrJava.java:247)
Caused by: java.lang.NullPointerException
at edu.rice.cs.plt.io.IOUtil.parsePath(IOUtil.java:880)
at edu.rice.cs.drjava.model.DefaultGlobalModel.findLibraries(DefaultGlobalModel.java:381)
at edu.rice.cs.drjava.model.DefaultGlobalModel.<init>(DefaultGlobalModel.java:196)
at edu.rice.cs.drjava.ui.MainFrame$163.run(MainFrame.java:3284)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)</init></init>

System Properties:
DrJava Version drjava-20160913-225446
DrJava Build Time 20160913-225446

sun.desktop = gnome
awt.toolkit = sun.awt.X11.XToolkit
java.specification.version = 11
sun.cpu.isalist =
sun.jnu.encoding = UTF-8
java.class.path = <anonymized user.home="">/Documentos/drjava-beta-20160913-225446.jar
sun.awt.enableExtraMouseButtons = true
java.vm.vendor = Oracle Corporation
sun.arch.data.model = 64
sun.font.fontmanager = sun.awt.X11FontManager
java.vendor.url = http://java.oracle.com/
user.timezone = America/Costa_Rica
os.name = Linux
java.vm.specification.version = 11
sun.java.launcher = SUN_STANDARD
user.country = CR
sun.boot.library.path = /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.java.command = <anonymized user.home="">/Documentos/drjava-beta-20160913-225446.jar
jdk.debug = release
sun.cpu.endian = little
user.home = <anonymized user.home="">
user.language = es
java.specification.vendor = Oracle Corporation
java.version.date = 2019-01-15
java.home = /usr/lib/jvm/java-11-openjdk-amd64
file.separator = /
java.vm.compressedOopsMode = 32-bit
line.separator = "\u000a"
java.specification.name = Java Platform API Specification
java.vm.specification.vendor = Oracle Corporation
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
java.runtime.version = 11.0.2+9-Ubuntu-3ubuntu118.04.3
user.name = <anonymized user.name="">
path.separator = :
os.version = 4.18.0-18-generic
java.runtime.name = OpenJDK Runtime Environment
file.encoding = UTF-8
java.vm.name = OpenJDK 64-Bit Server VM
java.vendor.url.bug = http://bugreport.java.com/bugreport/
java.io.tmpdir = /tmp
java.version = 11.0.2
user.dir = <anonymized user.home="">
os.arch = amd64
java.vm.specification.name = Java Virtual Machine Specification
java.awt.printerjob = sun.print.PSPrinterJob
sun.os.patch.level = unknown
java.library.path = /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.vendor = Oracle Corporation
java.vm.info = mixed mode, sharing
java.vm.version = 11.0.2+9-Ubuntu-3ubuntu118.04.3
sun.io.unicode.encoding = UnicodeLittle
java.class.version = 55.0</anonymized></anonymized></anonymized></anonymized></anonymized>

DrJava configuration file
In resource bundle edu.rice.cs.drjava.config.options:
nothing

In shadowed configuration:
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
last.dir = <anonymized user.home=""></anonymized>

Used memory: about 15,30 megabytes
Free memory: about 78,70 megabytes
Total memory: about 94 megabytes
Total memory can expand to: about 1,44 gigabytes

Number of processors/cores: 4

Compiler Discovery Log:

Related

Support Requests: #350

Discussion

  • wilfredo barquero

    No se puede inicar el programa inmediatamente salta ese error y para su ejecucion

     
  • wilfredo barquero

    Esta es la ventanilla con el error

     
    • Robert Cartwright

      No puedo hablar espanol muy bien pero este problema es sencillo: DrJava no
      funciona con Java 11. Es necesario usar Java 8. La organizacion del Java
      SDK cambio' en Java 9. Ya se puede obtener Java 8.

      Lo siento,

      Robert Cartwright

      On Sun, May 5, 2019 at 1:52 PM wilfredo barquero shinigamiliw@users.sourceforge.net wrote:

      Esta es la ventanilla con el error

      Attachments:


      Status: open
      Group: v1.0 (example)
      Created: Sun May 05, 2019 06:35 PM UTC by wilfredo barquero
      Last Updated: Sun May 05, 2019 06:36 PM UTC
      Owner: nobody

      edu.rice.cs.util.UnexpectedException:
      java.lang.reflect.InvocationTargetException
      at edu.rice.cs.util.swing.Utilities.invokeAndWait(Utilities.java:76)
      at edu.rice.cs.drjava.ui.MainFrame.<init>(MainFrame.java:3276)
      at edu.rice.cs.drjava.DrJavaRoot.main(DrJavaRoot.java:159)
      at edu.rice.cs.drjava.DrJava.configureAndLoadDrJavaRoot(DrJava.java:374)
      at edu.rice.cs.drjava.DrJava.main(DrJava.java:247)
      Caused by: java.lang.reflect.InvocationTargetException
      at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
      at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
      at edu.rice.cs.util.swing.Utilities.invokeAndWait(Utilities.java:75)
      ... 4 more
      Caused by: java.lang.NullPointerException
      at edu.rice.cs.plt.io.IOUtil.parsePath(IOUtil.java:880)
      at
      edu.rice.cs.drjava.model.DefaultGlobalModel.findLibraries(DefaultGlobalModel.java:381)
      at
      edu.rice.cs.drjava.model.DefaultGlobalModel.<init>(DefaultGlobalModel.java:196)
      at edu.rice.cs.drjava.ui.MainFrame$163.run(MainFrame.java:3284)
      at
      java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at
      java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      at
      java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at
      java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)</init></init>

      Caused by:
      java.lang.reflect.InvocationTargetException
      at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
      at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
      at edu.rice.cs.util.swing.Utilities.invokeAndWait(Utilities.java:75)
      at edu.rice.cs.drjava.ui.MainFrame.<init>(MainFrame.java:3276)
      at edu.rice.cs.drjava.DrJavaRoot.main(DrJavaRoot.java:159)
      at edu.rice.cs.drjava.DrJava.configureAndLoadDrJavaRoot(DrJava.java:374)
      at edu.rice.cs.drjava.DrJava.main(DrJava.java:247)
      Caused by: java.lang.NullPointerException
      at edu.rice.cs.plt.io.IOUtil.parsePath(IOUtil.java:880)
      at
      edu.rice.cs.drjava.model.DefaultGlobalModel.findLibraries(DefaultGlobalModel.java:381)
      at
      edu.rice.cs.drjava.model.DefaultGlobalModel.<init>(DefaultGlobalModel.java:196)
      at edu.rice.cs.drjava.ui.MainFrame$163.run(MainFrame.java:3284)
      at
      java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at
      java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
      at
      java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at
      java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at
      java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)</init></init>

      System Properties:
      DrJava Version drjava-20160913-225446
      DrJava Build Time 20160913-225446

      sun.desktop = gnome
      awt.toolkit = sun.awt.X11.XToolkit
      java.specification.version = 11
      sun.cpu.isalist =
      sun.jnu.encoding = UTF-8
      java.class.path = <anonymized user.home="">/Documentos/drjava-beta-20160913-225446.jar
      sun.awt.enableExtraMouseButtons = true
      java.vm.vendor = Oracle Corporation
      sun.arch.data.model = 64
      sun.font.fontmanager = sun.awt.X11FontManager
      java.vendor.url = http://java.oracle.com/
      user.timezone = America/Costa_Rica
      os.name = Linux
      java.vm.specification.version = 11
      sun.java.launcher = SUN_STANDARD
      user.country = CR
      sun.boot.library.path = /usr/lib/jvm/java-11-openjdk-amd64/lib
      sun.java.command = <anonymized user.home="">/Documentos/drjava-beta-20160913-225446.jar
      jdk.debug = release
      sun.cpu.endian = little
      user.home = <anonymized user.home="">
      user.language = es
      java.specification.vendor = Oracle Corporation
      java.version.date = 2019-01-15
      java.home = /usr/lib/jvm/java-11-openjdk-amd64
      file.separator = /
      java.vm.compressedOopsMode = 32-bit
      line.separator = "\u000a"
      java.specification.name = Java Platform API Specification
      java.vm.specification.vendor = Oracle Corporation
      java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
      sun.management.compiler = HotSpot 64-Bit Tiered Compilers
      java.runtime.version = 11.0.2+9-Ubuntu-3ubuntu118.04.3
      user.name = <anonymized user.name="">
      path.separator = :
      os.version = 4.18.0-18-generic
      java.runtime.name = OpenJDK Runtime Environment
      file.encoding = UTF-8
      java.vm.name = OpenJDK 64-Bit Server VM
      java.vendor.url.bug = http://bugreport.java.com/bugreport/
      java.io.tmpdir = /tmp
      java.version = 11.0.2
      user.dir = <anonymized user.home="">
      os.arch = amd64
      java.vm.specification.name = Java Virtual Machine Specification
      java.awt.printerjob = sun.print.PSPrinterJob
      sun.os.patch.level = unknown
      java.library.path =
      /usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
      java.vendor = Oracle Corporation
      java.vm.info = mixed mode, sharing
      java.vm.version = 11.0.2+9-Ubuntu-3ubuntu118.04.3
      sun.io.unicode.encoding = UnicodeLittle
      java.class.version =
      55.0</anonymized></anonymized></anonymized></anonymized></anonymized>

      DrJava configuration file
      In resource bundle edu.rice.cs.drjava.config.options:
      nothing

      In shadowed configuration:
      key.delete.next = [shift DELETE]
      key.delete.previous = [shift BACK_SPACE]
      last.dir = <anonymized user.home=""></anonymized>

      Used memory: about 15,30 megabytes
      Free memory: about 78,70 megabytes
      Total memory: about 94 megabytes
      Total memory can expand to: about 1,44 gigabytes

      Number of processors/cores: 4

      Compiler Discovery Log:

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/drjava/support-requests/350/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #350

  • wilfredo barquero

    Listo!! al cambiarlo a jdk funciono correctamente, gracias por la ayuda Robert Cartwright.

     

Log in to post a comment.