java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1681#274046136
    via GitHub by leftyb
    ,
  • java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:235) at com.pentaho.di.vizor.extensions.VizorJobType.valueOf(VizorJobType.java:3) at com.pentaho.di.vizor.extensions.PMRTransformationStartThreadsExtension.callExtensionPoint(PMRTransformationStartThreadsExtension.java:88) at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:57) at org.pentaho.di.trans.Trans.startThreads(Trans.java:1165) at org.pentaho.di.profiling.datacleaner.DataCleanerKettleFileWriter.run(DataCleanerKettleFileWriter.java:73) at org.pentaho.di.profiling.datacleaner.ModelerHelper.profileStep(ModelerHelper.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43) at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1267) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7705) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9049) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:642) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:151)
    via by Matt Casters,
  • There is a NullPointerException when Spring Security attempts to find which Http methods that are allowed for a resource whose _intercept-url_ does not have any specific _method_. # Unzip the provided project # Execute "mvn jetty:run" # Navigate to http://localhost:8080/application.wadl in a browser # Enter the credentials "user" / "secret" *Expected result:* A generated wadl file such as the provided _application.3.0.7.wadl_ (see the root folder of the attached .zip file). *Actual result:* java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:235) at org.springframework.http.HttpMethod.valueOf(HttpMethod.java:1) at org.springframework.security.web.util.AntPathRequestMatcher.matches(AntPathRequestMatcher.java:83) at org.springframework.security.web.access.intercept.DefaultFilterInvocationSecurityMetadataSource.getAttributes(DefaultFilterInvocationSecurityMetadataSource.java:86) at org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator.isAllowed(DefaultWebInvocationPrivilegeEvaluator.java:90) at org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator.isAllowed(DefaultWebInvocationPrivilegeEvaluator.java:67) at com.jayway.security.WADLGenerator.createResource(WADLGenerator.java:39) at com.sun.jersey.server.wadl.WadlBuilder.generateResource(WadlBuilder.java:330) at com.sun.jersey.server.wadl.WadlBuilder.generateResource(WadlBuilder.java:326) at com.sun.jersey.server.wadl.WadlBuilder.generate(WadlBuilder.java:108) at com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl.getApplication(WadlApplicationContextImpl.java:111) at com.sun.jersey.server.impl.wadl.WadlApplicationContextInjectionProxy.getApplication(WadlApplicationContextInjectionProxy.java:63) at com.sun.jersey.server.impl.wadl.WadlResource.getWadl(WadlResource.java:95) [...] *Note:* The above steps work in the 3.0.7 version of Spring Security. Simply # Change the _org.springframework.security.version_ in the _pom.xml_ to _3.0.7.RELEASE_ # Update the spring security schema location in the _securityContext.xml_ to http://www.springframework.org/schema/security/spring-security-3.0.4.xsd # Visit http://localhost:8080/application.wadl (log in using the credentials above) # The result is the _application.3.0.7.wadl_ file in the root folder of the attached zip file The NPE may (or may not) be another manifestation of the issue that was reported in https://jira.springsource.org/browse/SEC-1836 ?
    via by Mattias Severson,
    • java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Enum.java:235)[rt.jar:1.7.0_95] at com.amazonaws.services.polly.model.VoiceId.valueOf(VoiceId.java:18)[aws-java-sdk-polly-1.11.66.jar:] at org.restcomm.connect.tts.awspolly.AWSPollySpeechSyntetizer.synthesize(AWSPollySpeechSyntetizer.java:185)[restcomm-connect.tts.awspolly-8.0.0.rlimonta-master-local.jar:8.0.0.rlimonta-master-local] at org.restcomm.connect.tts.awspolly.AWSPollySpeechSyntetizer.onReceive(AWSPollySpeechSyntetizer.java:148)[restcomm-connect.tts.awspolly-8.0.0.rlimonta-master-local.jar:8.0.0.rlimonta-master-local] at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159)[akka-actor_2.10-2.1.2.jar:] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)[akka-actor_2.10-2.1.2.jar:] at akka.actor.ActorCell.invoke(ActorCell.scala:386)[akka-actor_2.10-2.1.2.jar:] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)[akka-actor_2.10-2.1.2.jar:] at akka.dispatch.Mailbox.run(Mailbox.scala:212)[akka-actor_2.10-2.1.2.jar:] at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506)[akka-actor_2.10-2.1.2.jar:] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)[scala-library-2.10.1.jar:] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)[scala-library-2.10.1.jar:] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)[scala-library-2.10.1.jar:] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)[scala-library-2.10.1.jar:]

    Users with the same issue

    linxiaolong
    1 times, last one,
    raytest
    1 times, last one,
    Andreas Häber
    1 times, last one,
    jpvee
    1 times, last one,
    Unknown visitor1 times, last one,
    3 more bugmates